v7.0.0
- Deprecate
ConfigCatClient
constructors in favor of the new static factory methodGet
,
which provides single client instances per SDK key. - Add convenience method
DisposeAll
for disposing all open clients at once. - Implement default user feature.
- Implement offline mode feature.
- Improve LazyLoad and AutoPoll refresh logic by taking the cache timestamp into account
to fetch the config only if cached config is unavailable or stale. - Add new evaluation methods
GetValueDetail
/GetValueDetailsAsync
,
which provide more detailed information about the evaluation result. - Add hooks (events), which provide notifications of the client's actions.
- Additional minor code quality and performance improvements.
- Update samples to .NET 6.
Breaking changes:
- Add new methods to the
IConfigCatClient
interface. - Change
ProjectConfig
to reference type with value equality (record). - Slightly change the behavior of ProjectConfig.TimeStamp (only updated when communication with the CDN servers succeeds, regardless of the returned status code).