Skip to content

Releases: gestalt-config/gestalt

v0.25.0

15 Mar 05:00
Compare
Choose a tag to compare

Behavior Change
If a field is missing and has a default value, is optional or has an @ Config default, the field will get the default value and be marked as a MissingDiscretionaryValuesAsError, if setTreatMissingDiscretionaryValuesAsErrors is true then it will throw an exception. Otherwise the field will get the default value.

private Optional<Integer> port;
private String uri = "my.sql.db"; 
private  @ Config(defaultVal = "100") Integer connections;

Any other fields when missing will get marked as MissingValuesAsErrors as before and if setTreatMissingValuesAsErrors is true it will throw an exception. Otherwise the field will be null.

Deprecated
treatNullValuesInClassAsErrors - has been replaced with setTreatMissingDiscretionaryValuesAsErrors and setTreatMissingValuesAsErrors

What's Changed

Full Changelog: v0.24.6...v0.25.0

v0.24.6

28 Feb 05:13
Compare
Choose a tag to compare

What's Changed

  • fix: Weak hashmap implementation was broken, use a WeakReference List by @credmond-git in #152

Full Changelog: v0.24.5...v0.24.6

v0.24.5

27 Feb 05:42
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.24.4...v0.24.5

DurationDecoder and Getting Empty Root paths.

16 Feb 03:16
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.24.3...v0.24.4

SequencedCollections and Proxy Reload

05 Jan 06:39
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.24.2...v0.24.3

Allow empty collections

18 Dec 05:29
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.24.1...v0.24.2

v0.24.1

06 Dec 18:19
f390eb6
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.24.0...v0.24.1

Source Builders and StringConstructorDecoder

04 Dec 00:36
Compare
Choose a tag to compare

Source Builder that supports tags, and reload strategies. (#123) . The old method of creating sources has been deprecated. The plan is to move the tags out of the sources soon as well.
Add an decoder that will decode a class that has a constructor that accepts a single string. This will only match for leaf nodes. It will send the value of the leaf node to the String constructor. (#125)

Empty configuration files

15 Oct 16:18
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.23.2...v0.23.3

Feat/proxy no cache (#116)

03 Oct 04:01
Compare
Choose a tag to compare

What's Changed

  • feat: Support two proxy modes either CACHE or PASSTHROUGH, where cache means we serve results through a cache that is never updated or pass through where each call is forwarded to Gestalt to be looked up.
    Addresses issue #115

Full Changelog: v0.23.1...v0.23.2