What's Changed
What's new
- Support TOML v1.1.0 by @jcmfernandes, @pelletier in https://github.com/pelletier/go-toml/pull/1068
Performance
- Reimplementation of the parser, decoder, and encoder by
@pelletierFable 5 in https://github.com/pelletier/go-toml/pull/1067 - New benchmarks from dependent projects in https://github.com/pelletier/go-toml/pull/1067
Fixed bugs
- Populate DecodeError.Key() on type mismatch errors by @leno23 in https://github.com/pelletier/go-toml/pull/1064
- Contextualize redefinition errors as DecodeError by @leno23, @pelletier in https://github.com/pelletier/go-toml/pull/1069
- Report quoted string requirement for unquoted values by @leno23 in https://github.com/pelletier/go-toml/pull/1063
Documentation
- Explain omitempty behavior for time.Time fields by @leno23 in https://github.com/pelletier/go-toml/pull/1061
- Remove "Migrating from v1" section from README by @pelletier in https://github.com/pelletier/go-toml/pull/1070
New Contributors
- @leno23 made their first contribution in https://github.com/pelletier/go-toml/pull/1064
- @jcmfernandes made their first contribution in https://github.com/pelletier/go-toml/pull/1068
Full Changelog: https://github.com/pelletier/go-toml/compare/v2.3.1...v2.4.0