chore(deps): bump github.com/BurntSushi/toml from 0.3.1 to 1.5.0
Bumps github.com/BurntSushi/toml from 0.3.1 to 1.5.0.
Release notes
Sourced from github.com/BurntSushi/toml's releases.
v1.5.0
Mostly some small bugfixes, with a few small new features:
Add Position.Col, to mark the column an error occurred (#410)
Print more detailed errors in the
tomlvCLI.Ensure ParseError.Message is always set (#411)
Allow custom string types as map keys (#414)
Mark meta keys as decoded when using Unmarshaler interface (#426)
Fix encoding when nested inline table ends with map (#438)
Fix encoding of several layers of embedded structs (#430)
Fix ErrorWithPosition panic when there is no newline in the TOML document (#433)
v1.4.0
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
Fix reading
BURNTSUSHI_TOML_110again 😅 The fix for 1.3.1 caused a race issue with multiple decodes being run in parallel.v1.3.1
This fixes two small bugs:
The
BURNTSUSHI_TOML_110environment 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
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_110environment variable to any value, which can be done either withos.SetEnv()or by the user running a program.
... (truncated)
Commits
d97def5Update toml-testd10101fCorrect encoding of comma when nested inline table ends with map75a4f17Correct encoding of several layers of embedded structs702f5a6Minor staticcheck fixes6f7689dMark meta keys as decoded when using Unmarshaler interface (#426)8323983Remove exception for fuzzer4664468Fix ErrorWithPosition panic when less than two lines211c915Fix typos in comments, tests, error message (#432)c141a29Test with Go 1.24 in CI2918ee7Fix metadata: do not reuse result of append (#418)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)