Skip to content

1.2.1: Bug Fixes and Test Coverage Improvements

Latest
Compare
Choose a tag to compare
@A248 A248 released this 05 Jul 21:23
· 16 commits to master since this release

Fixes:

  • DazzleConf-SnakeYaml does not fail on non-string keys.
  • The status of whether auxiliary keys were used (indicated by the AuxiliaryKeys interface marker) is now accurate in the case that a sub-section was used. This is quite important considering ConfigurationHelper relies on the status of whether auxiliary values were used to determine whether to rewrite the configuration with the latest keys.
  • In very rare circumstances using conflicting dotted key paths, clear error messages rather than internal exceptions are thrown.

Other:

  • Clarified the documentation of FlexibleType in a few places.
  • Test coverage requirement of 75%, according to PITest's mutation test coverage.

Migration:

  • Some rare issues when using conflicting dotted key paths previously resulted in internal exceptions. They now throw correct exceptions.
  • In the past, ConfigurationHelper may have rewritten the configuration in more cases than it should have. This might have caused comments to update in the case where they weren't supposed to be updated. This will no longer happen.