Skip to content

NetStandard 1.1+ support, new IdGen.Configuration package, bugfix

Compare
Choose a tag to compare
@RobThree RobThree released this 19 Feb 16:12
· 58 commits to master since this release
1417890

Changes:

  • Support for NetStandard 1.1+
  • Moved AppConfig stuff to separate IDGen.Configuration package
  • ID now implements IEquatable
  • Fixed some ArgumentOutOfRangeExceptions from the IdGenerator's ctor messages
  • Fixed bug (see #18) where internal timer was started only on first use instead of on instantiation. Thanks @stuart-beattie!
  • Minor internal cleanup / refactoring

Breaking changes:

If you're using the IdGenerator.GetFromConfig(...) method make sure you check the README. The changes aren't big, but breaking nonetheless. How to fix:

  • Install IdGen.Configuration package
  • Change the configsection type from:
    IdGen.Configuration.IdGeneratorsSection, IdGen
    to:
    IdGen.Configuration.IdGeneratorsSection, IdGen.Configuration
  • Add a using IdGen.Configuration
  • Change IdGenerator.GetFromConfig(...) to AppConfigFactory.GetFromConfig(...)