Skip to content

Releases: Siroshun09/ConfigAPI

Version 4.6.4

09 Apr 09:37
cc65fa7
Compare
Choose a tag to compare
  • Fix NPE when loading empty file using YamlConfiguration#load

Version 4.6.3

15 Mar 19:03
986d155
Compare
Choose a tag to compare

Fixes

  • Don't close JarFile in ResourceUtils#getInputStreamFromJar (d87dd4a)

Changes

  • Deprecate ResourceUtils#getInputStreamFromJar(Path, String) (89ae3a0)

Version 4.6.2

27 Feb 07:30
cdeae13
Compare
Choose a tag to compare

Changes

Fixes

  • Serialize Configuration to Map when the serializer is ConigurationSerializer (a163a54)
  • Use try-with-resources for JarFile in ResourceUtils (57754ed)
  • Use LinkedHashMap instead of HashMap in MappedConfiguration#getOrCreateSection (f50d698)

Others

  • Fix grammar errors in Javadoc (4633cf4)
  • Remove an unused private method

Version 4.6.1

16 Feb 23:05
43adfc6
Compare
Choose a tag to compare

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:

Version 4.6.0

18 Dec 15:44
f74a10f
Compare
Choose a tag to compare

Additions

  • ResourceUtils#getInputStreamFromClassLoader
  • ResourceUtils#getInputStreamFromJar
  • YamlConfiguration#loadFromInputStream
  • YamlConfiguration#getLoadedConfiguration

Improvements

  • YamlConfiguration#load and YamlConfiguration#save

Version 4.5.0

28 Sep 15:34
0555bc0
Compare
Choose a tag to compare

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

18 Aug 08:30
9b619e8
Compare
Choose a tag to compare

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

15 Aug 22:53
56fbb47
Compare
Choose a tag to compare

YamlConfiguration

  • use DumperOptions.FlowStyle.BLOCK in default
  • check if config is null to prevent NPE

Version 4.3.0

02 Aug 17:58
5cb321e
Compare
Choose a tag to compare
  • Add Configuration#getKeyList
  • Deprecate Configuration#getPaths

Version 4.2.1

09 Jul 05:15
b08f584
Compare
Choose a tag to compare
  • Add Configuration#getBytes and Configuration#setBytes