Skip to content

Releases: LebJe/TOMLKit

0.6.0

03 Jan 20:44
ec6198d
Compare
Choose a tag to compare

Changed

  • Updated to v3.4.0 of tomlplusplus.

0.5.6

10 Dec 23:04
Compare
Choose a tag to compare

Fixed

  • TOMLKit now has a stable dependency on swift-checkit. (#22 by @furby-tm)

0.5.5

24 Jun 23:10
404c4dd
Compare
Choose a tag to compare

Changed

  • TOMLKit requires iOS 13 instead of 14.

Strict Decoding

10 Sep 20:02
Compare
Choose a tag to compare

Changelog

Added

  • Added support for strict decoding: when TOMLDecoder.strictDecoding is true, TOMLDecoder will throw an UnexpectedKeysError if the decoded keys do not exactly match the CodingKeys of the struct.

Fixed

  • Fix crash in TOMLKit (#12).

0.5.3

26 Apr 12:21
Compare
Choose a tag to compare

Changelog

Changed

  • Removed toml++ submodule to improve clone times.

0.5.2

01 Apr 23:58
Compare
Choose a tag to compare

Changelog

Fixed

  • When a DecodingError is thrown, codingPath actually contains the coding path instead of being an empty array.

0.5.1

31 Mar 13:25
Compare
Choose a tag to compare

Changelog

Fixed

0.5.0

18 Jan 19:54
be015e1
Compare
Choose a tag to compare

Changelog

Added

  • TOMLTable can now be converted to YAML.
  • More FormatOptions have been added.
  • Better and more organized documentation.

Changed

  • Upgraded to toml++ v3.0.1.
  • Documentation has been moved out of the README and into the main documentation page.
  • The public variables in TOMLDate, TOMLTime and TOMLDateTime are now mutable.
  • TOMLDate.date and TOMLDateTime.fDate now return an Optional<Foundation.Date>.

Removed

  • FormatOptions.allowValueFormatFlags.

0.4.0

13 Dec 01:08
e49d80a
Compare
Choose a tag to compare

Changelog

Added

  • Array conforms to TOMLValueConvertible when its Element conforms to the protocol.
  • TOMLArray now conforms to Encodable, and can be initialized from a type conforming to Sequence.
  • TOMLTable conforms to Encodable.
  • (U)Int8|16|32|64 now conforms to TOMLValueConvertible.

Changed

  • The TOMLDecoder.dataDecoder closure now accepts a TOMLValueConvertible instead of a String.
  • The TOMLDate initializer that accepts a Date as its parameter is now an optional initializer.
  • The TOMLDateTime initializer that accepts a Date as its parameter is now an optional initializer.

0.3.2

17 Sep 15:47
Compare
Choose a tag to compare

Changelog

Fixed

  • TOMLDecoder can now decode Dictionary<String, ...>.self.