Releases: Siroshun09/ConfigAPI
Releases · Siroshun09/ConfigAPI
Version 4.6.4
- Fix NPE when loading empty file using
YamlConfiguration#load
Version 4.6.3
Version 4.6.2
Changes
- Update SnakeYaml to 2.0 (d58a7bc)
- SnakeYaml's changes: https://bitbucket.org/snakeyaml/snakeyaml/wiki/Changes
Fixes
- Serialize
Configuration
toMap
when the serializer isConigurationSerializer
(a163a54) - Use try-with-resources for
JarFile
inResourceUtils
(57754ed) - Use
LinkedHashMap
instead ofHashMap
inMappedConfiguration#getOrCreateSection
(f50d698)
Others
- Fix grammar errors in Javadoc (4633cf4)
- Remove an unused private method
Version 4.6.1
Fixes
- [api] copy the map of MappedConfiguration in #convertToMap (61157d7)
- [yaml] remove usage of deprecated constructor and comment about CVE (5e75221)
Javadoc Page
The link of Javadoc is changed:
- Latest: https://siroshun09.github.io/ConfigAPI/latest
- Versioned: https://siroshun09.github.io/ConfigAPI/4.6.1 (older version is not published)
Version 4.6.0
Additions
ResourceUtils#getInputStreamFromClassLoader
ResourceUtils#getInputStreamFromJar
YamlConfiguration#loadFromInputStream
YamlConfiguration#getLoadedConfiguration
Improvements
YamlConfiguration#load
andYamlConfiguration#save
Version 4.5.0
Additions
Configuration#getOrCreateSection
Configuration#clear
- implements
AutoCloseable
for FileConfiguration Configuration#copy
Fixes
- create directories before saving to a file
Changes
- use
Files
method for yaml saving - update maven-javadoc-plugin and junit
Version 4.4.0
Changes
- Remove
Configuration#getPaths
- Add more null checks
- Improve Javadocs
Tests
- Add tests for
AbstractConfiguration
- Improve some tests
CI
- Java CI (
maven.yml
) is now building on Java 11 and 16 - Deploy Javadoc to GitHub Pages (Maven) (
update-javadoc.yml
) is now building on Java 16
Version 4.3.1
YamlConfiguration
- use DumperOptions.FlowStyle.BLOCK in default
- check if config is null to prevent NPE
Version 4.3.0
- Add
Configuration#getKeyList
- Deprecate
Configuration#getPaths
Version 4.2.1
- Add
Configuration#getBytes
andConfiguration#setBytes