Skip to content

Releases: pelletier/go-toml

v2.0.5

26 Aug 13:26
9428417
Compare
Choose a tag to compare

What's Changed

Fixed bugs

Full Changelog: v2.0.4...v2.0.5

v2.0.4

26 Aug 01:25
28f1efc
Compare
Choose a tag to compare

This version has compatibility issues with Go <= 1.17. Though go-toml doesn't officially support Go less than 2 versions old, a new version has been released with a backward-compatible fix: https://github.com/pelletier/go-toml/releases/tag/v2.0.5.

What's Changed

Fixed bugs

New Contributors

Full Changelog: v2.0.3...v2.0.4

v2.0.3

15 Aug 20:46
7baa23f
Compare
Choose a tag to compare

What's Changed

Fixed bugs

Other changes

Full Changelog: v2.0.2...v2.0.3

v2.0.2

08 Jun 22:11
2166282
Compare
Choose a tag to compare

What's Changed

Fixed bugs

  • Encode: add bound check for uint64 > math.Int64 by @pelletier in #785

Other changes

  • Build arm + arm64 binaries for linux and windows by @pelletier in #790

Full Changelog: v2.0.1...v2.0.2

v2.0.1

10 May 13:54
0a422e3
Compare
Choose a tag to compare

What's Changed

Fixed bugs

Documentation

New Contributors

Full Changelog: v2.0.0...v2.0.1

v2.0.0

28 Apr 01:36
171a592
Compare
Choose a tag to compare

It is finally here! go-toml v2 is now stable. 🎉

Only just over one year after I started working on it. This version of go-toml has been rebuilt from the ground up. It respects the latest TOML specification. Countless bugs have been fixed. It behaves more like the standard library. And it is much faster. Special attention was given to keeping the public API to a minimum. Continuing the strict policy of backward compatibility, the next breaking change will be in another 5 years!

Thank you to everybody who contributed to this new version, as well as folks willing to try out the intermediate beta versions. Shout out to @moorereason for reporting many issues during the development process using differential fuzzing, as well as @bep for running a beta on the popular Hugo project!

There is still some work that could be done to improve the performance of the library (#758 and #669 for instance). But I am confident that the library is in a good-enough place at the moment for folks to reap the benefits of the rewrite. The major feature removal is the sort-of-AST that v1 provided. It allowed manipulating an arbitrary document and writing it back out. This was done to cut down the scope of the project, removing a feature that had unclear use-cases. The v2 parser creates some intermediate AST so that if somebody is up to design a Document API the tools should be available to do so. Please reach out if you are interested!

The readme contains a list of differences between v1 and v2 to be aware of when upgrading. Please report any issue you may have with the new version in the bug tracker 🐞, provide feedback, and ask questions in Discussions 💬.
With this release, go-toml v1 will not be receiving any updates. This is required to keep maintenance of the project to a minimum.

Hopefully, this change doesn't break your thing!


Full commit log: c9a09d8...v2

Thank you contributors: @pelletier @oschwald @moorereason @xwjdsh @kkHAIKE @RiyaJohn @jidicula @zostay @mmorel-35.

v2.0.0-beta.8

11 Apr 13:21
adacebd
Compare
Choose a tag to compare
v2.0.0-beta.8 Pre-release
Pre-release

Lots of small bug fixes on the encoder. Found thanks to the new Go 1.18 fuzzing support.

What's Changed

Fixed bugs

Documentation

Full Changelog: v2.0.0-beta.7...v2.0.0-beta.8

v2.0.0-beta.7

08 Apr 02:06
f5cc8c4
Compare
Choose a tag to compare
v2.0.0-beta.7 Pre-release
Pre-release

Small bug fixes version. The main purpose is to provide a valid tag to take a recent dependency on, as 2.0.0-beta.6 had issues (#743).

What's Changed

What's new

Fixed bugs

  • tools: display error context when it exists by @pelletier in #749
  • Decode: allow subtables to be defined later in the document by @pelletier in #750

Other changes

  • Decode: remove mention of UnmarshalText in errors by @pelletier in #751

Full Changelog: v2.0.0-beta.6...v2.0.0-beta.7

v2.0.0-beta.6

08 Apr 00:37
068279f
Compare
Choose a tag to compare
v2.0.0-beta.6 Pre-release
Pre-release

Long time this the last beta release! This one comes with all the tooling and build systems ported to v2. And a handful of bug-fixes as usual.

⚠️ The v2.0.0-beta.6 tag has been moved, so it is possible you see a checksum mismatch error from Go when using this version (#743). This will be correct in v2.0.0-beta.7.

What's Changed

Fixed bugs

Documentation

Other changes

Full Changelog: v2.0.0-beta.5...v2.0.0-beta.6

v1.9.5

21 Apr 23:21
fed1464
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.9.4...v1.9.5