Poodle icon indicating copy to clipboard operation
Poodle copied to clipboard

Update module github.com/BurntSushi/toml to v1.5.0

Open renovate[bot] opened this issue 2 years ago โ€ข 0 comments

This PR contains the following updates:

Package Change Age Confidence
github.com/BurntSushi/toml v1.2.1 -> v1.5.0 age confidence

Release Notes

BurntSushi/toml (github.com/BurntSushi/toml)

v1.5.0

Compare Source

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 tomlv CLI.

  • 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

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 with os.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:

    lรซttรซrs = {
      รค = "a with diaeresis",
      รจ = "e with accent grave",
    }
    
  • 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 is behind base branch, or you tick the rebase/retry checkbox.

๐Ÿ”• Ignore: Close this PR and you won't be reminded about this update again.


  • [ ] If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

renovate[bot] avatar May 30 '23 17:05 renovate[bot]