chore(deps): update module github.com/burntsushi/toml to v1.4.0 #9
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "renovate/github.com-burntsushi-toml-1.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
v1.2.1
->v1.4.0
Release Notes
BurntSushi/toml (github.com/BurntSushi/toml)
v1.4.0
Compare Source
This version requires Go 1.18
Add toml.Marshal() (#405)
Require 2-digit hour (#320)
Wrap UnmarshalTOML() and UnmarshalText() return values in ParseError for position information (#398)
Fix inline tables with dotted keys inside inline arrays (e.g.
k=[{a.b=1}]
) (#400)v1.3.2
Compare Source
Fix reading
BURNTSUSHI_TOML_110
again 😅 The fix for 1.3.1 caused a race issue with multiple decodes being run in parallel.v1.3.1
Compare Source
This fixes two small bugs:
The
BURNTSUSHI_TOML_110
environment variable would be checked on package import, rather than Decode().This meant that setting
os.Setenv("BURNTSUSHI_TOML_110", "")
had no effect, as it happens after the import.Fix order of
Meta.Keys()
for inline tables (this has been an issue since support for inline tables was added).v1.3.0
Compare Source
New features:
Support upcoming TOML 1.1
While it looks like TOML 1.1 is mostly stable and I don't expect any further major changes, there are NO compatibility guarantees as it is NOT yet released and anything can still change.
To use it, set the
BURNTSUSHI_TOML_110
environment variable to any value, which can be done either withos.SetEnv()
or by the user running a program.A full list is changes is available in the TOML ChangeLog; the two most notable ones are that newlines and trailing commas are now allowed in inline tables, and Unicode in bare keys can now be used – this is now a valid document:
Allow MarshalTOML and MarshalText to be used on the document type itself, instead of only fields (#383).
Bufixes:
\
escapes at the end of line weren't processed correctly in multiline strings (#372).Read over UTF-8 BOM (#381).
omitempty
struct tag did not work for pointer values (#371).Fix encoding anonymous structs on 32bit systems (#374).
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.
⚠️ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below:
File name: go.sum
Checkout
From your project repository, check out a new branch and test the changes.