Releases: Gmugra/net.cactusthorn.config
Releases · Gmugra/net.cactusthorn.config
Release v0.81
Release v0.80
🚀 Features
- toString(), hashCode() & Reloadable (#284)
- Add default support for
java.util.Locale
(#286) - Default value for system/environment variables in keys/URIs (#183)
- Extras: loaders for Hjson (#269) : https://github.com/Gmugra/net.cactusthorn.config/tree/main/hjson
🐛 Bug Fixes
- Change code to avoid Spotbug "false positive" (#266)
- Compiler ignore several standard converters (e.g.
java.util.Currency
) (#286) - Compiler could not use standard and custom converters for interfaces and abstract classes (#296)
- Some validators do not provide correct
Element
when aProcessorException
is thrown (#292)
🧰 Maintenance
- Add build with Java 17 (#243)
- Integrate Maven License Plugin (#240)
- Actualize configurations for PMD (#236)
- New check-style rule to disallow console output:
System\.(out|err)
- Add info about compiler source/target JDK in JARs MANIFEST.MF (#302)
🗎 Documentation
- Add Table of Contents (#278)
- Integrate Release Drafter (#285)
Release v0.70
Release 0.70
- Reload listeners (#205)
- Global Prefix (#86)
- Also new
@Disable
feature GLOBAL_PREFIX
- Also new
- Extras: loader for Apache ZooKeeper (#204) : https://github.com/Gmugra/net.cactusthorn.config/tree/main/zookeeper
- OSGi support:
- BuildTime in all generated JARs (#211)
Release v0.60
Release 0.60
- New supported return type
java.util.Currency
(#187): - New
@Factory
annotation (#80) - Extras: loaders for files in YAML format (#165) : https://github.com/Gmugra/net.cactusthorn.config/tree/main/yaml
- New package for
ConfigFactory
: net.cactusthorn.config.core -> net.cactusthorn.config.core.factory (#195)
Release v0.50
Release 0.50
ConfigFactory.Builder.addSourceNoCache
methods deleted (#169)- Periodical auto reloading (#168)
- New
@Disable
feature AUTO_RELOAD (#173) - New supported return types of interface methods (#182):
java.time.LocalTime
java.time.OffsetTime
java.time.Year
java.time.YearMonth
- New parameterized custom converters related annotations (#182):
@LocalTimeParser
@OffsetTimeParser
@YearParser
@YearMonthParser
- New loading strategies (#170):
- FIRST_KEYRELAXED
- MERGE_KEYRELAXED
Release v0.40
Release 0.40
- Support for system properties and/or environment variable in the
@Key
and@Prefix
(#154) - Special support for
net.cactusthorn.config.core.Reloadable
interface (#166) - Extras: loaders for files in JSON format (#151) : https://github.com/Gmugra/net.cactusthorn.config/tree/main/json
- Optimizations in the generated classes (#142, #150, #160)
Release v0.31
Release 0.31
The release renames generated artifacts, to make it more unique.
Old Name | New Name |
---|---|
core | config-core |
compiler | config-compiler |
jasypt | config-jasypt |
toml | config-toml |
Release v0.30
Release 0.30
- New supported return types of interface methods (#54, #56, #134):
java.time.LocalDate
java.time.LocalDateTime
java.time.ZonedDateTime
java.time.OffsetDateTime
net.cactusthorn.config.core.converter.bytesize.ByteSize
(for size settings, e.g. "10Mb")
- Added support for parameterized custom converters (#96) and related annotation:
@LocalDateParser
@LocalDateTimeParser
@ZonedDateTimeParser
@OffsetDateTimeParser
- Added support for
java.util.Map
andjava.util.SortedMap
(#99, #123) - Support Service-provider loading facility for Loaders (#87)
- Extras (#124, #131):
- parameterized converter to decrypt properties that were encrypted with Jasypt Password-Based Encryption : https://github.com/Gmugra/net.cactusthorn.config/tree/main/jasypt
- loaders for files in TOML format : https://github.com/Gmugra/net.cactusthorn.config/tree/main/toml
Release v0.20
Release 0.20
- New supported return types of interface methods (#55, #61, #81, #85):
java.net.URI
java.time.Instant
java.time.Duration
java.time.Period
java.nio.file.Path
- New loading strategies (#43):
- FIRST_KEYCASEINSENSITIVE
- MERGE_KEYCASEINSENSITIVE
- New standard loaders (#46, #90)
- for XML files (format: properties.dtd or OWNER)
- for META-INF/MANIFEST.MF from classpath
- Special support for
java.io.Serializable
interface (#47) - Special support for
net.cactusthorn.config.core.Accessible
interface (#65) nocache:
URI-prefix (#62)file:~/
expansion in URI for home-dir (#64)@Config
annotation optional parameterssources
andloadStrategy
(#75)ConfigHolder
get more conversion methods (#78)
Release v0.10
Release 0.10
The first release with basic set of features
- annotation processor for class & builder generation
- Annotations:
@Config
,@Prefix
,@Key
,@Default
,@Disable
,@Split
,@ConverterClass
- Standard types conversions +
Converter
interface for custom converters ClassFactory
with support for multiple source and loading strategies- Standard loaders:
system:properties
,system:env
, properties files by URL and from classpath Loader
interface for custom loaders + System properties and/or environment variable in sources URIs- Direct (without interface) access to properties
- Caching