Skip to content

Releases: Flagsmith/flagsmith-dotnet-client

v8.0.2

23 May 12:03
7066606

Choose a tag to compare

8.0.2 (2025-05-23)

Bug Fixes

CI

v8.0.1

06 May 12:50
469c085

Choose a tag to compare

What's Changed

Full Changelog: v8.0.0...v8.0.1

v8.0.0

28 Apr 14:44
baa6aba

Choose a tag to compare

What's Changed

BREAKING CHANGES

  • fix!: Remove deprecated methods and constructors. Throw error if using local eval without server-side key by @rolodato in #147

Full Changelog: v7.1.1...v8.0.0

v7.1.1

10 Apr 14:10
ceeaf48

Choose a tag to compare

What's Changed

  • fix: RequestTimeout would return the seconds component of its TimeSpan instead of the total duration in seconds by @rolodato in #149

Full Changelog: v7.1.0...v7.1.1

v7.1.0

04 Apr 15:12
25f657f

Choose a tag to compare

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

15 Jan 16:11
d9f8d93

Choose a tag to compare

What's Changed

Full Changelog: v7.0.0...v7.0.1

v7.0.0

18 Dec 19:27
8d403c5

Choose a tag to compare

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: v6.0.0...v7.0.0

v6.0.0

18 Dec 17:35
97a6f89

Choose a tag to compare

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: v5.4.3...v6.0.0

v5.4.3

30 Oct 09:42
4a83292

Choose a tag to compare

What's Changed

  • fix: handle null django_id in identity overrides for local evaluation mode by @rolodato in #122

Full Changelog: v5.4.2...v5.4.3

v5.4.2

17 Oct 13:29
e3b484b

Choose a tag to compare

What's Changed

  • Fix constructor deadlock when using local evaluation by @rolodato in #121

Full Changelog: v5.4.1...v5.4.2