Skip to content

2.0.24

Latest
Compare
Choose a tag to compare
@rofr rofr released this 19 Nov 17:42
· 6 commits to master since this release

Version 2 released to nuget full of breaking changes.

Removed features

  • Removed base class to inherit from when defining custom settings classes. Just create a POCO
  • Removed support for suffixes and qualifiers, no more :PROD or :STAGING
  • Reverse order when adding mulltiple configuration sources, compatible with Microsoft Configuration.
  • Support for nested types removed

Changes

  • SettingsBuilder.Build() now returns Settings which is sealed.
  • Errors are not aggregated, they are thrown immediately
  • Validation simplified - exceptions is thrown when properties are null

New features

  • Load secrets from a .env file to environment variables using Fig.DotEnv.Load().