Skip to content

Releases: Flagsmith/flagsmith-js-client

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

9.2.1

05 May 08:54
bd2e5c8

Choose a tag to compare

What's Changed

  • fix: updated-interface-flags-for-javascript-client by @Zaimwa9 in #315
  • fix: improved-on-change-and-fvalue-types by @Zaimwa9 in #316

Full Changelog: 9.2.0...9.2.1

9.2.0

28 Apr 09:03
0a7f145

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 9.1.0...9.2.0