Skip to content

Releases: Netflix/archaius

v2.8.2

04 Oct 17:47
70da5b1
Compare
Choose a tag to compare

Reverting behavior change from 2.8.0

We discovered that too many consumers depend on the old behavior of avoiding throwing exceptions from configuration reading calls. Adapting code paths that put these calls in the middle of critical request-servicing code is too onerous.

This version DOES fix the old bug that caused properties with defaults (from the Property.orElse() method) to fail for this "invalid setting" case. They will now return the default value.

We are also retaining the noisy logging of parsing errors, to assist users with detection and fixing.

#738

Full Changelog: v2.8.1...v2.8.2

v2.8.1

03 Oct 17:23
3dd372c
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.8.0...v2.8.1

v2.8.0

26 Sep 21:11
dfb7e88
Compare
Choose a tag to compare

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

v2.7.10

24 May 18:39
ffed4cb
Compare
Choose a tag to compare

What's Changed

  • Improved support for collection types in configuration proxies (by @rgallardo-netflix in #724)
    • Parametrized properties can return collections
    • Default values for collection-returning methods can be specified with the @DefaultValue annotation, instead of only via default method implementations.
  • Number parsing is more lenient. Whitespace around a number is trimmed, and longs can have a trailing L or l (by @rgallardo-netflix in #725).
  • For property sources that return non-string values, we now handle numeric narrowing or widening conversions (by @rgallardo-netflix in #726).

All these changes should be fully backward compatible.

Full Changelog: v2.7.9...v2.7.10

v2.7.9

16 Apr 19:36
9d20251
Compare
Choose a tag to compare

What's Changed

  • Add scopes to PropertiesInstrumentationData by @akang31 in #722

Full Changelog: v2.7.8...v2.7.9

v2.7.8

15 Apr 22:28
a94871b
Compare
Choose a tag to compare

What's Changed

  • Fix instrumentation propagation of PrefixedViewConfigs by @akang31 in #721

Full Changelog: v2.7.7...v2.7.8

v2.7.7

12 Apr 16:50
0e1a36e
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.7.6...v2.7.7

v2.7.6

29 Mar 20:50
0a13829
Compare
Choose a tag to compare

What's Changed

  • Use guava for tests by @kilink in #709
  • Enhancing Clarity with assume API in Precondition Checks for validatePropertyUpdates and validateApiWhenRemovingChild by @Codegass in #713
  • Refactor ConfigManagerTest to Include Assertions for Automated Validation by @Codegass in #711
  • Split the PropertyTest.test into testPropertyValuesUpdateAndEffect and testServiceInitializationWithDefaultProperties by @Codegass in #715
  • Add uninstrumented endpoint for the Archaius2-Archaius1 bridge by @akang31 in #718

New Contributors

Full Changelog: v2.7.5...v2.7.6

v0.7.12

28 Mar 21:38
2c98773
Compare
Choose a tag to compare

What's Changed

  • Add getPropertiesUninstrumented endpoint for ConfigurationUtils by @akang31 in #717

Full Changelog: v0.7.11...v0.7.12

v2.7.5

29 Feb 23:13
f09ee17
Compare
Choose a tag to compare

What's Changed

  • Update some additional missed tests to junit5 by @kilink in #707
  • Add support for tracking individual properties' stack traces by @akang31 in #708

Full Changelog: v2.7.4...v2.7.5