Skip to content

chore(deps): update dependency flagsmith to v8 #374

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 28, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
Flagsmith (source) 5.4.3 -> 8.0.0 age adoption passing confidence

Release Notes

Flagsmith/flagsmith-dotnet-client (Flagsmith)

v8.0.0

What's Changed

BREAKING CHANGES

Full Changelog: Flagsmith/flagsmith-dotnet-client@v7.1.1...v8.0.0

v7.1.1

What's Changed

Full Changelog: Flagsmith/flagsmith-dotnet-client@v7.1.0...v7.1.1

v7.1.0

What's Changed

Deprecated FlagsmithClient constructors with more than one parameter

The preferred way to instantiate a FlagsmithClient is now to use the FlagsmithClient(FlagsmithConfiguration) constructor. All other constructors are deprecated.

For example, if you were previously initialising the client like this:

new FlagsmithClient(environmentKey: "my-key", enableAnalytics: true);

You should pass the equivalent FlagsmithConfiguration object instead:

new FlagsmithClient(new FlagsmithConfiguration
{
    EnvironmentKey = "my-key",
    EnableAnalytics = true
});

This gives us more flexibility as SDK authors to add or change configuration options without requiring further breaking changes. It also allows us to provide better inline documentation for each configuration parameter.

Deprecated ApiUrl, EnableClientSideEvaluation, and EnvironmentRefreshIntervalSeconds options

Instead, use ApiUri, EnableLocalEvaluation, and EnvironmentRefreshInterval respectively. This change makes this SDK more consistent with Flagsmith documentation and other SDKs, and improves type safety by accepting Uri and TimeSpan objects instead of deriving them from raw strings or numbers.

Deprecated PollingManager(Func<Task>, int) constructor

Instead, use new PollingManager(callback, TimeSpan.FromSeconds(intervalSeconds)). Almost no users will be affected by this change, as PollingManager is meant for internal use.

v7.0.1

What's Changed

Full Changelog: Flagsmith/flagsmith-dotnet-client@v7.0.0...v7.0.1

v7.0.0

What's Changed

Breaking Changes

Version 7 removes the Id methods from the IFlag interface and Flag class to avoid deserialisation problems if this ID is null. A flag's internal ID is an implementation detail that should not be relevant to SDK users. If you have a use case that requires using a flag's internal ID, please create an issue here: https://github.com/Flagsmith/flagsmith-dotnet-client/issues

Full Changelog: Flagsmith/flagsmith-dotnet-client@v6.0.0...v7.0.0

v6.0.0

What's Changed

Breaking Changes

The changes in this release affect the encoding of identifiers. This is technically fixing an issue where an identifier such as "abc&def" would actually retrieve the flags for the identity "abc" and discard the "&def" portion. Since this change will affect the behaviour for these identities, we are marking it as a major version release.

New Contributors

Full Changelog: Flagsmith/flagsmith-dotnet-client@v5.4.3...v6.0.0


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 this update 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 force-pushed the renovate/flagsmith-8.x branch from 377d275 to 20bd124 Compare April 29, 2025 12:59
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.

2 participants