mgechev / revive

🔥 ~6x faster, stricter, configurable, extensible, and beautiful drop-in replacement for golint
https://revive.run
MIT License
4.74k stars 276 forks source link

fix(deps): update module github.com/burntsushi/toml to v1.3.2 #835

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Type Update Change
github.com/BurntSushi/toml require minor v1.2.1 -> v1.3.2

Release Notes

BurntSushi/toml ### [`v1.3.2`](https://togithub.com/BurntSushi/toml/releases/tag/v1.3.2) [Compare Source](https://togithub.com/BurntSushi/toml/compare/v1.3.1...v1.3.2) 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`](https://togithub.com/BurntSushi/toml/releases/tag/v1.3.1) [Compare Source](https://togithub.com/BurntSushi/toml/compare/v1.3.0...v1.3.1) 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`](https://togithub.com/BurntSushi/toml/releases/tag/v1.3.0) [Compare Source](https://togithub.com/BurntSushi/toml/compare/v1.2.1...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_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", } [TOML ChangeLog]: https://togithub.com/toml-lang/toml/blob/main/CHANGELOG.md - Allow MarshalTOML and MarshalText to be used on the document type itself, instead of only fields ([#​383](https://togithub.com/BurntSushi/toml/issues/383)). Bufixes: - `\` escapes at the end of line weren't processed correctly in multiline strings ([#​372](https://togithub.com/BurntSushi/toml/issues/372)). - Read over UTF-8 BOM ([#​381](https://togithub.com/BurntSushi/toml/issues/381)). - `omitempty` struct tag did not work for pointer values ([#​371](https://togithub.com/BurntSushi/toml/issues/371)). - Fix encoding anonymous structs on 32bit systems ([#​374](https://togithub.com/BurntSushi/toml/issues/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 Mend Renovate. View repository job log here.

pchan commented 1 year ago

@mgechev Can this update be merged ? It passes all checks. The toml version is an indirect etcd dependency(https://github.com/etcd-io/etcd/pull/16073).