From 044614c06685cd6d75b2b53d324cecfb5df41385 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 31 Mar 2025 06:25:48 +0200 Subject: [PATCH] chore(deps): update module github.com/mgechev/revive to v1.8.0 (#6581) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [github.com/mgechev/revive](https://redirect.github.com/mgechev/revive) | `v1.7.0` -> `v1.8.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fmgechev%2frevive/v1.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fmgechev%2frevive/v1.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fmgechev%2frevive/v1.7.0/v1.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fmgechev%2frevive/v1.7.0/v1.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes
mgechev/revive (github.com/mgechev/revive) ### [`v1.8.0`](https://redirect.github.com/mgechev/revive/releases/tag/v1.8.0) [Compare Source](https://redirect.github.com/mgechev/revive/compare/v1.7.0...v1.8.0) #### Changelog - [`561c949`](https://redirect.github.com/mgechev/revive/commit/561c949334d0e097e19cfae2d2a3632a11172fc1) change: replace log with log/slog for logging ([#​1280](https://redirect.github.com/mgechev/revive/issues/1280)) - [`c9c079f`](https://redirect.github.com/mgechev/revive/commit/c9c079f295aa571935f900f566df31e4a907aede) chore(deps): update module golang.org/x/sys to v0.31.0 ([#​1257](https://redirect.github.com/mgechev/revive/issues/1257)) - [`dc3de10`](https://redirect.github.com/mgechev/revive/commit/dc3de104c41dfbd50fd502503e791ef5c472e174) chore(deps): update module golang.org/x/text to v0.23.0 ([#​1259](https://redirect.github.com/mgechev/revive/issues/1259)) - [`54ea25b`](https://redirect.github.com/mgechev/revive/commit/54ea25b7188609c8d3e59cc5ec7e9e9c92e8ff79) doc: update description of struct-tag rule ([#​1262](https://redirect.github.com/mgechev/revive/issues/1262)) - [`4f34235`](https://redirect.github.com/mgechev/revive/commit/4f342352f0fa802eaf00709eecbcde4d0db7ed2b) feature: add suport of mapstructure struct tags in struct-tag rule ([#​1241](https://redirect.github.com/mgechev/revive/issues/1241)) - [`3bbfedb`](https://redirect.github.com/mgechev/revive/commit/3bbfedbf4388ccc51c512ba60ca4fa021cc167e0) feature: add suport of validate struct tags in struct-tag rule ([#​1244](https://redirect.github.com/mgechev/revive/issues/1244)) - [`88d5434`](https://redirect.github.com/mgechev/revive/commit/88d5434ceed11c4fc8c7152f26944ef6ee62cc60) feature: add support for TOML struct tags in struct-tag rule ([#​1255](https://redirect.github.com/mgechev/revive/issues/1255)) - [`3cf67c5`](https://redirect.github.com/mgechev/revive/commit/3cf67c57831ee9af1a0eb8dad63f8d62d645c1a5) feature: add support of URL struct tags in struct-tag rule ([#​1239](https://redirect.github.com/mgechev/revive/issues/1239)) - [`a4ee892`](https://redirect.github.com/mgechev/revive/commit/a4ee892836d9270457e0c8c5648e4e544f063f34) feature: add support of datastore struct tags in struct-tag rume ([#​1240](https://redirect.github.com/mgechev/revive/issues/1240)) - [`88e5689`](https://redirect.github.com/mgechev/revive/commit/88e5689475da4bc2b14a7f35a4f0735446c1974b) fix(deps): update module github.com/burntsushi/toml to v1.5.0 ([#​1276](https://redirect.github.com/mgechev/revive/issues/1276)) - [`8b973cb`](https://redirect.github.com/mgechev/revive/commit/8b973cb1c54e44fc59bf7472ff53b58b7a3a49a3) fix(deps): update module github.com/spf13/afero to v1.13.0 ([#​1270](https://redirect.github.com/mgechev/revive/issues/1270)) - [`770af80`](https://redirect.github.com/mgechev/revive/commit/770af80ab2448d0bc53cbb06e77535324e7fae38) fix(deps): update module github.com/spf13/afero to v1.14.0 ([#​1271](https://redirect.github.com/mgechev/revive/issues/1271)) - [`c940fa6`](https://redirect.github.com/mgechev/revive/commit/c940fa671b2185e49b2d7d75a37559b80efe86ad) fix(deps): update module golang.org/x/mod to v0.24.0 ([#​1258](https://redirect.github.com/mgechev/revive/issues/1258)) - [`39ae683`](https://redirect.github.com/mgechev/revive/commit/39ae68321ae71bb406f479ce9bdc72a19a12b298) fix(deps): update module golang.org/x/tools to v0.31.0 ([#​1261](https://redirect.github.com/mgechev/revive/issues/1261)) - [`b77bb1a`](https://redirect.github.com/mgechev/revive/commit/b77bb1a9db854c8b62e9fdb3a3f433cd6516d21e) fix: cognitive complexity nesting with if-else chains ([#​1268](https://redirect.github.com/mgechev/revive/issues/1268)) - [`67d0a61`](https://redirect.github.com/mgechev/revive/commit/67d0a61a1b01b6cd0eaf9f625a95a3181b19bc05) fix: error-strings custom funcs overwrites defaults ([#​1249](https://redirect.github.com/mgechev/revive/issues/1249)) - [`77f4474`](https://redirect.github.com/mgechev/revive/commit/77f4474caba76e670478a6281c53169e8f3daae5) refactor: `string-format` implements ConfigurableRule ([#​1251](https://redirect.github.com/mgechev/revive/issues/1251)) - [`43a44af`](https://redirect.github.com/mgechev/revive/commit/43a44af30f831a579fe0990aa8ebba3075aa0a50) refactor: apply suggestions from gopls modernize ([#​1282](https://redirect.github.com/mgechev/revive/issues/1282)) - [`9919e6b`](https://redirect.github.com/mgechev/revive/commit/9919e6bbe05a15153a9a9300616528286bb0e547) refactor: replace IsAtLeastGo1\* functions by IsAtLeastGoVersion ([#​1274](https://redirect.github.com/mgechev/revive/issues/1274)) - [`b04d5a7`](https://redirect.github.com/mgechev/revive/commit/b04d5a71b69a7199209ebee982684b62f2714d8a) refactor: return error instead of panic ([#​1252](https://redirect.github.com/mgechev/revive/issues/1252)) - [`6d0498c`](https://redirect.github.com/mgechev/revive/commit/6d0498cb977cdd0e862b864827d10ae113e13dd8) refactor: simplify File.disabledIntervals, add tests ([#​1216](https://redirect.github.com/mgechev/revive/issues/1216)) - [`9f5f957`](https://redirect.github.com/mgechev/revive/commit/9f5f957b33e3c39ce6944c3bfbb02caea179e43b) rule: allow lowercased and kebab-cased options ([#​1272](https://redirect.github.com/mgechev/revive/issues/1272))
--- ### 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](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/open-telemetry/opentelemetry-go). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- internal/tools/go.mod | 2 +- internal/tools/go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/tools/go.mod b/internal/tools/go.mod index e72520cbb..02d8914f3 100644 --- a/internal/tools/go.mod +++ b/internal/tools/go.mod @@ -137,7 +137,7 @@ require ( github.com/mattn/go-colorable v0.1.14 // indirect github.com/mattn/go-isatty v0.0.20 // indirect github.com/mattn/go-runewidth v0.0.16 // indirect - github.com/mgechev/revive v1.7.0 // indirect + github.com/mgechev/revive v1.8.0 // indirect github.com/mitchellh/go-homedir v1.1.0 // indirect github.com/moricho/tparallel v0.3.2 // indirect github.com/muesli/termenv v0.16.0 // indirect diff --git a/internal/tools/go.sum b/internal/tools/go.sum index f84a0f8ff..06cf9418e 100644 --- a/internal/tools/go.sum +++ b/internal/tools/go.sum @@ -312,8 +312,8 @@ github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D github.com/mattn/go-runewidth v0.0.9/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI= github.com/mattn/go-runewidth v0.0.16 h1:E5ScNMtiwvlvB5paMFdw9p4kSQzbXFikJ5SQO6TULQc= github.com/mattn/go-runewidth v0.0.16/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w= -github.com/mgechev/revive v1.7.0 h1:JyeQ4yO5K8aZhIKf5rec56u0376h8AlKNQEmjfkjKlY= -github.com/mgechev/revive v1.7.0/go.mod h1:qZnwcNhoguE58dfi96IJeSTPeZQejNeoMQLUZGi4SW4= +github.com/mgechev/revive v1.8.0 h1:GRtZfbR+USnEs9kiTgokw0LKEQfPPM3EJpu/88IcXl4= +github.com/mgechev/revive v1.8.0/go.mod h1:AEte1jB8fAHGObV1BshB7WSfp3x/WZwAu/xNiClBK2Y= github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y= github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= github.com/moricho/tparallel v0.3.2 h1:odr8aZVFA3NZrNybggMkYO3rgPRcqjeQUlBBFVxKHTI=