Skip to content

build(deps): bump flagsmith from 3.21.0 to 4.0.0#200

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/main/flagsmith-4.0.0
Closed

build(deps): bump flagsmith from 3.21.0 to 4.0.0#200
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/main/flagsmith-4.0.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 14, 2024

Bumps flagsmith from 3.21.0 to 4.0.0.

Release notes

Sourced from flagsmith's releases.

v4.0.0 - add list of changed flags/traits, improve resolve/reject of init

This will be the first version compatible with OpenFeature. Merges Flagsmith/flagsmith-js-client#223

Breaking changes

  • Init will now reject if:
    • No environment ID is provider
    • Fetch fails and there's no cache (Init resolves on cache)
    • There's no cache/defaults and preventFetch is true
  • The boolean properties traitsChange and flagsChanged are now a string[] of changed keys or null. This reduces breaking changes since falsey and truthy checks will still behave as before.

Other changes

  • Init is (finally) async/await
  • Init code is reduced by pulling out isolated functions
  • Added tests around init promises
  • Organised util files

3.24.0 - Read cache synchronously

Closes Flagsmith/flagsmith-js-client#222

The SDK will now synchronously read cache rather than fetching it asynchronously.

3.23.2 - Remove busy logs, fix onChange event

Merges Flagsmith/flagsmith-js-client#207 Closes Flagsmith/flagsmith-js-client#217

3.23.1 - Prevent Nextjs caching behaviour

Merges Flagsmith/flagsmith-js-client#216

3.23.0 - Fix missed events in useFlags

Closes Flagsmith/flagsmith-js-client#214

  • Fixes flag updates from useFlags
  • Fixes flag updates where flagsmith.init is not called

3.22.1 - Support fallback for non-JSON evaluations

Merges Flagsmith/flagsmith-js-client#213, thanks to @​levrik

3.22.0 - Prevent race condition between identify/getFlags

Prior to this release, clients that request identified/unidentified flags simultaneously could see the wrong results due to a race condition. Although this signifies incorrect usage of the SDK, this will no longer occur.

For more information see Flagsmith/flagsmith-js-client#205.

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [flagsmith](https://github.com/Flagsmith/flagsmith-js-client) from 3.21.0 to 4.0.0.
- [Release notes](https://github.com/Flagsmith/flagsmith-js-client/releases)
- [Commits](https://github.com/Flagsmith/flagsmith-js-client/commits/4.0.0)

---
updated-dependencies:
- dependency-name: flagsmith
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Apr 14, 2024
@dependabot dependabot bot requested a review from niall-byrne April 14, 2024 07:50
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Apr 28, 2024

Superseded by #203.

@dependabot dependabot bot closed this Apr 28, 2024
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/main/flagsmith-4.0.0 branch April 28, 2024 07:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants