This repository was archived by the owner on Oct 24, 2024. It is now read-only.
Compatibility 💻
This release improves compliance with the TOML specification.
If you previously parsed TOML files containing inline tables spanning multiple lines, you will need to explicitly enable this feature from now on:
toml.Toml.parse("""key = {
a = 23,
b = 42,
}""", Set(toml.Extension.MultiLineInlineTables))Multi-line tables are a language extension that are not part of the standard yet and were therefore disabled.
Furthermore, there were two minor user-facing changes:
NamedTabletakes aListinstead of aMapto preserve the item orderCodec.Errorwas moved toParse.Errorsince duplicate keys now trigger an error too