sapcc / nsx-t-exporter

Prometheus NSX-T exporter
Apache License 2.0
14 stars 10 forks source link

Update module github.com/caarlos0/env to v6 #22

Closed renovate[bot] closed 2 years ago

renovate[bot] commented 2 years ago

Mend Renovate

This PR contains the following updates:

Package Type Update Change
github.com/caarlos0/env require major v3.5.0+incompatible -> v6.9.3

Release Notes

caarlos0/env ### [`v6.9.3`](https://togithub.com/caarlos0/env/releases/tag/v6.9.3) [Compare Source](https://togithub.com/caarlos0/env/compare/v6.9.2...v6.9.3) #### Changelog ##### Bug fixes - [`a5d7cf5`](https://togithub.com/caarlos0/env/commit/a5d7cf5cd3ece44b603ffd8ce4a481b8432ed067): fix: custom parsers with anon inner structs ([#​227](https://togithub.com/caarlos0/env/issues/227)) ([@​caarlos0](https://togithub.com/caarlos0)) *** *Released with [GoReleaser Pro](https://goreleaser.com/pro)!* ### [`v6.9.2`](https://togithub.com/caarlos0/env/releases/tag/v6.9.2) [Compare Source](https://togithub.com/caarlos0/env/compare/v6.9.1...v6.9.2) #### Changelog ##### Bug fixes - [`302a103`](https://togithub.com/caarlos0/env/commit/302a1031fb7c5e9de120b467f7ec1c636cd923e5): fix: race condition in ParseWithFuncs ([#​223](https://togithub.com/caarlos0/env/issues/223)) ([@​caarlos0](https://togithub.com/caarlos0)) ##### Other work - [`8eb2e72`](https://togithub.com/caarlos0/env/commit/8eb2e726db15f6d74b8225095da3c70a0aadfcb1): refactor: remove unneccessary line ([#​212](https://togithub.com/caarlos0/env/issues/212)) ([@​gozeloglu](https://togithub.com/gozeloglu)) *** *Released with [GoReleaser Pro](https://goreleaser.com/pro)!* ### [`v6.9.1`](https://togithub.com/caarlos0/env/releases/tag/v6.9.1) [Compare Source](https://togithub.com/caarlos0/env/compare/v6.9.0...v6.9.1) #### Changelog ##### Bug fixes - [`66696b3`](https://togithub.com/caarlos0/env/commit/66696b36d25095f5a0961050c5d0a965ec661e82): fix: passing prefix on anonymous struct ([#​205](https://togithub.com/caarlos0/env/issues/205)) ([@​flaneur2020](https://togithub.com/flaneur2020)) *** *Released with [GoReleaser Pro](https://goreleaser.com/pro)!* ### [`v6.9.0`](https://togithub.com/caarlos0/env/releases/tag/v6.9.0) [Compare Source](https://togithub.com/caarlos0/env/compare/v6.8.0...v6.9.0) #### Changelog ##### New Features - [`87131ff`](https://togithub.com/caarlos0/env/commit/87131ff570c7b3bf66e4040dc2e7b5e1263db219): feat: 0 dependencies ([#​204](https://togithub.com/caarlos0/env/issues/204)) ([@​caarlos0](https://togithub.com/caarlos0)) *** *Released with [GoReleaser Pro](https://goreleaser.com/pro)!* ### [`v6.8.0`](https://togithub.com/caarlos0/env/releases/tag/v6.8.0) [Compare Source](https://togithub.com/caarlos0/env/compare/v6.7.2...v6.8.0) #### Changelog ##### New Features - [`f22b819`](https://togithub.com/caarlos0/env/commit/f22b8199bef9cb3530f056e959a117111f35a983): feat: rename master to main ([@​caarlos0](https://togithub.com/caarlos0)) - [`2cf397a`](https://togithub.com/caarlos0/env/commit/2cf397a58a36021e20b385fa64839ba446fbe4fd): feat:prefix envs ([#​201](https://togithub.com/caarlos0/env/issues/201)) ([@​caarlos0](https://togithub.com/caarlos0)) ##### Bug fixes - [`d8dc27c`](https://togithub.com/caarlos0/env/commit/d8dc27c896429a7cddb9c2789e26aacc6cbb5bba): fix: prefixes on pointers ([#​203](https://togithub.com/caarlos0/env/issues/203)) ([@​caarlos0](https://togithub.com/caarlos0)) *** *Released with [GoReleaser Pro](https://goreleaser.com/pro)!* ### [`v6.7.2`](https://togithub.com/caarlos0/env/releases/tag/v6.7.2) [Compare Source](https://togithub.com/caarlos0/env/compare/v6.7.1...v6.7.2) #### Changelog [`db06a3f`](https://togithub.com/caarlos0/env/commit/db06a3f344740e4bce2a0d4e60d5b5861c2566b3): fix: gofumpt ([@​caarlos0](https://togithub.com/caarlos0)) [`adc0f63`](https://togithub.com/caarlos0/env/commit/adc0f6371c9fee028bf4ecb55958c4a63e061a6d): fix: lint issues ([@​caarlos0](https://togithub.com/caarlos0)) [`d255001`](https://togithub.com/caarlos0/env/commit/d2550013e8b1044bad96d8dd8d8f58ef70e6b369): refactor: move from io/ioutil to os package ([#​176](https://togithub.com/caarlos0/env/issues/176)) ([@​Juneezee](https://togithub.com/Juneezee)) *** *Released with [GoReleaser Pro](https://goreleaser.com/pro)!* ### [`v6.7.1`](https://togithub.com/caarlos0/env/releases/tag/v6.7.1) [Compare Source](https://togithub.com/caarlos0/env/compare/v6.7.0...v6.7.1) #### Changelog [`ba5c1ad`](https://togithub.com/caarlos0/env/commit/ba5c1ad) fix: error in embedded struct when using option RequiredIfNoDef:true ([#​191](https://togithub.com/caarlos0/env/issues/191)) ### [`v6.7.0`](https://togithub.com/caarlos0/env/releases/tag/v6.7.0) [Compare Source](https://togithub.com/caarlos0/env/compare/v6.6.2...v6.7.0) #### Changelog [`929e30e`](https://togithub.com/caarlos0/env/commit/929e30e) chore(deps): bump codecov/codecov-action from 1 to 2 ([#​186](https://togithub.com/caarlos0/env/issues/186)) [`92ab404`](https://togithub.com/caarlos0/env/commit/92ab404) feat: Add option: 'required' by default ([#​187](https://togithub.com/caarlos0/env/issues/187)) [`5dd6d0c`](https://togithub.com/caarlos0/env/commit/5dd6d0c) feat: go 1.17 [`1cd374b`](https://togithub.com/caarlos0/env/commit/1cd374b) feat: onset hook ([#​185](https://togithub.com/caarlos0/env/issues/185)) [`53ff073`](https://togithub.com/caarlos0/env/commit/53ff073) fix: ineffective break [`d96cac5`](https://togithub.com/caarlos0/env/commit/d96cac5) fix: merge issues [`faf605d`](https://togithub.com/caarlos0/env/commit/faf605d) refactor: improve test ### [`v6.6.2`](https://togithub.com/caarlos0/env/releases/tag/v6.6.2) [Compare Source](https://togithub.com/caarlos0/env/compare/v6.6.1...v6.6.2) #### Changelog [`48e4777`](https://togithub.com/caarlos0/env/commit/48e4777) fix(ci): missing env ### [`v6.6.1`](https://togithub.com/caarlos0/env/releases/tag/v6.6.1) [Compare Source](https://togithub.com/caarlos0/env/compare/v6.6.0...v6.6.1) #### Changelog [`6683f37`](https://togithub.com/caarlos0/env/commit/6683f37) chore(ci): include goreleaser config [`e60d1e7`](https://togithub.com/caarlos0/env/commit/e60d1e7) fix(ci): distribution [`75568db`](https://togithub.com/caarlos0/env/commit/75568db) fix(ci): key ### [`v6.6.0`](https://togithub.com/caarlos0/env/releases/tag/v6.6.0) [Compare Source](https://togithub.com/caarlos0/env/compare/v6.5.0...v6.6.0) #### Changelog [`f2ced39`](https://togithub.com/caarlos0/env/commit/f2ced39) chore(deps): bump actions/cache from v2 to v2.1.4 ([#​156](https://togithub.com/caarlos0/env/issues/156)) [`41425b4`](https://togithub.com/caarlos0/env/commit/41425b4) chore(deps): bump actions/cache from v2 to v2.1.4 ([#​160](https://togithub.com/caarlos0/env/issues/160)) [`346d77c`](https://togithub.com/caarlos0/env/commit/346d77c) chore(deps): bump actions/cache from v2.1.4 to v2.1.5 ([#​164](https://togithub.com/caarlos0/env/issues/164)) [`c33df78`](https://togithub.com/caarlos0/env/commit/c33df78) chore(deps): bump actions/checkout from 2 to 2.3.4 ([#​168](https://togithub.com/caarlos0/env/issues/168)) [`7c39877`](https://togithub.com/caarlos0/env/commit/7c39877) chore(deps): bump codecov/codecov-action from 1 to 1.5.0 ([#​167](https://togithub.com/caarlos0/env/issues/167)) [`d80f61d`](https://togithub.com/caarlos0/env/commit/d80f61d) chore(deps): bump golangci/golangci-lint-action from v2 to v2.5.2 ([#​161](https://togithub.com/caarlos0/env/issues/161)) [`2174282`](https://togithub.com/caarlos0/env/commit/2174282) chore(deps): bump goreleaser/goreleaser-action from 2 to 2.5.0 ([#​166](https://togithub.com/caarlos0/env/issues/166)) [`6cbd70c`](https://togithub.com/caarlos0/env/commit/6cbd70c) docs/test: document how to use custom time formats ([#​172](https://togithub.com/caarlos0/env/issues/172)) [`fd499bb`](https://togithub.com/caarlos0/env/commit/fd499bb) feat: allow to unset a variable after reading it ([#​171](https://togithub.com/caarlos0/env/issues/171)) [`3de7ad1`](https://togithub.com/caarlos0/env/commit/3de7ad1) feat: go 1.16, test on mac and windows ([#​159](https://togithub.com/caarlos0/env/issues/159)) [`b2f4697`](https://togithub.com/caarlos0/env/commit/b2f4697) feat: notEmpty tag ([#​174](https://togithub.com/caarlos0/env/issues/174)) [`eb9cdc4`](https://togithub.com/caarlos0/env/commit/eb9cdc4) fix(ci): workflow versions [`9a4342d`](https://togithub.com/caarlos0/env/commit/9a4342d) fix(ci): workflow versions [`d552093`](https://togithub.com/caarlos0/env/commit/d552093) fix: linter [`0397ad7`](https://togithub.com/caarlos0/env/commit/0397ad7) fix: some cases on windows ([#​170](https://togithub.com/caarlos0/env/issues/170)) [`f878cc5`](https://togithub.com/caarlos0/env/commit/f878cc5) tests: use require instead of assert ### [`v6.5.0`](https://togithub.com/caarlos0/env/releases/tag/v6.5.0) [Compare Source](https://togithub.com/caarlos0/env/compare/v6.4.0...v6.5.0) #### Changelog [`54c9d5e`](https://togithub.com/caarlos0/env/commit/54c9d5e) chore(ci): dependabot [`7e1f128`](https://togithub.com/caarlos0/env/commit/7e1f128) chore: delete gosum workflow [`aa84092`](https://togithub.com/caarlos0/env/commit/aa84092) feat: upgrade to go 1.15 ([#​150](https://togithub.com/caarlos0/env/issues/150)) [`2ed4d36`](https://togithub.com/caarlos0/env/commit/2ed4d36) fix: add check for blank env key ([#​153](https://togithub.com/caarlos0/env/issues/153)) [`e244b8a`](https://togithub.com/caarlos0/env/commit/e244b8a) refactor: improve if ### [`v6.4.0`](https://togithub.com/caarlos0/env/releases/tag/v6.4.0) [Compare Source](https://togithub.com/caarlos0/env/compare/v6.3.0...v6.4.0) #### Changelog [`3ac02fe`](https://togithub.com/caarlos0/env/commit/3ac02fe) chore(deps): go mod tidy ([#​122](https://togithub.com/caarlos0/env/issues/122)) [`f21b8c3`](https://togithub.com/caarlos0/env/commit/f21b8c3) feat(ci): dependabot [`52290f9`](https://togithub.com/caarlos0/env/commit/52290f9) feat: add options ([#​131](https://togithub.com/caarlos0/env/issues/131)) [`a1ac5e4`](https://togithub.com/caarlos0/env/commit/a1ac5e4) fix: support custom slice types ([#​130](https://togithub.com/caarlos0/env/issues/130)) [`07535a5`](https://togithub.com/caarlos0/env/commit/07535a5) refactor: make unmarshal error handling clearer ### [`v6.3.0`](https://togithub.com/caarlos0/env/releases/tag/v6.3.0) [Compare Source](https://togithub.com/caarlos0/env/compare/v6.2.2...v6.3.0) #### Changelog [`822f229`](https://togithub.com/caarlos0/env/commit/822f229) chore: funding [`e8c6818`](https://togithub.com/caarlos0/env/commit/e8c6818) feat(ci): github actions [`6cc3632`](https://togithub.com/caarlos0/env/commit/6cc3632) feat(ci): remove travis [`c81891c`](https://togithub.com/caarlos0/env/commit/c81891c) feat(ci): test on go 1.14 as well [`eeded10`](https://togithub.com/caarlos0/env/commit/eeded10) feat: go 1.14 on go.mod [`8088497`](https://togithub.com/caarlos0/env/commit/8088497) fix: test on go1.14 ### [`v6.2.2`](https://togithub.com/caarlos0/env/releases/tag/v6.2.2) [Compare Source](https://togithub.com/caarlos0/env/compare/v6.2.1...v6.2.2) #### Changelog [`ff72571`](https://togithub.com/caarlos0/env/commit/ff72571) chore: goreleaser ### [`v6.2.1`](https://togithub.com/caarlos0/env/releases/tag/v6.2.1) [Compare Source](https://togithub.com/caarlos0/env/compare/v6.2.0...v6.2.1) - fix: Env variables annotated with file is not allowed to be empty ([#​109](https://togithub.com/caarlos0/env/issues/109)) - fix: typos in defaultTypeParsers ([#​108](https://togithub.com/caarlos0/env/issues/108)) ### [`v6.2.0`](https://togithub.com/caarlos0/env/releases/tag/v6.2.0) [Compare Source](https://togithub.com/caarlos0/env/compare/v6.1.0...v6.2.0) - fix: go mod tidy - fix: readme fmt - chore(deps): bump github.com/stretchr/testify from 1.4.0 to 1.5.1 ([#​107](https://togithub.com/caarlos0/env/issues/107)) - feat: Support to load values from file ([#​105](https://togithub.com/caarlos0/env/issues/105)) - fix: lint - chore: go mod tidy - refactor: small code improvement ([#​101](https://togithub.com/caarlos0/env/issues/101)) - test: run tests on Go 1.13 ([#​100](https://togithub.com/caarlos0/env/issues/100)) ### [`v6.1.0`](https://togithub.com/caarlos0/env/releases/tag/v6.1.0) [Compare Source](https://togithub.com/caarlos0/env/compare/v6.0.0...v6.1.0) - feat: support traversing non-defined type fields ([#​96](https://togithub.com/caarlos0/env/issues/96)) ### [`v6.0.0`](https://togithub.com/caarlos0/env/releases/tag/v6.0.0) [Compare Source](https://togithub.com/caarlos0/env/compare/v5.1.4...v6.0.0) - feat: accept `[]*types` by default ([#​95](https://togithub.com/caarlos0/env/issues/95)) - fix: make it work on dep again - test: 100% coverage ### [`v5.1.4`](https://togithub.com/caarlos0/env/releases/tag/v5.1.4) [Compare Source](https://togithub.com/caarlos0/env/compare/v5.1.3...v5.1.4) Try `encoding.TextUnmarshaler` before trying other types. ### [`v5.1.3`](https://togithub.com/caarlos0/env/releases/tag/v5.1.3) [Compare Source](https://togithub.com/caarlos0/env/compare/v5.1.2...v5.1.3) - [https://github.com/caarlos0/env/issues/84](https://togithub.com/caarlos0/env/issues/84) ### [`v5.1.2`](https://togithub.com/caarlos0/env/releases/tag/v5.1.2) [Compare Source](https://togithub.com/caarlos0/env/compare/v5.1.1...v5.1.2) - [https://github.com/caarlos0/env/issues/84](https://togithub.com/caarlos0/env/issues/84) ### [`v5.1.1`](https://togithub.com/caarlos0/env/releases/tag/v5.1.1) [Compare Source](https://togithub.com/caarlos0/env/compare/v5.1.0...v5.1.1) - [https://github.com/caarlos0/env/issues/84](https://togithub.com/caarlos0/env/issues/84) ### [`v5.1.0`](https://togithub.com/caarlos0/env/releases/tag/v5.1.0) [Compare Source](https://togithub.com/caarlos0/env/compare/v5.0.0...v5.1.0) - improved unexported fields handling ### [`v5.0.0`](https://togithub.com/caarlos0/env/releases/tag/v5.0.0) [Compare Source](https://togithub.com/caarlos0/env/compare/v4.0.0...v5.0.0) - major refactor - removed `OnEnvVarSet` - improved error messages - default custom parsers for durations and urls Check [the diff](https://togithub.com/caarlos0/env/compare/v4.0.0...v5.0.0) for more info! ### [`v4.0.0`](https://togithub.com/caarlos0/env/releases/tag/v4.0.0) [Compare Source](https://togithub.com/caarlos0/env/compare/v3.5.0...v4.0.0) - no longer testing on go versions bellow 1.10.x - now testing on go 1.12.x - added go.mod and etc so it should work better with go modules - added nested struct support - added more native types

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.