From 9f2bf38eb93d1e24d09cbc4998cd2dda44a37f2a Mon Sep 17 00:00:00 2001 From: Alec Thomas Date: Sat, 2 Dec 2023 07:33:12 +1100 Subject: [PATCH 01/14] Add renovate --- .travis.yml | 14 -------------- renovate.json5 | 11 +++++++++++ 2 files changed, 11 insertions(+), 14 deletions(-) delete mode 100644 .travis.yml create mode 100644 renovate.json5 diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 9c45bac..0000000 --- a/.travis.yml +++ /dev/null @@ -1,14 +0,0 @@ -sudo: false -language: go -install: go get -t -v ./... -go: - - 1.2.x - - 1.3.x - - 1.4.x - - 1.5.x - - 1.6.x - - 1.7.x - - 1.8.x - - 1.9.x - - 1.10.x - - 1.11.x diff --git a/renovate.json5 b/renovate.json5 new file mode 100644 index 0000000..897864b --- /dev/null +++ b/renovate.json5 @@ -0,0 +1,11 @@ +{ + $schema: "https://docs.renovatebot.com/renovate-schema.json", + extends: [ + "config:recommended", + ":semanticCommits", + ":semanticCommitTypeAll(chore)", + ":semanticCommitScope(deps)", + "group:allNonMajor", + "schedule:earlyMondays", // Run once a week. + ], +} From cb376b7b3f521da6839f83b556da4737a7f7e568 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 11 Dec 2023 14:37:11 +1100 Subject: [PATCH 02/14] chore(deps): update all non-major dependencies (#344) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github.com/alecthomas/kingpin/v2](https://togithub.com/alecthomas/kingpin) | require | minor | `v2.0.0-00010101000000-000000000000` -> `v2.4.0` | | [github.com/stretchr/testify](https://togithub.com/stretchr/testify) | require | patch | `v1.8.2` -> `v1.8.4` | | [go](https://togithub.com/golang/go) | | minor | `1.19.5` -> `1.21.5` | --- ### Release Notes
alecthomas/kingpin (github.com/alecthomas/kingpin/v2) ### [`v2.4.0`](https://togithub.com/alecthomas/kingpin/compare/v2.3.2...v2.4.0) [Compare Source](https://togithub.com/alecthomas/kingpin/compare/v2.3.2...v2.4.0) ### [`v2.3.2`](https://togithub.com/alecthomas/kingpin/compare/v2.3.1...v2.3.2) [Compare Source](https://togithub.com/alecthomas/kingpin/compare/v2.3.1...v2.3.2) ### [`v2.3.1`](https://togithub.com/alecthomas/kingpin/compare/v2.3.0...v2.3.1) [Compare Source](https://togithub.com/alecthomas/kingpin/compare/v2.3.0...v2.3.1) ### [`v2.3.0`](https://togithub.com/alecthomas/kingpin/compare/v2.2.6...v2.3.0) [Compare Source](https://togithub.com/alecthomas/kingpin/compare/v2.2.6...v2.3.0) ### [`v2.2.6`](https://togithub.com/alecthomas/kingpin/compare/v2.2.5...v2.2.6) [Compare Source](https://togithub.com/alecthomas/kingpin/compare/v2.2.5...v2.2.6) ### [`v2.2.5`](https://togithub.com/alecthomas/kingpin/compare/v2.2.4...v2.2.5) [Compare Source](https://togithub.com/alecthomas/kingpin/compare/v2.2.4...v2.2.5) ### [`v2.2.4`](https://togithub.com/alecthomas/kingpin/compare/v2.2.3...v2.2.4) [Compare Source](https://togithub.com/alecthomas/kingpin/compare/v2.2.3...v2.2.4) ### [`v2.2.3`](https://togithub.com/alecthomas/kingpin/compare/v2.2.2...v2.2.3) [Compare Source](https://togithub.com/alecthomas/kingpin/compare/v2.2.2...v2.2.3) ### [`v2.2.2`](https://togithub.com/alecthomas/kingpin/compare/v2.2.1...v2.2.2) [Compare Source](https://togithub.com/alecthomas/kingpin/compare/v2.2.1...v2.2.2) ### [`v2.2.1`](https://togithub.com/alecthomas/kingpin/compare/v2.2.0...v2.2.1) [Compare Source](https://togithub.com/alecthomas/kingpin/compare/v2.2.0...v2.2.1) ### [`v2.2.0`](https://togithub.com/alecthomas/kingpin/compare/v2.1.11...v2.2.0) [Compare Source](https://togithub.com/alecthomas/kingpin/compare/v2.1.11...v2.2.0) ### [`v2.1.11`](https://togithub.com/alecthomas/kingpin/compare/v2.1.10...v2.1.11) [Compare Source](https://togithub.com/alecthomas/kingpin/compare/v2.1.10...v2.1.11) ### [`v2.1.10`](https://togithub.com/alecthomas/kingpin/compare/v2.1.9...v2.1.10) [Compare Source](https://togithub.com/alecthomas/kingpin/compare/v2.1.9...v2.1.10) ### [`v2.1.9`](https://togithub.com/alecthomas/kingpin/compare/v2.1.8...v2.1.9) [Compare Source](https://togithub.com/alecthomas/kingpin/compare/v2.1.8...v2.1.9) ### [`v2.1.8`](https://togithub.com/alecthomas/kingpin/compare/v2.1.7...v2.1.8) [Compare Source](https://togithub.com/alecthomas/kingpin/compare/v2.1.7...v2.1.8) ### [`v2.1.7`](https://togithub.com/alecthomas/kingpin/compare/v2.1.6...v2.1.7) [Compare Source](https://togithub.com/alecthomas/kingpin/compare/v2.1.6...v2.1.7) ### [`v2.1.6`](https://togithub.com/alecthomas/kingpin/compare/v2.1.5...v2.1.6) [Compare Source](https://togithub.com/alecthomas/kingpin/compare/v2.1.5...v2.1.6) ### [`v2.1.5`](https://togithub.com/alecthomas/kingpin/compare/v2.1.4...v2.1.5) [Compare Source](https://togithub.com/alecthomas/kingpin/compare/v2.1.4...v2.1.5) ### [`v2.1.4`](https://togithub.com/alecthomas/kingpin/compare/v2.1.3...v2.1.4) [Compare Source](https://togithub.com/alecthomas/kingpin/compare/v2.1.3...v2.1.4) ### [`v2.1.3`](https://togithub.com/alecthomas/kingpin/compare/v2.1.2...v2.1.3) [Compare Source](https://togithub.com/alecthomas/kingpin/compare/v2.1.2...v2.1.3) ### [`v2.1.2`](https://togithub.com/alecthomas/kingpin/compare/v2.1.1...v2.1.2) [Compare Source](https://togithub.com/alecthomas/kingpin/compare/v2.1.1...v2.1.2) ### [`v2.1.1`](https://togithub.com/alecthomas/kingpin/compare/v2.1.0...v2.1.1) [Compare Source](https://togithub.com/alecthomas/kingpin/compare/v2.1.0...v2.1.1) ### [`v2.1.0`](https://togithub.com/alecthomas/kingpin/compare/v2.0.16...v2.1.0) [Compare Source](https://togithub.com/alecthomas/kingpin/compare/v2.0.16...v2.1.0) ### [`v2.0.16`](https://togithub.com/alecthomas/kingpin/compare/v2.0.15...v2.0.16) [Compare Source](https://togithub.com/alecthomas/kingpin/compare/v2.0.15...v2.0.16) ### [`v2.0.15`](https://togithub.com/alecthomas/kingpin/compare/v2.0.14...v2.0.15) [Compare Source](https://togithub.com/alecthomas/kingpin/compare/v2.0.14...v2.0.15) ### [`v2.0.14`](https://togithub.com/alecthomas/kingpin/compare/v2.0.13...v2.0.14) [Compare Source](https://togithub.com/alecthomas/kingpin/compare/v2.0.13...v2.0.14) ### [`v2.0.13`](https://togithub.com/alecthomas/kingpin/compare/v2.0.12...v2.0.13) [Compare Source](https://togithub.com/alecthomas/kingpin/compare/v2.0.12...v2.0.13) ### [`v2.0.12`](https://togithub.com/alecthomas/kingpin/compare/v2.0.11...v2.0.12) [Compare Source](https://togithub.com/alecthomas/kingpin/compare/v2.0.11...v2.0.12) ### [`v2.0.11`](https://togithub.com/alecthomas/kingpin/compare/v2.0.10...v2.0.11) [Compare Source](https://togithub.com/alecthomas/kingpin/compare/v2.0.10...v2.0.11) ### [`v2.0.10`](https://togithub.com/alecthomas/kingpin/compare/v2.0.9...v2.0.10) [Compare Source](https://togithub.com/alecthomas/kingpin/compare/v2.0.9...v2.0.10) ### [`v2.0.9`](https://togithub.com/alecthomas/kingpin/compare/v2.0.8...v2.0.9) [Compare Source](https://togithub.com/alecthomas/kingpin/compare/v2.0.8...v2.0.9) ### [`v2.0.8`](https://togithub.com/alecthomas/kingpin/compare/v2.0.7...v2.0.8) [Compare Source](https://togithub.com/alecthomas/kingpin/compare/v2.0.7...v2.0.8) ### [`v2.0.7`](https://togithub.com/alecthomas/kingpin/compare/v2.0.6...v2.0.7) [Compare Source](https://togithub.com/alecthomas/kingpin/compare/v2.0.6...v2.0.7) ### [`v2.0.6`](https://togithub.com/alecthomas/kingpin/compare/v2.0.5...v2.0.6) [Compare Source](https://togithub.com/alecthomas/kingpin/compare/v2.0.5...v2.0.6) ### [`v2.0.5`](https://togithub.com/alecthomas/kingpin/compare/v2.0.4...v2.0.5) [Compare Source](https://togithub.com/alecthomas/kingpin/compare/v2.0.4...v2.0.5) ### [`v2.0.4`](https://togithub.com/alecthomas/kingpin/compare/v2.0.3...v2.0.4) [Compare Source](https://togithub.com/alecthomas/kingpin/compare/v2.0.3...v2.0.4) ### [`v2.0.3`](https://togithub.com/alecthomas/kingpin/compare/v2.0.2...v2.0.3) [Compare Source](https://togithub.com/alecthomas/kingpin/compare/v2.0.2...v2.0.3) ### [`v2.0.2`](https://togithub.com/alecthomas/kingpin/compare/v2.0.1...v2.0.2) [Compare Source](https://togithub.com/alecthomas/kingpin/compare/v2.0.1...v2.0.2) ### [`v2.0.1`](https://togithub.com/alecthomas/kingpin/compare/v2.0.0...v2.0.1) [Compare Source](https://togithub.com/alecthomas/kingpin/compare/v2.0.0...v2.0.1)
stretchr/testify (github.com/stretchr/testify) ### [`v1.8.4`](https://togithub.com/stretchr/testify/compare/v1.8.3...v1.8.4) [Compare Source](https://togithub.com/stretchr/testify/compare/v1.8.3...v1.8.4) ### [`v1.8.3`](https://togithub.com/stretchr/testify/compare/v1.8.2...v1.8.3) [Compare Source](https://togithub.com/stretchr/testify/compare/v1.8.2...v1.8.3)
golang/go (go) ### [`v1.21.5`](https://togithub.com/golang/go/compare/go1.21.4...go1.21.5) ### [`v1.21.4`](https://togithub.com/golang/go/compare/go1.21.3...go1.21.4) ### [`v1.21.3`](https://togithub.com/golang/go/compare/go1.21.2...go1.21.3) ### [`v1.21.2`](https://togithub.com/golang/go/compare/go1.21.1...go1.21.2) ### [`v1.21.1`](https://togithub.com/golang/go/compare/go1.21.0...go1.21.1) ### [`v1.21.0`](https://togithub.com/golang/go/compare/go1.20.11...go1.21.0) ### [`v1.20.11`](https://togithub.com/golang/go/compare/go1.20.10...go1.20.11) ### [`v1.20.10`](https://togithub.com/golang/go/compare/go1.20.9...go1.20.10) ### [`v1.20.9`](https://togithub.com/golang/go/compare/go1.20.8...go1.20.9) ### [`v1.20.8`](https://togithub.com/golang/go/compare/go1.20.7...go1.20.8) ### [`v1.20.7`](https://togithub.com/golang/go/compare/go1.20.6...go1.20.7) ### [`v1.20.6`](https://togithub.com/golang/go/compare/go1.20.5...go1.20.6) ### [`v1.20.5`](https://togithub.com/golang/go/compare/go1.20.4...go1.20.5) ### [`v1.20.4`](https://togithub.com/golang/go/compare/go1.20.3...go1.20.4) ### [`v1.20.3`](https://togithub.com/golang/go/compare/go1.20.2...go1.20.3) ### [`v1.20.2`](https://togithub.com/golang/go/compare/go1.20.1...go1.20.2) ### [`v1.20.1`](https://togithub.com/golang/go/compare/go1.20...go1.20.1) ### [`v1.20`](https://togithub.com/golang/go/compare/go1.19.13...go1.20) ### [`v1.19.13`](https://togithub.com/golang/go/compare/go1.19.12...go1.19.13) ### [`v1.19.12`](https://togithub.com/golang/go/compare/go1.19.11...go1.19.12) ### [`v1.19.11`](https://togithub.com/golang/go/compare/go1.19.10...go1.19.11) ### [`v1.19.10`](https://togithub.com/golang/go/compare/go1.19.9...go1.19.10) ### [`v1.19.9`](https://togithub.com/golang/go/compare/go1.19.8...go1.19.9) ### [`v1.19.8`](https://togithub.com/golang/go/compare/go1.19.7...go1.19.8) ### [`v1.19.7`](https://togithub.com/golang/go/compare/go1.19.6...go1.19.7) ### [`v1.19.6`](https://togithub.com/golang/go/compare/go1.19.5...go1.19.6)
--- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC), 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. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/alecthomas/kingpin). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- _examples/go.mod | 5 +++-- _examples/go.sum | 9 +++++++++ bin/{.go-1.19.5.pkg => .go-1.21.5.pkg} | 0 bin/go | 2 +- bin/gofmt | 2 +- go.mod | 2 +- go.sum | 2 ++ 7 files changed, 17 insertions(+), 5 deletions(-) rename bin/{.go-1.19.5.pkg => .go-1.21.5.pkg} (100%) diff --git a/_examples/go.mod b/_examples/go.mod index 6a44b11..b191f58 100644 --- a/_examples/go.mod +++ b/_examples/go.mod @@ -4,9 +4,10 @@ go 1.19 replace github.com/alecthomas/kingpin/v2 => ../ -require github.com/alecthomas/kingpin/v2 v2.0.0-00010101000000-000000000000 +require github.com/alecthomas/kingpin/v2 v2.4.0 require ( - github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf // indirect + github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137 // indirect github.com/xhit/go-str2duration v1.2.0 // indirect + github.com/xhit/go-str2duration/v2 v2.1.0 // indirect ) diff --git a/_examples/go.sum b/_examples/go.sum index 55d90be..3b3cdc8 100644 --- a/_examples/go.sum +++ b/_examples/go.sum @@ -1,10 +1,19 @@ github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf h1:qet1QNfXsQxTZqLG4oE62mJzwPIB8+Tee4RNCL9ulrY= github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= +github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137 h1:s6gZFSlWYmbqAuRjVTiNNhvNRfY2Wxp9nhfyel4rklc= +github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137/go.mod h1:OMCwj8VM1Kc9e19TLln2VL61YJF0x1XFtfdL4JdbSyE= +github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/testify v1.2.2 h1:bSDNvY7ZPG5RlJ8otE/7V6gMiyenm9RtJ7IUVIAoJ1w= github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= +github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= github.com/xhit/go-str2duration v1.2.0 h1:BcV5u025cITWxEQKGWr1URRzrcXtu7uk8+luz3Yuhwc= github.com/xhit/go-str2duration v1.2.0/go.mod h1:3cPSlfZlUHVlneIVfePFWcJZsuwf+P1v2SRTV4cUmp4= +github.com/xhit/go-str2duration/v2 v2.1.0 h1:lxklc02Drh6ynqX+DdPyp5pCKLUQpRT8bp8Ydu2Bstc= +github.com/xhit/go-str2duration/v2 v2.1.0/go.mod h1:ohY8p+0f07DiV6Em5LKB0s2YpLtXVyJfNt1+BlmyAsU= +gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/bin/.go-1.19.5.pkg b/bin/.go-1.21.5.pkg similarity index 100% rename from bin/.go-1.19.5.pkg rename to bin/.go-1.21.5.pkg diff --git a/bin/go b/bin/go index 349b053..7da5509 120000 --- a/bin/go +++ b/bin/go @@ -1 +1 @@ -.go-1.19.5.pkg \ No newline at end of file +.go-1.21.5.pkg \ No newline at end of file diff --git a/bin/gofmt b/bin/gofmt index 349b053..7da5509 120000 --- a/bin/gofmt +++ b/bin/gofmt @@ -1 +1 @@ -.go-1.19.5.pkg \ No newline at end of file +.go-1.21.5.pkg \ No newline at end of file diff --git a/go.mod b/go.mod index e3e0e0e..cf5f813 100644 --- a/go.mod +++ b/go.mod @@ -2,7 +2,7 @@ module github.com/alecthomas/kingpin/v2 require ( github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137 - github.com/stretchr/testify v1.8.2 + github.com/stretchr/testify v1.8.4 github.com/xhit/go-str2duration/v2 v2.1.0 ) diff --git a/go.sum b/go.sum index 04378f7..e74c005 100644 --- a/go.sum +++ b/go.sum @@ -13,6 +13,8 @@ github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/ github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= github.com/stretchr/testify v1.8.2 h1:+h33VjcLVPDHtOdpUCuF+7gSuG3yGIftsP1YvFihtJ8= github.com/stretchr/testify v1.8.2/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= +github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= +github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= github.com/xhit/go-str2duration/v2 v2.1.0 h1:lxklc02Drh6ynqX+DdPyp5pCKLUQpRT8bp8Ydu2Bstc= github.com/xhit/go-str2duration/v2 v2.1.0/go.mod h1:ohY8p+0f07DiV6Em5LKB0s2YpLtXVyJfNt1+BlmyAsU= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= From 28b6b314438056929f25809991f15a43bf2dce2b Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 11 Dec 2023 14:38:24 +1100 Subject: [PATCH 03/14] chore(deps): update github.com/alecthomas/units digest to 9a357b5 (#343) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github.com/alecthomas/units](https://togithub.com/alecthomas/units) | require | digest | `b94a6e3` -> `9a357b5` | --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC), 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. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/alecthomas/kingpin). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- go.mod | 2 +- go.sum | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/go.mod b/go.mod index cf5f813..fa4af41 100644 --- a/go.mod +++ b/go.mod @@ -1,7 +1,7 @@ module github.com/alecthomas/kingpin/v2 require ( - github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137 + github.com/alecthomas/units v0.0.0-20231202071711-9a357b53e9c9 github.com/stretchr/testify v1.8.4 github.com/xhit/go-str2duration/v2 v2.1.0 ) diff --git a/go.sum b/go.sum index e74c005..77abbed 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,7 @@ github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137 h1:s6gZFSlWYmbqAuRjVTiNNhvNRfY2Wxp9nhfyel4rklc= github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137/go.mod h1:OMCwj8VM1Kc9e19TLln2VL61YJF0x1XFtfdL4JdbSyE= +github.com/alecthomas/units v0.0.0-20231202071711-9a357b53e9c9 h1:ez/4by2iGztzR4L0zgAOR8lTQK9VlyBVVd7G4omaOQs= +github.com/alecthomas/units v0.0.0-20231202071711-9a357b53e9c9/go.mod h1:OMCwj8VM1Kc9e19TLln2VL61YJF0x1XFtfdL4JdbSyE= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= From c5bf43bba07298cbc9ad81eba56ac10f4d2389bf Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 11 Dec 2023 14:42:05 +1100 Subject: [PATCH 04/14] chore(deps): update actions/checkout action to v4 (#345) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/checkout](https://togithub.com/actions/checkout) | action | major | `v3` -> `v4` | --- ### Release Notes
actions/checkout (actions/checkout) ### [`v4`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v400) [Compare Source](https://togithub.com/actions/checkout/compare/v3...v4) - [Support fetching without the --progress option](https://togithub.com/actions/checkout/pull/1067) - [Update to node20](https://togithub.com/actions/checkout/pull/1436)
--- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC), 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. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/alecthomas/kingpin). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2912968..22bb4f4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Init Hermit run: ./bin/hermit env -r >> $GITHUB_ENV - name: Test From 81b6d825bea93660181d7aec552ec9a531fd41d4 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 15 Jan 2024 14:48:11 +1100 Subject: [PATCH 05/14] chore(deps): update dependency go to v1.21.6 (#347) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [go](https://togithub.com/golang/go) | patch | `1.21.5` -> `1.21.6` | --- ### Release Notes
golang/go (go) ### [`v1.21.6`](https://togithub.com/golang/go/compare/go1.21.5...go1.21.6)
--- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC), 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. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/alecthomas/kingpin). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- bin/{.go-1.21.5.pkg => .go-1.21.6.pkg} | 0 bin/go | 2 +- bin/gofmt | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename bin/{.go-1.21.5.pkg => .go-1.21.6.pkg} (100%) diff --git a/bin/.go-1.21.5.pkg b/bin/.go-1.21.6.pkg similarity index 100% rename from bin/.go-1.21.5.pkg rename to bin/.go-1.21.6.pkg diff --git a/bin/go b/bin/go index 7da5509..e93cdb3 120000 --- a/bin/go +++ b/bin/go @@ -1 +1 @@ -.go-1.21.5.pkg \ No newline at end of file +.go-1.21.6.pkg \ No newline at end of file diff --git a/bin/gofmt b/bin/gofmt index 7da5509..e93cdb3 120000 --- a/bin/gofmt +++ b/bin/gofmt @@ -1 +1 @@ -.go-1.21.5.pkg \ No newline at end of file +.go-1.21.6.pkg \ No newline at end of file From 141b40d9004d4ce791c385479e168c4143b0499c Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 13 Feb 2024 09:46:42 +1100 Subject: [PATCH 06/14] chore(deps): update dependency go to v1.22.0 (#348) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [go](https://togithub.com/golang/go) | minor | `1.21.6` -> `1.22.0` | --- ### Release Notes
golang/go (go) ### [`v1.22.0`](https://togithub.com/golang/go/compare/go1.21.7...go1.22rc1)
--- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC), 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. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/alecthomas/kingpin). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- bin/{.go-1.21.6.pkg => .go-1.22.0.pkg} | 0 bin/go | 2 +- bin/gofmt | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename bin/{.go-1.21.6.pkg => .go-1.22.0.pkg} (100%) diff --git a/bin/.go-1.21.6.pkg b/bin/.go-1.22.0.pkg similarity index 100% rename from bin/.go-1.21.6.pkg rename to bin/.go-1.22.0.pkg diff --git a/bin/go b/bin/go index e93cdb3..9286b4b 120000 --- a/bin/go +++ b/bin/go @@ -1 +1 @@ -.go-1.21.6.pkg \ No newline at end of file +.go-1.22.0.pkg \ No newline at end of file diff --git a/bin/gofmt b/bin/gofmt index e93cdb3..9286b4b 120000 --- a/bin/gofmt +++ b/bin/gofmt @@ -1 +1 @@ -.go-1.21.6.pkg \ No newline at end of file +.go-1.22.0.pkg \ No newline at end of file From b4727a107522df058e74cad26f621164c1c6c987 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 4 Apr 2024 17:21:45 +1100 Subject: [PATCH 07/14] chore(deps): update all non-major dependencies (#349) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | Type | Update | |---|---|---|---|---|---|---|---| | [github.com/stretchr/testify](https://togithub.com/stretchr/testify) | `v1.8.4` -> `v1.9.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fstretchr%2ftestify/v1.9.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fstretchr%2ftestify/v1.9.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fstretchr%2ftestify/v1.8.4/v1.9.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fstretchr%2ftestify/v1.8.4/v1.9.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | require | minor | | [go](https://togithub.com/golang/go) | `1.22.0` -> `1.22.2` | [![age](https://developer.mend.io/api/mc/badges/age/hermit/go/1.22.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/hermit/go/1.22.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/hermit/go/1.22.0/1.22.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/hermit/go/1.22.0/1.22.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | patch | --- ### Release Notes
stretchr/testify (github.com/stretchr/testify) ### [`v1.9.0`](https://togithub.com/stretchr/testify/releases/tag/v1.9.0) [Compare Source](https://togithub.com/stretchr/testify/compare/v1.8.4...v1.9.0) #### What's Changed - Fix Go modules version by [@​SuperQ](https://togithub.com/SuperQ) in [https://github.com/stretchr/testify/pull/1394](https://togithub.com/stretchr/testify/pull/1394) - Document that require is not safe to call in created goroutines by [@​programmer04](https://togithub.com/programmer04) in [https://github.com/stretchr/testify/pull/1392](https://togithub.com/stretchr/testify/pull/1392) - Remove myself from MAINTAINERS.md by [@​mvdkleijn](https://togithub.com/mvdkleijn) in [https://github.com/stretchr/testify/pull/1367](https://togithub.com/stretchr/testify/pull/1367) - Correct spelling/grammar by [@​echarrod](https://togithub.com/echarrod) in [https://github.com/stretchr/testify/pull/1389](https://togithub.com/stretchr/testify/pull/1389) - docs: Update URLs in README by [@​davidjb](https://togithub.com/davidjb) in [https://github.com/stretchr/testify/pull/1349](https://togithub.com/stretchr/testify/pull/1349) - Update mockery link to Github Pages in README by [@​LandonTClipp](https://togithub.com/LandonTClipp) in [https://github.com/stretchr/testify/pull/1346](https://togithub.com/stretchr/testify/pull/1346) - docs: Fix typos in tests and comments by [@​alexandear](https://togithub.com/alexandear) in [https://github.com/stretchr/testify/pull/1410](https://togithub.com/stretchr/testify/pull/1410) - CI: tests from go1.17 by [@​SuperQ](https://togithub.com/SuperQ) in [https://github.com/stretchr/testify/pull/1409](https://togithub.com/stretchr/testify/pull/1409) - Fix adding ? when no values passed by [@​lesichkovm](https://togithub.com/lesichkovm) in [https://github.com/stretchr/testify/pull/1320](https://togithub.com/stretchr/testify/pull/1320) - codegen: use standard header for generated files by [@​dolmen](https://togithub.com/dolmen) in [https://github.com/stretchr/testify/pull/1406](https://togithub.com/stretchr/testify/pull/1406) - mock: AssertExpectations log reason only on failure by [@​hikyaru-suzuki](https://togithub.com/hikyaru-suzuki) in [https://github.com/stretchr/testify/pull/1360](https://togithub.com/stretchr/testify/pull/1360) - assert: fix flaky TestNeverTrue by [@​dolmen](https://togithub.com/dolmen) in [https://github.com/stretchr/testify/pull/1417](https://togithub.com/stretchr/testify/pull/1417) - README: fix typos "set up" vs "setup" by [@​ossan-dev](https://togithub.com/ossan-dev) in [https://github.com/stretchr/testify/pull/1428](https://togithub.com/stretchr/testify/pull/1428) - mock: move regexp compilation outside of `Called` by [@​aud10slave](https://togithub.com/aud10slave) in [https://github.com/stretchr/testify/pull/631](https://togithub.com/stretchr/testify/pull/631) - assert: refactor internal func getLen() by [@​dolmen](https://togithub.com/dolmen) in [https://github.com/stretchr/testify/pull/1445](https://togithub.com/stretchr/testify/pull/1445) - mock: deprecate type AnythingOfTypeArgument ([#​1434](https://togithub.com/stretchr/testify/issues/1434)) by [@​dolmen](https://togithub.com/dolmen) in [https://github.com/stretchr/testify/pull/1441](https://togithub.com/stretchr/testify/pull/1441) - Remove no longer needed assert.canConvert by [@​alexandear](https://togithub.com/alexandear) in [https://github.com/stretchr/testify/pull/1470](https://togithub.com/stretchr/testify/pull/1470) - assert: ObjectsAreEqual: use time.Equal for time.Time types by [@​tscales](https://togithub.com/tscales) in [https://github.com/stretchr/testify/pull/1464](https://togithub.com/stretchr/testify/pull/1464) - Bump actions/checkout from 3 to 4 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/stretchr/testify/pull/1466](https://togithub.com/stretchr/testify/pull/1466) - Bump actions/setup-go from 3.2.0 to 4.1.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/stretchr/testify/pull/1451](https://togithub.com/stretchr/testify/pull/1451) - fix: make EventuallyWithT concurrency safe by [@​czeslavo](https://togithub.com/czeslavo) in [https://github.com/stretchr/testify/pull/1395](https://togithub.com/stretchr/testify/pull/1395) - assert: fix httpCode and HTTPBody occur panic when http.Handler read Body by [@​hidu](https://togithub.com/hidu) in [https://github.com/stretchr/testify/pull/1484](https://togithub.com/stretchr/testify/pull/1484) - assert.EqualExportedValues: fix handling of arrays by [@​zrbecker](https://togithub.com/zrbecker) in [https://github.com/stretchr/testify/pull/1473](https://togithub.com/stretchr/testify/pull/1473) - .github: use latest Go versions by [@​kevinburkesegment](https://togithub.com/kevinburkesegment) in [https://github.com/stretchr/testify/pull/1489](https://togithub.com/stretchr/testify/pull/1489) - assert: Deprecate EqualExportedValues by [@​HaraldNordgren](https://togithub.com/HaraldNordgren) in [https://github.com/stretchr/testify/pull/1488](https://togithub.com/stretchr/testify/pull/1488) - suite: refactor test assertions by [@​alexandear](https://togithub.com/alexandear) in [https://github.com/stretchr/testify/pull/1474](https://togithub.com/stretchr/testify/pull/1474) - suite: fix SetupSubTest and TearDownSubTest execution order by [@​linusbarth](https://togithub.com/linusbarth) in [https://github.com/stretchr/testify/pull/1471](https://togithub.com/stretchr/testify/pull/1471) - docs: Fix deprecation comments for http package by [@​alexandear](https://togithub.com/alexandear) in [https://github.com/stretchr/testify/pull/1335](https://togithub.com/stretchr/testify/pull/1335) - Add map support doc comments to Subset and NotSubset by [@​jedevc](https://togithub.com/jedevc) in [https://github.com/stretchr/testify/pull/1306](https://togithub.com/stretchr/testify/pull/1306) - TestErrorIs/TestNotErrorIs: check error message contents by [@​craig65535](https://togithub.com/craig65535) in [https://github.com/stretchr/testify/pull/1435](https://togithub.com/stretchr/testify/pull/1435) - suite: fix subtest names (fix [#​1501](https://togithub.com/stretchr/testify/issues/1501)) by [@​dolmen](https://togithub.com/dolmen) in [https://github.com/stretchr/testify/pull/1504](https://togithub.com/stretchr/testify/pull/1504) - assert: improve unsafe.Pointer tests by [@​dolmen](https://togithub.com/dolmen) in [https://github.com/stretchr/testify/pull/1505](https://togithub.com/stretchr/testify/pull/1505) - assert: simplify isNil implementation by [@​dolmen](https://togithub.com/dolmen) in [https://github.com/stretchr/testify/pull/1506](https://togithub.com/stretchr/testify/pull/1506) - assert.InEpsilonSlice: fix expected/actual order and other improvements by [@​dolmen](https://togithub.com/dolmen) in [https://github.com/stretchr/testify/pull/1483](https://togithub.com/stretchr/testify/pull/1483) - Fix dependency cycle with objx [#​1292](https://togithub.com/stretchr/testify/issues/1292) by [@​dolmen](https://togithub.com/dolmen) in [https://github.com/stretchr/testify/pull/1453](https://togithub.com/stretchr/testify/pull/1453) - mock: refactor TestIsArgsEqual by [@​dolmen](https://togithub.com/dolmen) in [https://github.com/stretchr/testify/pull/1444](https://togithub.com/stretchr/testify/pull/1444) - mock: optimize argument matching checks by [@​dolmen](https://togithub.com/dolmen) in [https://github.com/stretchr/testify/pull/1416](https://togithub.com/stretchr/testify/pull/1416) - assert: fix TestEventuallyTimeout by [@​dolmen](https://togithub.com/dolmen) in [https://github.com/stretchr/testify/pull/1412](https://togithub.com/stretchr/testify/pull/1412) - CI: add go 1.21 in GitHub Actions by [@​dolmen](https://togithub.com/dolmen) in [https://github.com/stretchr/testify/pull/1450](https://togithub.com/stretchr/testify/pull/1450) - suite: fix recoverAndFailOnPanic to report test failure at the right location by [@​dolmen](https://togithub.com/dolmen) in [https://github.com/stretchr/testify/pull/1502](https://togithub.com/stretchr/testify/pull/1502) - Update maintainers by [@​brackendawson](https://togithub.com/brackendawson) in [https://github.com/stretchr/testify/pull/1533](https://togithub.com/stretchr/testify/pull/1533) - assert: Fix EqualValues to handle overflow/underflow by [@​arjunmahishi](https://togithub.com/arjunmahishi) in [https://github.com/stretchr/testify/pull/1531](https://togithub.com/stretchr/testify/pull/1531) - assert: better formatting for Len() error by [@​kevinburkesegment](https://togithub.com/kevinburkesegment) in [https://github.com/stretchr/testify/pull/1485](https://togithub.com/stretchr/testify/pull/1485) - Ensure AssertExpectations does not fail in skipped tests by [@​ianrose14](https://togithub.com/ianrose14) in [https://github.com/stretchr/testify/pull/1331](https://togithub.com/stretchr/testify/pull/1331) - suite: fix deadlock in suite.Require()/Assert() by [@​arjunmahishi](https://togithub.com/arjunmahishi) in [https://github.com/stretchr/testify/pull/1535](https://togithub.com/stretchr/testify/pull/1535) - Revert "assert: ObjectsAreEqual: use time.Equal for time.Time type" by [@​brackendawson](https://togithub.com/brackendawson) in [https://github.com/stretchr/testify/pull/1537](https://togithub.com/stretchr/testify/pull/1537) - \[chore] Add issue templates by [@​arjunmahishi](https://togithub.com/arjunmahishi) in [https://github.com/stretchr/testify/pull/1538](https://togithub.com/stretchr/testify/pull/1538) - Update the build status badge by [@​brackendawson](https://togithub.com/brackendawson) in [https://github.com/stretchr/testify/pull/1540](https://togithub.com/stretchr/testify/pull/1540) - Update Github workflows setup-go to V5 by [@​hendrywiranto](https://togithub.com/hendrywiranto) in [https://github.com/stretchr/testify/pull/1545](https://togithub.com/stretchr/testify/pull/1545) - Support Pointer to Struct in EqualExportedValues by [@​Lucaber](https://togithub.com/Lucaber) in [https://github.com/stretchr/testify/pull/1517](https://togithub.com/stretchr/testify/pull/1517) - README: drop link to gorc by [@​guettli](https://togithub.com/guettli) in [https://github.com/stretchr/testify/pull/1248](https://togithub.com/stretchr/testify/pull/1248) - http_assertions: honour the msgAndArgs provided with each assertion by [@​arjunmahishi](https://togithub.com/arjunmahishi) in [https://github.com/stretchr/testify/pull/1548](https://togithub.com/stretchr/testify/pull/1548) - fix typos in comments and tests by [@​ccoVeille](https://togithub.com/ccoVeille) in [https://github.com/stretchr/testify/pull/1247](https://togithub.com/stretchr/testify/pull/1247) - Include the auto-release notes in releases by [@​brackendawson](https://togithub.com/brackendawson) in [https://github.com/stretchr/testify/pull/1550](https://togithub.com/stretchr/testify/pull/1550) - Add `NotImplements` and variants by [@​hslatman](https://togithub.com/hslatman) in [https://github.com/stretchr/testify/pull/1385](https://togithub.com/stretchr/testify/pull/1385) - Add support to compare uintptr by [@​bogdandrutu](https://togithub.com/bogdandrutu) in [https://github.com/stretchr/testify/pull/1339](https://togithub.com/stretchr/testify/pull/1339) - build(deps): bump github.com/stretchr/objx from 0.5.1 to 0.5.2 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/stretchr/testify/pull/1552](https://togithub.com/stretchr/testify/pull/1552) #### New Contributors - [@​SuperQ](https://togithub.com/SuperQ) made their first contribution in [https://github.com/stretchr/testify/pull/1394](https://togithub.com/stretchr/testify/pull/1394) - [@​programmer04](https://togithub.com/programmer04) made their first contribution in [https://github.com/stretchr/testify/pull/1392](https://togithub.com/stretchr/testify/pull/1392) - [@​echarrod](https://togithub.com/echarrod) made their first contribution in [https://github.com/stretchr/testify/pull/1389](https://togithub.com/stretchr/testify/pull/1389) - [@​davidjb](https://togithub.com/davidjb) made their first contribution in [https://github.com/stretchr/testify/pull/1349](https://togithub.com/stretchr/testify/pull/1349) - [@​LandonTClipp](https://togithub.com/LandonTClipp) made their first contribution in [https://github.com/stretchr/testify/pull/1346](https://togithub.com/stretchr/testify/pull/1346) - [@​alexandear](https://togithub.com/alexandear) made their first contribution in [https://github.com/stretchr/testify/pull/1410](https://togithub.com/stretchr/testify/pull/1410) - [@​lesichkovm](https://togithub.com/lesichkovm) made their first contribution in [https://github.com/stretchr/testify/pull/1320](https://togithub.com/stretchr/testify/pull/1320) - [@​dolmen](https://togithub.com/dolmen) made their first contribution in [https://github.com/stretchr/testify/pull/1406](https://togithub.com/stretchr/testify/pull/1406) - [@​hikyaru-suzuki](https://togithub.com/hikyaru-suzuki) made their first contribution in [https://github.com/stretchr/testify/pull/1360](https://togithub.com/stretchr/testify/pull/1360) - [@​ossan-dev](https://togithub.com/ossan-dev) made their first contribution in [https://github.com/stretchr/testify/pull/1428](https://togithub.com/stretchr/testify/pull/1428) - [@​aud10slave](https://togithub.com/aud10slave) made their first contribution in [https://github.com/stretchr/testify/pull/631](https://togithub.com/stretchr/testify/pull/631) - [@​tscales](https://togithub.com/tscales) made their first contribution in [https://github.com/stretchr/testify/pull/1464](https://togithub.com/stretchr/testify/pull/1464) - [@​czeslavo](https://togithub.com/czeslavo) made their first contribution in [https://github.com/stretchr/testify/pull/1395](https://togithub.com/stretchr/testify/pull/1395) - [@​hidu](https://togithub.com/hidu) made their first contribution in [https://github.com/stretchr/testify/pull/1484](https://togithub.com/stretchr/testify/pull/1484) - [@​zrbecker](https://togithub.com/zrbecker) made their first contribution in [https://github.com/stretchr/testify/pull/1473](https://togithub.com/stretchr/testify/pull/1473) - [@​kevinburkesegment](https://togithub.com/kevinburkesegment) made their first contribution in [https://github.com/stretchr/testify/pull/1489](https://togithub.com/stretchr/testify/pull/1489) - [@​linusbarth](https://togithub.com/linusbarth) made their first contribution in [https://github.com/stretchr/testify/pull/1471](https://togithub.com/stretchr/testify/pull/1471) - [@​jedevc](https://togithub.com/jedevc) made their first contribution in [https://github.com/stretchr/testify/pull/1306](https://togithub.com/stretchr/testify/pull/1306) - [@​craig65535](https://togithub.com/craig65535) made their first contribution in [https://github.com/stretchr/testify/pull/1435](https://togithub.com/stretchr/testify/pull/1435) - [@​arjunmahishi](https://togithub.com/arjunmahishi) made their first contribution in [https://github.com/stretchr/testify/pull/1531](https://togithub.com/stretchr/testify/pull/1531) - [@​ianrose14](https://togithub.com/ianrose14) made their first contribution in [https://github.com/stretchr/testify/pull/1331](https://togithub.com/stretchr/testify/pull/1331) - [@​hendrywiranto](https://togithub.com/hendrywiranto) made their first contribution in [https://github.com/stretchr/testify/pull/1545](https://togithub.com/stretchr/testify/pull/1545) - [@​Lucaber](https://togithub.com/Lucaber) made their first contribution in [https://github.com/stretchr/testify/pull/1517](https://togithub.com/stretchr/testify/pull/1517) - [@​guettli](https://togithub.com/guettli) made their first contribution in [https://github.com/stretchr/testify/pull/1248](https://togithub.com/stretchr/testify/pull/1248) - [@​ccoVeille](https://togithub.com/ccoVeille) made their first contribution in [https://github.com/stretchr/testify/pull/1247](https://togithub.com/stretchr/testify/pull/1247) - [@​hslatman](https://togithub.com/hslatman) made their first contribution in [https://github.com/stretchr/testify/pull/1385](https://togithub.com/stretchr/testify/pull/1385) - [@​bogdandrutu](https://togithub.com/bogdandrutu) made their first contribution in [https://github.com/stretchr/testify/pull/1339](https://togithub.com/stretchr/testify/pull/1339) **Full Changelog**: https://github.com/stretchr/testify/compare/v1.8.4...v1.9.0
golang/go (go) ### [`v1.22.2`](https://togithub.com/golang/go/compare/go1.22.1...go1.22.2) ### [`v1.22.1`](https://togithub.com/golang/go/compare/go1.22.0...go1.22.1)
--- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC), 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. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/alecthomas/kingpin). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- bin/{.go-1.22.0.pkg => .go-1.22.2.pkg} | 0 bin/go | 2 +- bin/gofmt | 2 +- go.mod | 2 +- go.sum | 2 ++ 5 files changed, 5 insertions(+), 3 deletions(-) rename bin/{.go-1.22.0.pkg => .go-1.22.2.pkg} (100%) diff --git a/bin/.go-1.22.0.pkg b/bin/.go-1.22.2.pkg similarity index 100% rename from bin/.go-1.22.0.pkg rename to bin/.go-1.22.2.pkg diff --git a/bin/go b/bin/go index 9286b4b..d9bfd88 120000 --- a/bin/go +++ b/bin/go @@ -1 +1 @@ -.go-1.22.0.pkg \ No newline at end of file +.go-1.22.2.pkg \ No newline at end of file diff --git a/bin/gofmt b/bin/gofmt index 9286b4b..d9bfd88 120000 --- a/bin/gofmt +++ b/bin/gofmt @@ -1 +1 @@ -.go-1.22.0.pkg \ No newline at end of file +.go-1.22.2.pkg \ No newline at end of file diff --git a/go.mod b/go.mod index fa4af41..7c59f78 100644 --- a/go.mod +++ b/go.mod @@ -2,7 +2,7 @@ module github.com/alecthomas/kingpin/v2 require ( github.com/alecthomas/units v0.0.0-20231202071711-9a357b53e9c9 - github.com/stretchr/testify v1.8.4 + github.com/stretchr/testify v1.9.0 github.com/xhit/go-str2duration/v2 v2.1.0 ) diff --git a/go.sum b/go.sum index 77abbed..bd150c3 100644 --- a/go.sum +++ b/go.sum @@ -17,6 +17,8 @@ github.com/stretchr/testify v1.8.2 h1:+h33VjcLVPDHtOdpUCuF+7gSuG3yGIftsP1YvFihtJ github.com/stretchr/testify v1.8.2/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= +github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= +github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= github.com/xhit/go-str2duration/v2 v2.1.0 h1:lxklc02Drh6ynqX+DdPyp5pCKLUQpRT8bp8Ydu2Bstc= github.com/xhit/go-str2duration/v2 v2.1.0/go.mod h1:ohY8p+0f07DiV6Em5LKB0s2YpLtXVyJfNt1+BlmyAsU= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= From 00ec4651f25eda952bad08b6a2c7d2a88b18f917 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 14 May 2024 21:45:18 +1000 Subject: [PATCH 08/14] chore(deps): update dependency go to v1.22.3 (#350) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [go](https://togithub.com/golang/go) | patch | `1.22.2` -> `1.22.3` | --- ### Release Notes
golang/go (go) ### [`v1.22.3`](https://togithub.com/golang/go/compare/go1.22.2...go1.22.3)
--- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC), 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. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/alecthomas/kingpin). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- bin/{.go-1.22.2.pkg => .go-1.22.3.pkg} | 0 bin/go | 2 +- bin/gofmt | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename bin/{.go-1.22.2.pkg => .go-1.22.3.pkg} (100%) diff --git a/bin/.go-1.22.2.pkg b/bin/.go-1.22.3.pkg similarity index 100% rename from bin/.go-1.22.2.pkg rename to bin/.go-1.22.3.pkg diff --git a/bin/go b/bin/go index d9bfd88..764d174 120000 --- a/bin/go +++ b/bin/go @@ -1 +1 @@ -.go-1.22.2.pkg \ No newline at end of file +.go-1.22.3.pkg \ No newline at end of file diff --git a/bin/gofmt b/bin/gofmt index d9bfd88..764d174 120000 --- a/bin/gofmt +++ b/bin/gofmt @@ -1 +1 @@ -.go-1.22.2.pkg \ No newline at end of file +.go-1.22.3.pkg \ No newline at end of file From 9a4cdc8b7a2a8b5418050ee807b6414f7e31c5e4 Mon Sep 17 00:00:00 2001 From: Luca Comellini Date: Tue, 16 Jul 2024 21:44:33 -0700 Subject: [PATCH 09/14] Bump github.com/alecthomas/units (#353) --- go.mod | 6 +++--- go.sum | 12 +++--------- 2 files changed, 6 insertions(+), 12 deletions(-) diff --git a/go.mod b/go.mod index 7c59f78..bef9c21 100644 --- a/go.mod +++ b/go.mod @@ -1,7 +1,9 @@ module github.com/alecthomas/kingpin/v2 +go 1.17 + require ( - github.com/alecthomas/units v0.0.0-20231202071711-9a357b53e9c9 + github.com/alecthomas/units v0.0.0-20240626203959-61d1e3462e30 github.com/stretchr/testify v1.9.0 github.com/xhit/go-str2duration/v2 v2.1.0 ) @@ -11,5 +13,3 @@ require ( github.com/pmezard/go-difflib v1.0.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect ) - -go 1.17 diff --git a/go.sum b/go.sum index bd150c3..d8e9ead 100644 --- a/go.sum +++ b/go.sum @@ -1,7 +1,5 @@ -github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137 h1:s6gZFSlWYmbqAuRjVTiNNhvNRfY2Wxp9nhfyel4rklc= -github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137/go.mod h1:OMCwj8VM1Kc9e19TLln2VL61YJF0x1XFtfdL4JdbSyE= -github.com/alecthomas/units v0.0.0-20231202071711-9a357b53e9c9 h1:ez/4by2iGztzR4L0zgAOR8lTQK9VlyBVVd7G4omaOQs= -github.com/alecthomas/units v0.0.0-20231202071711-9a357b53e9c9/go.mod h1:OMCwj8VM1Kc9e19TLln2VL61YJF0x1XFtfdL4JdbSyE= +github.com/alecthomas/units v0.0.0-20240626203959-61d1e3462e30 h1:t3eaIm0rUkzbrIewtiFmMK5RXHej2XnoXNhxVsAYUfg= +github.com/alecthomas/units v0.0.0-20240626203959-61d1e3462e30/go.mod h1:fvzegU4vN3H1qMT+8wDmzjAcDONcgo2/SZ/TyfdUOFs= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= @@ -10,12 +8,9 @@ github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZN github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= -github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= +github.com/stretchr/objx v0.5.2/go.mod h1:FRsXN1f5AsAjCGJKqEizvkpNtU+EGNCLh3NxZ/8L+MA= github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= -github.com/stretchr/testify v1.8.2 h1:+h33VjcLVPDHtOdpUCuF+7gSuG3yGIftsP1YvFihtJ8= -github.com/stretchr/testify v1.8.2/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= -github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= @@ -23,7 +18,6 @@ github.com/xhit/go-str2duration/v2 v2.1.0 h1:lxklc02Drh6ynqX+DdPyp5pCKLUQpRT8bp8 github.com/xhit/go-str2duration/v2 v2.1.0/go.mod h1:ohY8p+0f07DiV6Em5LKB0s2YpLtXVyJfNt1+BlmyAsU= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= From 99e26ad9e43112d3b8a72b3ac2a6c730163d9113 Mon Sep 17 00:00:00 2001 From: Luca Comellini Date: Mon, 9 Sep 2024 18:26:20 -0700 Subject: [PATCH 10/14] Update renovate config to run go mod tidy (#355) Adds options to run `go mod tidy` after an update and to update import paths in case there's a major update of a dependency. --- renovate.json5 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/renovate.json5 b/renovate.json5 index 897864b..6bb4acd 100644 --- a/renovate.json5 +++ b/renovate.json5 @@ -8,4 +8,8 @@ "group:allNonMajor", "schedule:earlyMondays", // Run once a week. ], + postUpdateOptions: [ + "gomodTidy", + "gomodUpdateImportPaths" + ] } From 68c06706edae8d9a6f7806dc575a5a9f47409821 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 11 Nov 2024 20:30:51 +1100 Subject: [PATCH 11/14] chore(deps): update github.com/alecthomas/units digest to 0f3dac3 (#357) --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index bef9c21..277f463 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/alecthomas/kingpin/v2 go 1.17 require ( - github.com/alecthomas/units v0.0.0-20240626203959-61d1e3462e30 + github.com/alecthomas/units v0.0.0-20240927000941-0f3dac36c52b github.com/stretchr/testify v1.9.0 github.com/xhit/go-str2duration/v2 v2.1.0 ) diff --git a/go.sum b/go.sum index d8e9ead..b3c6ff1 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,5 @@ -github.com/alecthomas/units v0.0.0-20240626203959-61d1e3462e30 h1:t3eaIm0rUkzbrIewtiFmMK5RXHej2XnoXNhxVsAYUfg= -github.com/alecthomas/units v0.0.0-20240626203959-61d1e3462e30/go.mod h1:fvzegU4vN3H1qMT+8wDmzjAcDONcgo2/SZ/TyfdUOFs= +github.com/alecthomas/units v0.0.0-20240927000941-0f3dac36c52b h1:mimo19zliBX/vSQ6PWWSL9lK8qwHozUj03+zLoEB8O0= +github.com/alecthomas/units v0.0.0-20240927000941-0f3dac36c52b/go.mod h1:fvzegU4vN3H1qMT+8wDmzjAcDONcgo2/SZ/TyfdUOFs= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= From 5e8f9d9916db065bf6e3067f7701382f445659b5 Mon Sep 17 00:00:00 2001 From: Iman Ghavasieh Date: Wed, 7 May 2025 01:56:41 +0200 Subject: [PATCH 12/14] Add autocomplete hints for Enums type flags (#360) --- flags.go | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/flags.go b/flags.go index 2b2938b..80f01f6 100644 --- a/flags.go +++ b/flags.go @@ -255,6 +255,20 @@ func (a *FlagClause) Enum(options ...string) (target *string) { return a.parserMixin.Enum(options...) } +func (a *FlagClause) EnumsVar(target *[]string, options ...string) { + a.parserMixin.EnumsVar(target, options...) + a.addHintActionBuiltin(func() []string { + return options + }) +} + +func (a *FlagClause) Enums(options ...string) (target *[]string) { + a.addHintActionBuiltin(func() []string { + return options + }) + return a.parserMixin.Enums(options...) +} + // IsSetByUser let to know if the flag was set by the user func (f *FlagClause) IsSetByUser(setByUser *bool) *FlagClause { if setByUser != nil { From 8000216f0113bc6b6e18b16f8d64a5148827c3a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20=C4=8Ctvrtka?= Date: Fri, 19 Dec 2025 10:37:13 +0100 Subject: [PATCH 13/14] PMM-14577 Bump Go. --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 277f463..e869e0c 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/alecthomas/kingpin/v2 -go 1.17 +go 1.25.5 require ( github.com/alecthomas/units v0.0.0-20240927000941-0f3dac36c52b From ea579502019f9bed4152dc8eb7312bec5687e5c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20=C4=8Ctvrtka?= Date: Fri, 19 Dec 2025 11:13:44 +0100 Subject: [PATCH 14/14] PMM-14577 Fix for Go 1.25.5. --- bin/{.go-1.22.3.pkg => .go-1.25.5.pkg} | 0 bin/go | 2 +- bin/gofmt | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename bin/{.go-1.22.3.pkg => .go-1.25.5.pkg} (100%) diff --git a/bin/.go-1.22.3.pkg b/bin/.go-1.25.5.pkg similarity index 100% rename from bin/.go-1.22.3.pkg rename to bin/.go-1.25.5.pkg diff --git a/bin/go b/bin/go index 764d174..4778489 120000 --- a/bin/go +++ b/bin/go @@ -1 +1 @@ -.go-1.22.3.pkg \ No newline at end of file +.go-1.25.5.pkg \ No newline at end of file diff --git a/bin/gofmt b/bin/gofmt index 764d174..4778489 120000 --- a/bin/gofmt +++ b/bin/gofmt @@ -1 +1 @@ -.go-1.22.3.pkg \ No newline at end of file +.go-1.25.5.pkg \ No newline at end of file