Releases: pelletier/go-toml
Releases · pelletier/go-toml
v2.0.0-alpha.1
This is the first alpha release of go-toml v2. See #506 for details.
v1.9.0
The highlight of this version is that the whole toml.Tree
structure has been made public in a backward compatible way. This allows everyone using v1.x to fully access the data and metadata in the tree to extend the library.
This is hopefully the last release in the v1.x track, as go-toml v2 is the main focus of development.
What's new
- b490504 TOML 1.0.0-rc.3 (#449)
- a713a3e Improved default tag for durations (#464)
- c9a09d8 Provide Tree and treeValue public aliases (#467) [ #466 ]
- ef48fb2 Expose MarshalOrder (#470) [ #459, #469 ]
- b4f0a95 Value string representation public function (#469) [ #468 ]
Fixed bugs
- f9ba082 Do not allow T-prefix on local dates (#446) [ #442 ]
- e690861 toml.Unmarshaler supports leaf nodes (#444) [ #437 ]
- a7448fe Fix date lexer to only support 4-digit year (#443) [ #441 ]
- 1bd9461 Fix ToMap for tables in mixed-type arrays (#453)
- ba1b12b Fix ToMap for tables in nested mixed-type arrays (#461)
- ce6fbd7 Support literal multiline marshal (#485)
Performance
Checksums
(sha256)
a48e25a93c68110c408fed73dd88656fd02f92c13682d6bc8d0ac90ab050b55f *jsontoml_darwin_amd64.tar.xz
67128ecaa3eb4686c5fcde3c6d7e9c3dcbdafb6d80d18450f6518160d692f028 *jsontoml_linux_amd64.tar.xz
315fc945fb0c0800ef845d565e58d62df442cdac4246447e257a3e8de1a376ed *jsontoml_windows_amd64.tar.xz
31deb23a5aa7a582dd6552f71001a3db76bc55674fd422a5aa582275753f0eeb *tomljson_darwin_amd64.tar.xz
3572908e07ece5b031fc16adc5072d6f3fc1b4ba3aecd4c17ede6c3dfbd03c2c *tomljson_linux_amd64.tar.xz
fd9d8743262a80b20971061c914c0717e17a6d71b25f3dd9b7ee09f008f32e11 *tomljson_windows_amd64.tar.xz
f551e27e3cb3400d45faccf602b65ad47531eb5f44dc8b335a87cbfb7df9b222 *tomll_darwin_amd64.tar.xz
f39248f69fe4f41aa7df232cecf203e66735ac58ceb6272ed7fba4d8073af2f5 *tomll_linux_amd64.tar.xz
55f0788eb81b8d869ad44896dc2007bb1ec49fd997a57e3125b6322b5d32dcc4 *tomll_windows_amd64.tar.xz
v1.8.1
What's new
Fixed bugs
- 65ca806 Fix Unmarshaler call when value is missing (#439) [ #431 ]
- b76eb62 Allow marshal into empty interface{} (#433) [ #432 ]
- 196ce3a Support go 1.15 (#434) [ #428 ]
- 9f8f82d Fix index exception when setting empty Tree slice (#425)
- 34de94e Fix field overriding part of anonymous struct in order preserving mode [#421]
- 1dbe20e Fix TreeFromMap on list of interfaces (#416) [ #415 ]
- 05bf380 The return value of Marshal is used as a TOML value not a raw TOML formatted value [#414]
Performance
Checksums
(sha256)
1d30d9f7f97ffaf5e5c802affaba25f4a5bf04346b753318acfc589d774d5488 *jsontoml_darwin_amd64.tar.xz
2bb5d8a7470476c5b9bbb02b2e0f1a987ff7f9aac67bda0de1f7a5a0d38cb0ce *jsontoml_linux_amd64.tar.xz
91cb1f7eebf0acade44475db39a75a6822a3121fe526357a238f5f2af5f19428 *jsontoml_windows_amd64.tar.xz
65e5c4db86fe6a208d3f5db39db7c820174625bba0e6c0c2f1485f3df91acb7a *tomljson_darwin_amd64.tar.xz
dc896369a05574b9aafade26b9d1d3ca66061b4999b4745875f273559e690587 *tomljson_linux_amd64.tar.xz
5b6520e4c2fb80f90dafb8c710ff17833b0eb2354977b9016ef78e2c60176837 *tomljson_windows_amd64.tar.xz
749ffffe8abb1dd96763da11065ebecbb0fdb023f7866ef5309e54f644413a61 *tomll_darwin_amd64.tar.xz
8257cef2c0ea8bc5d6a6f3ee57ebf349b5f317f28164f061979ec2dade412ac3 *tomll_linux_amd64.tar.xz
b97e882a5294049d1354e609e840061e4ae76a9a1b541ef7f2104619c7e7f0ac *tomll_windows_amd64.tar.xz
v1.8.0
What's new
- 16c9a8b Support TOML v1.0.0-rc.1
- 9ba7363 Allow spaces when using dotted keys in assignment (#402) [ #401 ]
- c5fbd3e Add support of mixed-type array (#376) [ #357 ]
- e7d1a17 Support custom unmarshaler (#394)
- 3478219 Add more supported default values types for unmarshaling (#392) [ #391 ]
- 82a6a19 Add indentation setting for Encoder (#386) [ #371 ]
- d054979 Forbid adding keys to exist inline table (#378)
- e29a498 unmarshal: support encoding.TextUnmarshaler (#375)
- 2b8e33f marshal: support encoding.TextMarshaler (#374) [ #373 ]
- d3c92c5 unmarshal: add strict mode (#372) [ #277 ]
- 323fe5d fix #356 Unmarshal support []string ,[]int ... (#361)
Fixed bugs
- a60e466 Fix index and slice expressions for query (#405)
- 1479e10 Fix regression in default value handling (#406)
- 96ff402 Fix marshaling nested arrays of tables (#395) [ #369 ]
- 19eb8cf Fix various quoted keys bugs (#400) [ #396, #397, #398, #399 ]
- 9ccd9bb Fix unmarshaler error when a custom marshaler function is defined (#383) [ #382 ]
- 71a8bd4 Prevent automatic conversion between int and float when unmarshaling (#390) [ #389 ]
- 7fbde32 Fix overflow checking when unmarshaling (#388) [ #387 ]
- cc3100c Fix unmarshaling arrays (#385) [ #384 ]
- f1ba638 Fix inline table loading errors (#381) [ #379, #380 ]
- d1e0fc3 marshal: do not encode embedded structs as sub-table (#368)
- e9e8265 Add support for tab in basic string value and quoted key (#364)
- a30fd22 Escape adjacent quotation marks marshaling in multiline string (#365)
- e872682 Fix unmarshal error with tab in multi-line basic string (#355) [ #354 ]
- 145b183 dont't panic when marshal from nil or unmarshal to nil interface or pointer (#353)
Checksums
(sha256)
f7943604bfd11f0630c0720681899aa5c1ba23400fe0aee2eca79ce8edffcbd3 *jsontoml_darwin_amd64.tar.xz
d471d0ca97c5b029beaa0eea1c233fb7e3016d2d9398bfd41df97c26d8e5f547 *jsontoml_linux_amd64.tar.xz
6f320ebd2f9965713ee728f0543e2a773ad111ae2cd52e8475c52b5bb82d8980 *jsontoml_windows_amd64.tar.xz
47d22db4f24b61159a318fcbf7f0d28e812cb484063ebcf3ad5a76f336b65706 *tomljson_darwin_amd64.tar.xz
954d8c6ae63a82bcac85c9135409350699bda3a5dad42f2883c8f4efa8e3ff25 *tomljson_linux_amd64.tar.xz
8833730a3d25881bfcbdcabddc992d617e55fbf2b129fe1687889cc3aa049b86 *tomljson_windows_amd64.tar.xz
66c77476a2ecf1d945cb95e8fd2b4bec205db659348b5495e2e61d5b4ead01ec *tomll_darwin_amd64.tar.xz
ada4a27c624db30267d60f9cf9733625ac79c114911994d00663739d99b99f46 *tomll_linux_amd64.tar.xz
eb651e3adfd266ddbb28ad525a43f5d1e623d359060733549f45a1c8c415e3b1 *tomll_windows_amd64.tar.xz
v1.7.0
What's new
- Support unmarshal into toml.Tree (#347) [ #333 ]
- Binaries published with releases (#346) (#345)
- Go 1.14 support (#343)
- Add
interface{}
support to marshal and unmarshal (#341) (#335) [ #331 ] - Support default values for inner structs (#326)
Fixed bugs
- Fix unmarshaling of nested structs (#340) [ #339 ]
- Fix multiline + non-primitive commenting (#336) [ #216 ]
- Fix unexpected token type in inline table (#334) [ #321 ]
Checksums
(sha256)
1a12132b3c577b2fabd5ddb1bca16c3d3b5ba175edfd89d4cb0a11f2255dead0 *jsontoml_darwin_amd64.tar.xz
203f393f0e9f1a0a4b88f31f93b59907eeb44b8ebf023f730c1a72aadb401c7f *jsontoml_linux_amd64.tar.xz
e88035ce374be8e9b0befd1cd343b05a4fe4557547e59b15b2fb0fc1056f0d5a *jsontoml_windows_amd64.tar.xz
ff33de0e28b4ae9d17db7ae19bef37f83d5de8d3891eb3fd4476bc1319dcd6f7 *tomljson_darwin_amd64.tar.xz
aed1e28e8917e32374613bad53fd97bd68a8d52bf99992b81d7e29302af3bbe0 *tomljson_linux_amd64.tar.xz
62593f290f1fb0de045dc671d93f2b73d6adc939225452bdf1737c529d747bb8 *tomljson_windows_amd64.tar.xz
8159d1f1a8a7fd8b98dfbd6911a89b8557b947f33b91083f487e4ba45612c61e *tomll_darwin_amd64.tar.xz
cb5f2aa6196ace25c69aeec7a8ac9fd6a5ba846d54850b96bcc22617908d4837 *tomll_linux_amd64.tar.xz
772fee3745e20efa6d0dd5fee05d20431c7839d31c5949f9c58011128798227f *tomll_windows_amd64.tar.xz
latest
Checksums
(sha256)
bf22eb7bf3565deae5eb7565bd6240624e333099d8ce85b62b7cdd4ff6b62cdb *jsontoml_darwin_amd64.tar.xz
903c04e5138e104f98ffba1b803527c0a0860d0174357dbd1a1c74d42a001585 *jsontoml_linux_amd64.tar.xz
e02e632849f007a7679f0af84a59d953bce5449a94a6451802f5cf2ed512edf1 *jsontoml_windows_amd64.tar.xz
7925ff033f4ceeac994316021c8c73342fa363f2385876402b19f720f18222bc *tomljson_darwin_amd64.tar.xz
df62c3a73597785bfdd0b27324670b4bfb37f9ffbeba55329810832a1217d600 *tomljson_linux_amd64.tar.xz
f7a91ae1ca11ffa29c3661274cbd210c5ae8c99e5b89ff5a7fda703cabd24436 *tomljson_windows_amd64.tar.xz
52cf5382c3fa64ae371956eb5b592b2153a17da1b77dda98c66994a0646d4fe1 *tomll_darwin_amd64.tar.xz
dbdb05dddb6968a691a229770da6f6ada98f652b64e6c534ec13283614510789 *tomll_linux_amd64.tar.xz
2dc9f21658fbe70b330c70c3d7b41a5894a9aa066354cbc7d5d073f7d3f070e2 *tomll_windows_amd64.tar.xz
Changes:
This list of changes was auto generated.
v1.6.0
v1.5.0
v1.4.0
What's new
- Docker image for tools #269
- Allow unmarshaling top level maps #273
- Unmarshal handles custom key types convertible to string #276
All changes: v1.3.0...v1.4.0
v1.3.0
What's new
- Allow to change default tags for Decoder and Encoder #241
- Support time.duration #248
- Map camelCased keys to fields in structs #251
- Allow to marshal pointer to struct and map #247
- Support byte order mark #250
- Add Delete* functions to Tree #256
- Provide "default" tag for unmarshal #259
- Go 1.12 support #261
- Provide Go mod #265
- Option to keep fields ordered when marshaling struct #266
Fixed Bugs
- Fix path not found message on Windows #227
- Fix panic when type mismatch between toml and struct #236
- Fix integer-only keys in inline tables #224
All changes: v1.2.0...v1.3.0