New features:
-
Support upcoming TOML 1.1
While it looks like TOML 1.1 is mostly stable and I don't expect any further major changes, there are NO compatibility guarantees as it is NOT yet released and anything can still change.
To use it, set the
BURNTSUSHI_TOML_110
environment variable to any value, which can be done either withos.SetEnv()
or by the user running a program.A full list is changes is available in the TOML ChangeLog; the two most notable ones are that newlines and trailing commas are now allowed in inline tables, and Unicode in bare keys can now be used – this is now a valid document:
lëttërs = { ä = "a with diaeresis", è = "e with accent grave", }
-
Allow MarshalTOML and MarshalText to be used on the document type itself, instead of only fields (#383).
Bufixes: