Skip to content

v7.0.0

Compare
Choose a tag to compare
@z4kn4fein z4kn4fein released this 10 Nov 14:21
· 47 commits to master since this release
9e7a23b
  • Deprecate ConfigCatClient constructors in favor of the new static factory method Get,
    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).