Skip to content

Releases: Flagsmith/flagsmith-js-client

v12.0.1

23 Apr 09:21
2cf7223

Choose a tag to compare

12.0.1 (2026-04-23)

Other

  • deps: bump brace-expansion from 1.1.12 to 1.1.14 in /lib/react-native-flagsmith (#394) (59ec950)

v12.0.0

21 Apr 15:18
ff29daf

Choose a tag to compare

12.0.0 (2026-04-21)

⚠ BREAKING CHANGES

  • migrate npm packages to @Flagsmith organization scope (#367)
  • re-add sdk version headers (#344)
  • onError not called if cacheFlags is true and api is not reachable (#365)

Features

Bug Fixes

  • angularHttpClient fetch error (#359) (44e4b79)
  • catch init error in useFlagsmith (#351) (5380dc3)
  • cleanup event-emitter subscriptions in provider hooks (#392) (9b962c7)
  • export FlagSource enum as runtime value (#349) (d480bb9)
  • onError not called if cacheFlags is true and api is not reachable (#365) (1411b85)
  • removed-react-native-publishing (#381) (a0894b9)
  • revert User-Agent header again (#362) (53baaa9)
  • types: loading state source unresolved any (#360) (30c35a3)
  • update loadingState when hydrating via serverState (#393) (d543564)

CI

Other

  • deps-dev: bump form-data from 4.0.0 to 4.0.4 (#331) (187feda)
  • deps-dev: bump lodash from 4.17.21 to 4.18.1 (#388) (eddbb97)
  • deps: bump @tootallnate/once and jest-environment-jsdom (#380) (0f8edc4)
  • deps: bump flatted from 3.2.7 to 3.4.2 (#385) (189160e)
  • deps: bump js-yaml from 3.14.1 to 3.14.2 (#361) (e15a0dc)
  • deps: bump minimatch from 3.1.2 to 3.1.5 (#376) (39fa238)
  • deps: bump minimatch from 3.1.2 to 3.1.5 in /lib/react-native-flagsmith (#375) (2b2caaf)
  • deps: bump picomatch from 2.3.1 to 2.3.2 in /lib/react-native-flagsmith (#386) (fb18502)
  • deps: bump yaml from 2.8.2 to 2.8.3 in /lib/react-native-flagsmith (#395) (4d94b9c)
  • main: release 10.0.0 (#364) (9187900)
  • main: release 9.3.3 (#354) (2832793)
  • main: release 9.3.4 (#356) (9ef8c37)
  • main: release 9.3.5 (#363) (563e590)

v10.0.0

10 Dec 17:26
9187900

Choose a tag to compare

10.0.0 (2025-12-10)

⚠ BREAKING CHANGES

  • onError callback behavior change: onError is now properly called when cacheFlags is enabled and the API is unreachable with no existing cache (#365)

    • Previous behavior: init() would resolve successfully even when the API failed, silently swallowing the error
    • New behavior: init() now rejects and triggers onError, matching the behavior when cacheFlags: false
    • Migration: Ensure your code handles errors from init() or provide defaultFlags as a fallback
  • SDK User-Agent header: The SDK now sends a Flagsmith-SDK-User-Agent header with requests (#344)

    • Self-hosted users: Requires Flagsmith v2.196.0 or higher
    • Alternative: If you cannot upgrade, add this environment variable to your Flagsmith server:
      FLAGSMITH_CORS_EXTRA_ALLOW_HEADERS: Flagsmith-SDK-User-Agent
      

Features

Bug Fixes

  • onError not called if cacheFlags is true and api is not reachable (#365) (1411b85)

Other

v9.3.5

08 Dec 10:24
563e590

Choose a tag to compare

9.3.5 (2025-12-08)

Bug Fixes

v9.3.4

18 Nov 15:00
9ef8c37

Choose a tag to compare

9.3.4 (2025-11-18)

Bug Fixes

CI

v9.3.3

05 Nov 17:25
2832793

Choose a tag to compare

9.3.3 (2025-11-05)

Bug Fixes

  • export FlagSource enum as runtime value (#349) (d480bb9)

CI

Other

  • deps-dev: bump form-data from 4.0.0 to 4.0.4 (#331) (187feda)

9.3.2

03 Sep 15:02
8c4aaf7

Choose a tag to compare

What's Changed

Full Changelog: 9.3.1...9.3.2

9.3.1

19 Aug 13:37
85f4513

Choose a tag to compare

What's Changed

  • fix: typescript type generation when array of fields is passed. by @rushib1 in #325
  • feat: send flagsmith sdk user agent by @Zaimwa9 in #332
  • fix: renamed-sentry-client-interface by @Zaimwa9 in #335
  • fix: make-id-optional-in-iflags by @Zaimwa9 in #336
  • chore: bumped-react-native-version by @Zaimwa9 in #337

New Contributors

Full Changelog: 9.3.0...9.3.1

9.3.0

01 Jul 09:54
26ae618

Choose a tag to compare

What's Changed

Adds the Sentry integration

Full Changelog: 9.2.2...9.3.0

9.2.2

13 May 10:15
af7b676

Choose a tag to compare

What's Changed

  • fix: re-add support for flagsmith.identity by @kyle-ssg in #301

Full Changelog: 9.2.1...9.2.2