v2.8.0
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