Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Oct 19, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
flagsmith (source) ^4.0.0 -> ^7.0.0 age adoption passing confidence
flagsmith (source) 4.0.0 -> 7.0.2 age adoption passing confidence

Release Notes

Flagsmith/flagsmith-js-client (flagsmith)

v7.0.2: Version 7.0.2

Compare Source

What's Changed

Full Changelog: Flagsmith/flagsmith-js-client@7.0.1...7.0.2

v7.0.1: Version 7.0.1

Compare Source

Allows flagsmith.setContext({...}) prior to init.

v7.0.0

Compare Source

This is a temporary release that reverts the changes in 6.0.0.

What's Changed

Full Changelog: Flagsmith/flagsmith-js-client@6.0.0...7.0.0

v6.0.0: Version 6.0.0 - Adjust cache keys to be unique per environment

Compare Source

Closes #​201. The local storage keys for the SDK cache are now unique for each environment. This is being released as a breaking change because, upon upgrading to this version, the cache will be missed the first time due to the previous key ('BULLET_TRAIN_DB') being ignored

Thank you very much for the great PR @​oluizcarvalho 🚀

v5.0.0: Version 5.0.0 - Support context, transient identities and traits

Compare Source

Transient traits

This release supports the concept of transient traits, setting this will mean the trait is not stored within Flagsmith and evaluated just in that request.

You can define a trait as transient like so:

setTraits({bar:{value:123, transient: true}})
setTraits({foo:"1", bar:{value:123, transient: true}})
flagsmith.init({
  traits: {foo:"1", bar:{value:123, transient: true}}
})
Contexts and transient identities

This release also deprecates the above calls in favour of setting context. Context allows you to set information as a single object which we may extend in future more easily. We suggest migrating to this soon.

You can set a partial context and it will merge with the one provided during SDK init.

Currently, the full context object looks like this:

flagsmith.setContext({
  {
    environment: {apiKey: "<your environment API key>"},
    identifier: "unique-user-id",
    traits:     {foo:"1", bar:{value:123, transient: true}},
    transient:  false
  }
})

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from a team as a code owner October 19, 2024 04:41
@renovate renovate bot added the renovate label Oct 19, 2024
@renovate renovate bot force-pushed the renovate/flagsmith-7.x branch 10 times, most recently from fe83f02 to d36c953 Compare October 25, 2024 17:09
@renovate renovate bot force-pushed the renovate/flagsmith-7.x branch 3 times, most recently from 20bf366 to 7643a8f Compare October 29, 2024 22:36
@renovate renovate bot force-pushed the renovate/flagsmith-7.x branch 4 times, most recently from fc097a3 to bfc6d49 Compare November 6, 2024 18:51
@renovate renovate bot force-pushed the renovate/flagsmith-7.x branch 3 times, most recently from ad7fa37 to 000ab94 Compare December 2, 2024 16:15
@renovate renovate bot force-pushed the renovate/flagsmith-7.x branch from 000ab94 to 95fd9c6 Compare December 3, 2024 20:34
@renovate renovate bot force-pushed the renovate/flagsmith-7.x branch from 95fd9c6 to 05af3a3 Compare December 4, 2024 08:24
@renovate renovate bot changed the title fix(deps): update dependency flagsmith to v7 fix(deps): update dependency flagsmith to v7 - autoclosed Dec 8, 2024
@renovate renovate bot closed this Dec 8, 2024
@renovate renovate bot deleted the renovate/flagsmith-7.x branch December 8, 2024 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant