Skip to content

Releases: SpongePowered/Configurate

Configurate v3.6

Choose a tag to compare

@kashike kashike released this 01 Aug 20:06

Configurate v3.5

Choose a tag to compare

@kashike kashike released this 26 Jun 21:07
  • Revert compatibility break with NodePath and ConfigurationTransformation

Configurate v3.4

Choose a tag to compare

@kashike kashike released this 25 Jun 20:05
  • Fix this bug: Lists in config get set to null
  • Expose customized default render and parse options
  • Fix reading of multi-line HOCON comments
  • Select from available type serializers in the order they were added
  • change group to org.spongepowered
  • Implement XML configuration loader
  • Invalidate cached type matches when a new serializer is added
  • Add ConfigurationNode#copy
  • Only include the key + value in ConfigurationNode#toString
  • Fix CommentedConfigurationNode#equals never returning true
  • Implement NodeWalker utility for traversing configuration structures
  • Fix compatibility with older versions of guava

Migration Note:

As the gradle group has changed from ninja.leaping to org.spongepowered you will need to update your dependencies in your build scripts.

E.g. For Gradle:

    compile 'ninja.leaping.configurate:configurate-hocon:3.3'
    compile 'ninja.leaping.configurate:configurate-gson:3.3'
    compile 'ninja.leaping.configurate:configurate-yaml:3.3'

becomes

    compile 'org.spongepowered:configurate-hocon:3.4'
    compile 'org.spongepowered:configurate-gson:3.4'
    compile 'org.spongepowered:configurate-yaml:3.4'
    compile 'org.spongepowered:configurate-xml:3.4'

No other changes should be necessary.

Configurate v3.3

Choose a tag to compare

@zml2008 zml2008 released this 13 May 21:49
  • Update Maven and various Maven plugins
  • Update snakeyaml to 1.18 from 1.16, jackson to 2.8.8 from 2.6.3, typesafe hocon config to 1.3.1 from 1.3.0, gson to 2.8.0 from 2.2.4, and optional guice dependency to 4.1 from 4.0 where used.
  • Move usage of removed Guava method, update Guava
  • Resolve some issues with atomic writes by using more fine-grained time when generating temp file names
  • Allow resolving enums that don't follow standard naming conventions. Lookup is case-insensitive and ignores underscores. If the enum has two fields that are equal except for case and underscores, an exact match will return the appropriate value, and any fuzzy matches will map to the first value in the enum that is applicable.

Downloads are available from Maven Central

Configurate v3.2

Choose a tag to compare

@zml2008 zml2008 released this 04 Oct 02:55
  • Allow Gson module to save empty files
  • Resolve configuration variables for hocon
  • Fix various issues on Windows
  • Correct file permissions
  • Improve error message when unable to find an appropriate TypeSerializer or when using raw types
  • Allow stripping header from files entirely

Configurate v3.1.1

Choose a tag to compare

@zml2008 zml2008 released this 13 Jan 17:33

Distributed on Maven Central as usual.

  • Correctly use UTF-8 when loading from a URL
  • Make setValue(TypeToken, T) be a default method in ConfigurationNode
  • Correct TypeSerializer handling of empty maps and lists

Configurate v1.2.1

Choose a tag to compare

@zml2008 zml2008 released this 07 Jun 10:29
  • core: Properly remove values removed from maps while reserializing data
  • gson: Downgrade gson dependency to 2.2.4 for expanded compatibility
  • hocon: Properly load empty maps and lists

Configurate v1.1.1

Choose a tag to compare

@zml2008 zml2008 released this 13 Apr 03:22
  • core: fix jdk6 & windows compatibility

Configurate v1.1

Choose a tag to compare

@zml2008 zml2008 released this 12 Apr 23:25
  • core: Fix jdk6 compatibility
  • core: Add equals, hashCode, and toString to node objects
  • json: Bump jackson dependency to 2.5.2
  • json: Make pretty printing more flexible with new methods on Builder

Configurate v1.0.1

Choose a tag to compare

@zml2008 zml2008 released this 21 Mar 21:21

1.0.1

  • Handle objects with null fields being serialized
  • Handle concurrent removal of nodes while saving in HoconConfigurationLoader
  • Fix node path comparator to correctly handle paths with wildcards in a few cases

1.0

  • Bug fixes
  • Add merging of config values
  • Add getKey, getParent, and getPath
  • Add merged and versioned transformers
  • Refactor ObjectMapper to be fancier and work better
  • Add gson-backed JSON configuration loader
  • Implement header loading
  • Add support for atomic writing
  • Allow choosing between serveal map implementations for nodes with map children
  • Polishing