Skip to content

Releases: pelletier/go-toml

v2.0.0-beta.4

28 Oct 23:14
19751e8
Compare
Choose a tag to compare
v2.0.0-beta.4 Pre-release
Pre-release

Almost 5 months after the previous v2.0.0-beta.3 release, this beta version contains a lot of bug fixes, effectively closing all the known issues on v2 so far. It creates a solid foundation on the way to the stable release. Thank you to everybody involved!

What's Changed

What's new

Performance

Fixed bugs

Documentation

Other changes

New Contributors

Full Changelog: v2.0.0-beta.3...v2.0.0-beta.4

v1.9.4

06 Sep 15:59
b8ba995
Compare
Choose a tag to compare

Changes:

  • b8ba995 tomll: add multiLineArray flag to linter (#578)

Checksums

(sha256)

736127ffcf3492efa2f105d2d4be9ce0308c9cdfb4e5091173dc86ae5139fdfd *jsontoml_darwin_amd64.tar.xz
1bffb4ebe0a2ec62dd42e0aac983322f8233c0c80282a0a207ddc882b8165a94 *jsontoml_linux_amd64.tar.xz
2b0a2976e085e492b4f117a59a63c97bca8ffcf21560799862f796dbbd5070ea *jsontoml_windows_amd64.tar.xz
01005a47cd578428ab20a7f4180e785a22f718919b5b74acf26c9c388156d89f *tomljson_darwin_amd64.tar.xz
85076f66a99c8ca9af1dc4a7a6e9403c410e2d382628112f098a151a265ecf69 *tomljson_linux_amd64.tar.xz
e35ae9c4531ec395092b150bf1e9b7c2c5807b0090c596057db27aa890b05225 *tomljson_windows_amd64.tar.xz
8616c17decc105e3b1824e88c4bd94e36c3be4a62a8be28028f21e6c9a82ce97 *tomll_darwin_amd64.tar.xz
216ab1611d22913867eed216c8c0e571938f5ac930aa0ff2ab5ecfdd4290a945 *tomll_linux_amd64.tar.xz
e5f8cca5dc801d3ead054acb5f81cb91953bc89b4793a0a9d9ef8f7aacce59d3 *tomll_windows_amd64.tar.xz

v1.9.3

14 Jun 15:04
8e44986
Compare
Choose a tag to compare

Changes:

  • 837c1d0 Clarify license and comply with Apache 2.0 (#554)

Checksums

(sha256)

27fd76c540501b1e223ecf934d2202ee88d329c0a79318ffebcdbc592d0dce9e *jsontoml_darwin_amd64.tar.xz
6cf6590bfa72f2c5f026d4dfb29fdfa1986d02aa23f36589a5a0f7868e71e0bf *jsontoml_linux_amd64.tar.xz
90e279ced95ed79edd79f933aa8c4f02bfc2762216d9e52e76becff71ab1202d *jsontoml_windows_amd64.tar.xz
122b4ed91a6813f82a1afcf853f80ca53e3427007e9dbb943cbd806d5e4b34c8 *tomljson_darwin_amd64.tar.xz
8eb3dda6198f5f2868098a4f74c1341e63b217e70938e5528bb82a376a0c798c *tomljson_linux_amd64.tar.xz
f05d274070cc4f0d7563521a7e0d1874729bc0c7fa94474c49d9228ad7d6adb0 *tomljson_windows_amd64.tar.xz
a824d7b3fafa61b183e99c434c908b09e42ce6b8c54a1347afec143ccecc9db8 *tomll_darwin_amd64.tar.xz
1ff1b2e0fd057bdd86cd1b203c3b7c158fc3c196b59f2a0bfeee3d65f3ba95d6 *tomll_linux_amd64.tar.xz
be9541829660470139bdb7244b9b0ff0c99aca1bf62465f32f115820cb586155 *tomll_windows_amd64.tar.xz

v2.0.0-beta.3

04 Jun 15:20
618f018
Compare
Choose a tag to compare
v2.0.0-beta.3 Pre-release
Pre-release

Work on performance improvement.

Execution time speedup compared to other Go TOML libraries:

Benchmarkgo-toml v1BurntSushi/toml
Marshal/HugoFrontMatter2.0x2.0x
Marshal/ReferenceFile/map1.8x2.0x
Marshal/ReferenceFile/struct2.7x2.7x
Unmarshal/HugoFrontMatter3.0x2.6x
Unmarshal/ReferenceFile/map3.0x3.1x
Unmarshal/ReferenceFile/struct5.9x6.6x
See more

The table above has the results of the most common use-cases. The table below contains the results of all benchmarks, including unrealistic ones. It is provided for completeness.

Benchmarkgo-toml v1BurntSushi/toml
Marshal/SimpleDocument/map1.7x2.1x
Marshal/SimpleDocument/struct2.6x2.9x
Unmarshal/SimpleDocument/map4.1x2.9x
Unmarshal/SimpleDocument/struct6.3x4.1x
UnmarshalDataset/example3.5x2.4x
UnmarshalDataset/code2.2x2.8x
UnmarshalDataset/twitter2.8x2.1x
UnmarshalDataset/citm_catalog2.3x1.5x
UnmarshalDataset/config4.2x3.2x
[Geo mean]3.0x2.7x

This table can be generated with ./ci.sh benchmark -a -html.

v1.9.2

05 Jun 14:38
8410c96
Compare
Choose a tag to compare

Changes:

  • d083470 Add Encoder.CompactComments to omit extra new line (#541)

Checksums

(sha256)

05d3657a7751ef00957e1c6f225514d32965a781e4d75b9d216a62582c00a90a *jsontoml_darwin_amd64.tar.xz
981e9ebe23fd17008646283e2be806c16c02c55098526c9646e34a2b47138a49 *jsontoml_linux_amd64.tar.xz
c2a30efc65aed2c3ca77eef4c1670fd506dc45016908a7703ea6ae604aefa786 *jsontoml_windows_amd64.tar.xz
da6d15f947d6f73b27c809a7ad4aed24d71618e1524d2378726af1f67963939d *tomljson_darwin_amd64.tar.xz
681ee708616632356a6793a719b72b908808014729c31e04b12d6cdc56064531 *tomljson_linux_amd64.tar.xz
bce5d828b23aad9edc7b95a2b0d41ab95758406048eff3495969478a94bab206 *tomljson_windows_amd64.tar.xz
6404a1fab65ddb02c13ec31aac743de9f8ebde452d23e18af68b0244a3f46912 *tomll_darwin_amd64.tar.xz
5149b82d415fd5bc30c5f4ffc84af51d30b722fdf0d5fec27c76253801318959 *tomll_linux_amd64.tar.xz
2cb87e431404e57a26bf21f46bd5743a079d4537dab0e2430b3e17a34d4adb85 *tomll_windows_amd64.tar.xz

v2.0.0-beta.2

11 May 00:18
95c701b
Compare
Choose a tag to compare
v2.0.0-beta.2 Pre-release
Pre-release

Test coverage of 97.6%. No fundamental change.

v1.9.1

11 May 13:10
c893dbf
Compare
Choose a tag to compare

Changes:

Checksums

(sha256)

174ecebbeb95d0b8044933553bbf6326e01258954cfd2771a51884618ae31755 *jsontoml_darwin_amd64.tar.xz
f28f2155d3e1dab449c7ce05b5a1becf45c1132542d8c23d779b4e835b6d65a9 *jsontoml_linux_amd64.tar.xz
fcb5bb97bd427d9f7d6f962f77ade4ae7f8001ce853b0b5dc585ca667529d9cb *jsontoml_windows_amd64.tar.xz
54f3e6ed616ca1de8e160581dc62d0dbc1b9520d7027f68419e9f01d1cab0618 *tomljson_darwin_amd64.tar.xz
af3cad39b40a4d47cb2fb08175d3bb5986d54410837470534d7088c498a763df *tomljson_linux_amd64.tar.xz
77e335c951ce46734fb500488d0d9dd3697a1d3f62529733c8c4d0dc85f0aba5 *tomljson_windows_amd64.tar.xz
f9e35cd578d8c497d34c6708ca680c39d3550117f16a68b961c995758c6fb505 *tomll_darwin_amd64.tar.xz
c208f10b6ff0a9ade1f97c291c2cf86c0308e5d37bb16cf27879bead7cedb349 *tomll_linux_amd64.tar.xz
0e0f961ef0c5866f2852158f05ae01975b46051e24c62490075e02fc1cb09338 *tomll_windows_amd64.tar.xz

v2.0.0-beta.1

08 May 21:08
45ea200
Compare
Choose a tag to compare
v2.0.0-beta.1 Pre-release
Pre-release

Feature parity with v1 for encoding and decoding! Plus some performance improvements and documentation.

v2.0.0-alpha.2

21 Apr 01:38
9b67e40
Compare
Choose a tag to compare
v2.0.0-alpha.2 Pre-release
Pre-release

Main addition since v2.0.0-alpha.1 is StrictMode on the Decoder.

v2.0.0-alpha.1

15 Apr 15:29
2eff2d0
Compare
Choose a tag to compare
v2.0.0-alpha.1 Pre-release
Pre-release

This is the first alpha release of go-toml v2. See #506 for details.