What's Changed
What's new
- Add RawMessage marshal support to unstable by @pelletier in https://github.com/pelletier/go-toml/pull/1084
Fixed bugs
- Fix invalid TOML from commented multi-line values by @pelletier in https://github.com/pelletier/go-toml/pull/1081
- Deliver the whole document to a root Unmarshaler (#994) by @pelletier in https://github.com/pelletier/go-toml/pull/1083
- fix: report table placement errors with position and key context by @pelletier in https://github.com/pelletier/go-toml/pull/1086
- fix: do not recurse forever on recursively embedded structs by @pelletier in https://github.com/pelletier/go-toml/pull/1087
- fix: error instead of panic on nil unexported embedded pointer by @pelletier in https://github.com/pelletier/go-toml/pull/1089
- fix: bound array and inline table nesting depth to prevent stack-overflow DoS by @pelletier in https://github.com/pelletier/go-toml/pull/1092
Documentation
- unstable/kind: drop duplicate 'a' from LocalDate comment by @c-tonneslan in https://github.com/pelletier/go-toml/pull/1062
Other changes
- perf: avoid interface boxing when decoding date/time values by @nishantmehta in https://github.com/pelletier/go-toml/pull/1085
New Contributors
- @nishantmehta made their first contribution in https://github.com/pelletier/go-toml/pull/1085
- @c-tonneslan made their first contribution in https://github.com/pelletier/go-toml/pull/1062
Full Changelog: https://github.com/pelletier/go-toml/compare/v2.4.2...v2.4.3