toml4j/CHANGELOG.md

2.2 KiB

toml4j Changelog

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