Releases: LebJe/TOMLKit
Releases · LebJe/TOMLKit
0.6.0
0.5.6
0.5.5
Strict Decoding
Changelog
Added
- Added support for strict decoding: when
TOMLDecoder.strictDecoding
istrue
,TOMLDecoder
will throw anUnexpectedKeysError
if the decoded keys do not exactly match theCodingKey
s of the struct.
Fixed
- Fix crash in TOMLKit (#12).
0.5.3
0.5.2
0.5.1
Changelog
Fixed
-
Fix pre-commit workflows by replacing
git://...
URL with ahttps://
one.
0.5.0
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 inTOMLDate
,TOMLTime
andTOMLDateTime
are now mutable. TOMLDate.date
andTOMLDateTime.fDate
now return anOptional<Foundation.Date>
.
Removed
FormatOptions.allowValueFormatFlags
.
0.4.0
Changelog
Added
Array
conforms toTOMLValueConvertible
when itsElement
conforms to the protocol.TOMLArray
now conforms toEncodable
, and can be initialized from a type conforming toSequence
.TOMLTable
conforms toEncodable
.(U)Int8|16|32|64
now conforms toTOMLValueConvertible
.
Changed
- The
TOMLDecoder.dataDecoder
closure now accepts aTOMLValueConvertible
instead of aString
. - The
TOMLDate
initializer that accepts aDate
as its parameter is now an optional initializer. - The
TOMLDateTime
initializer that accepts aDate
as its parameter is now an optional initializer.