Skip to content

0.4.0

Compare
Choose a tag to compare
@LebJe LebJe released this 13 Dec 01:08
· 52 commits to main since this release
e49d80a

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.