Releases: Flagsmith/flagsmith-nodejs-client
Releases · Flagsmith/flagsmith-nodejs-client
v8.0.0
8.0.0 (2026-02-25)
⚠ BREAKING CHANGES
- remove node18 support and update pino (#220)
Bug Fixes
- CVE-2026-1615: Replace jsonpath with jsonpath-plus to fix security vulnerability (#247) (56a285c)
Dependency Updates
Other
v7.0.3
v7.0.2
v7.0.1
v7.0.0
7.0.0 (2025-12-02)
⚠ BREAKING CHANGES
- implement context values (#203)
Features
- implement context values (#203) (41258f2)
- removed-feature-key-and-segment-key-from-schema (#210) (014f38b)
Bug Fixes
- exclude-identities-when-traits-is-undefined (#230) (f7488e1)
- fix-mv-evaluation (#222) (ae1fb7e)
- properly-map-environment-name (#226) (3c1d200)
- removed-dango-id-usage-in-mapper (#229) (29c7613)
- use-default-on-jsonpath-import (#231) (7a8d949)
CI
v6.2.0
v6.1.0
What's Changed
- Bump undici from 6.21.1 to 6.21.2 by @dependabot in #184
- feat: Export FeatureModel to enable custom offline handler by @phiggins in #187
- Update test running instructions in README and other housekeeping by @phiggins in #186
- Bump vite from 5.4.18 to 5.4.19 by @dependabot in #185
- feat: Export BaseFlag, FlagsmithConfig, FlagsmithValue, TraitConfig types by @rolodato in #188
Full Changelog: v6.0.1...v6.1.0
v6.0.1
What's Changed
- Remove uses of
anyin models.ts by @phiggins in #180 - Bump esbuild from 0.14.54 to 0.25.0 by @dependabot in #175
- Bump vite from 5.4.14 to 5.4.18 by @dependabot in #182
New Contributors
Full Changelog: v6.0.0...v6.0.1
v6.0.0
What's Changed
BREAKING CHANGES
Flagsmith.environmentwas removed. UsegetEnvironmentinstead. This returns a Promise, and not a reference to the environment which could be uninitialised.onEnvironmentChangehandlers can now be invoked with anundefinedenvironment if an error occurred.- The
Flagsmithclient now returns an error if initialised with local evaluation enabled but without a server-side SDK key. Previously, it would log an error and continue.
New features
- Added a new
requestRetryDelayMillisecondswhich controls how long the SDK will wait before retrying any failed HTTP requests. Previously, this was hard-coded to always be 1 second. - Added a
getEnvironmentmethod which returns the SDK's current local environment state as a Promise.
Bug fixes
getIdentityFlagsnow uses any provided default flag handler if it fails, instead of just returning an error.- Setting
environmentRefreshIntervalto0now prevents any environment polling from happening. - Fixed a bug where if the SDK initially failed to fetch the environment document, then
getIdentityFlagswould always fail with an error even if the environment was later fetched successfully (#177).
Full Changelog: v5.1.1...v6.0.0
v5.1.1
What's Changed
- Bump undici from 6.19.8 to 6.21.1 by @dependabot in #170
- Bump vite from 5.4.8 to 5.4.14 by @dependabot in #171
- Bump vitest and @vitest/coverage-v8 by @dependabot in #173
Full Changelog: v5.1.0...v5.1.1