Skip to content

Releases: valderman/4koma

1.2.0

05 Feb 23:22
330d180
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.1.0...1.2.0

1.1.0

05 Jul 21:25
Compare
Choose a tag to compare

What's Changed

  • Fix override order of custom encoders/decoders
  • Support transcoding to/from Lazy<T>
  • Fix decoding of parameterized data classes
  • Support configuration of serialization format
  • Support delegating de/serialization to another mapper
  • Faster creation of TomlMappers
  • Only depend on antlr4-runtime at runtime by @comp500 in #4
  • Fix problem with private members. by @jlkeesey in #8
  • Support for optional data class parameters, tests for null encoding in data classes by @comp500 in #6
  • Run tests on pr by @valderman in #9
  • Enum support by @valderman in #10

New Contributors

Full Changelog: 1.0.2...1.1.0

1.0.2

26 Apr 21:51
Compare
Choose a tag to compare
  • Fixed bug where comments would cause parse errors when using CRLF (i.e. Windows) line endings.

1.0.1

19 Apr 23:46
Compare
Choose a tag to compare
  • Fix documentation for tomlMapper decoder configuration.
  • Expose TomlEncoder.encode and TomlDecoder.decode.

1.0.0

19 Apr 23:31
Compare
Choose a tag to compare
  • Added support for default values when decoding TOML documents.
  • Simplified usage by making the newly introduced TomlMapper, with extensions, the main entry point of the library and hiding away the details of TomlValue, etc. until you really need it.
  • Added TomlMapper.atomicallyEncodeTo method to atomically overwrite files with new TOML documents.
  • Simplified package structure. This should be the last package structure change for quite some time.

Full Changelog: 0.4.2...1.0.0

0.4.2

10 Feb 21:21
Compare
Choose a tag to compare
  • Bump dependency versions.
  • Hide accidentally exported encodeKey function.

0.4.1

21 Dec 23:20
Compare
Choose a tag to compare

Fix decoding to Set/MutableSet.

0.4.0

17 Dec 00:26
Compare
Choose a tag to compare
  • Add serialization support
  • Allow decoding to nullable types
  • Throw early errors if you try to register a custom mapping which obviously won't work
  • Minor bugfixes WRT custom decoder mappings
  • Reorganize everything into subpackages

0.3.0

19 Nov 01:06
Compare
Choose a tag to compare

Changelog:

  • Support custom TOML decoders
  • Support easy remapping between TOML values and properties of Kotlin model types
  • Improved docs and test suite

v0.2.0

11 Nov 23:58
Compare
Choose a tag to compare

Changelog:

  • Create javadoc JAR as part of build.
  • Allow converting TOML value to any class with a primary constructor.
  • Make TomlErrorListener internal.