Skip to content

v2.8.0

Compare
Choose a tag to compare
@rgallardo-netflix rgallardo-netflix released this 26 Sep 21:11
· 8 commits to 2.x since this release
dfb7e88

Behavioral change

We have aligned the behavior from different APIs so that whenever the value in a configuration source cannot be parsed to the type requested by the user, Archaius will always throw a ParseException. In previous versions, some APIs (most notably in the Property<T> interface) would silently return null instead. This made invalid settings very difficult to find and debug. #735

We have also cleaned up the messaging in exceptions to ensure that the name of the property being accessed and the invalid value that caused the exception are always mentioned. #734

Other changes

  • Skip static methods on config interfaces by @kilink in #728
  • Avoid map resizing in PrivateViewConfig by @kilink in #730
  • Avoid repeated calls to getState in AbstractDependentConfig by @kilink in #732
  • Implement hashCode for PropertyDetails by @kilink in #731

Full Changelog: v2.7.10...v2.8.0