Skip to content

Releases: Flagsmith/flagsmith-nodejs-client

v7.0.2

02 Dec 10:22
e85dcb8

Choose a tag to compare

7.0.2 (2025-12-02)

CI

v7.0.1

02 Dec 10:09
c3a24a2

Choose a tag to compare

7.0.1 (2025-12-02)

CI

v7.0.0

02 Dec 08:16
176dc41

Choose a tag to compare

7.0.0 (2025-12-02)

⚠ BREAKING CHANGES

  • implement context values (#203)

Features

Bug Fixes

CI

v6.2.0

04 Nov 12:35
4c23ff2

Choose a tag to compare

6.2.0 (2025-11-04)

Features

Bug Fixes

  • handle environment documentation pagination (#205) (a83d3a5)

CI

Docs

Other

v6.1.0

18 Jun 12:28
644c5c8

Choose a tag to compare

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

24 Apr 10:18
58a623d

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v6.0.0...v6.0.1

v6.0.0

24 Mar 19:15
b156a2e

Choose a tag to compare

What's Changed

BREAKING CHANGES

  • Flagsmith.environment was removed. Use getEnvironment instead. This returns a Promise, and not a reference to the environment which could be uninitialised.
  • onEnvironmentChange handlers can now be invoked with an undefined environment if an error occurred.
  • The Flagsmith client 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 requestRetryDelayMilliseconds which 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 getEnvironment method which returns the SDK's current local environment state as a Promise.

Bug fixes

  • getIdentityFlags now uses any provided default flag handler if it fails, instead of just returning an error.
  • Setting environmentRefreshInterval to 0 now prevents any environment polling from happening.
  • Fixed a bug where if the SDK initially failed to fetch the environment document, then getIdentityFlags would 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

10 Feb 11:55
01f7d0e

Choose a tag to compare

What's Changed

Full Changelog: v5.1.0...v5.1.1

v5.1.0

20 Jan 13:40
2d26062

Choose a tag to compare

What's Changed

  • feat: Allow configuring analytics API endpoint separate from flags API by @rolodato in #168
  • ci: Run tests on currently maintained Node LTS versions by @rolodato in #169

Deprecated

The baseApiUrl constructor argument of AnalyticsProcessor is now deprecated. Instead, pass the full URL to the analytics endpoint using the analyticsUrl parameter. This deprecation only affects you if you are manually managing analytics, rather than having the SDK do it for you using the enableAnalytics option.

Full Changelog: v5.0.1...v5.1.0

v5.0.1

14 Jan 22:25
d52fbac

Choose a tag to compare

What's Changed

  • fix: Return 0 as number flag value instead of undefined by @rolodato in #167

Full Changelog: v5.0.0...v5.0.1