toml4j/CHANGELOG.md

3.5 KiB

toml4j Changelog

0.7.3 / 2022-05-05

Updated

  • Added SeriaizedName annotation support
  • Add proper indentation for array types
  • Append object fields instead of overwriting the whole file

0.7.2 / 2017-08-05

Updated

Fixed

0.7.1 / 2016-07-27

0.7.0 / 2016-07-12

Added

  • Toml#read(Toml) merges two Toml instances (thanks to gustavkarlsson)

0.6.0 / 2016-06-14

Added

Fixed

  • Transient fields are not written to TOML files (thanks to lare96)
  • Support positive timezone offset in datetime (thanks to aloyse)

0.5.1 / 2016-01-24

Fixed

0.5.0 / 2015-12-10

Changed

  • BREAKING: Toml#parse methods renamed to read
  • BREAKING: Toml#getList(String), Toml#getTable(String) and Toml#getTables(String) return null when key is not found
  • Removed trailing newline from error messages (thanks to Zero3)
  • Toml#read(File) forces encoding to UTF-8 (thanks to Bruno Medeiros)

Added

  • Support for writing objects to TOML with TomlWriter (thanks to dilecti)
  • Support for underscores in numbers (the feature branch had accidentally not been merged into 0.4.0! :( )
  • Set<Map.Entry> Toml#entrySet() cf. Reflection section in README (thanks Zero3 and d3xter)
  • Overloaded getters that take a default value (thanks to udiabon)
  • Toml#contains(String) and Toml#containsXXX(String) methods to check for existence of keys

0.4.0 / 2015-02-16

Changed

  • BREAKING: Toml#getList(String) replaced Toml#getList(String, Class)
  • Dropped dependency on Parboiled and its significant transitive dependencies

Added

  • Support for TOML 0.4.0
  • Toml#isEmpty()
  • More detailed error messages, including line numbers

Fixed

  • Short-form Unicode escape handling
  • Exponent handling

0.3.1 / 2014-12-16

0.2 / 2014-04-10

  • Support for TOML 0.2 spec, most notably table arrays.

0.1 / 2014-04-06