redhat-developer / odo

odo - Developer-focused CLI for fast & iterative container-based application development on Podman and Kubernetes. Implementation of the open Devfile standard.
https://odo.dev
Apache License 2.0
774 stars 244 forks source link

Go: Bump github.com/sethvargo/go-envconfig from 0.9.0 to 1.0.0 #7190

Closed dependabot[bot] closed 5 months ago

dependabot[bot] commented 5 months ago

Bumps github.com/sethvargo/go-envconfig from 0.9.0 to 1.0.0.

Release notes

Sourced from github.com/sethvargo/go-envconfig's releases.

v1.0.0

[!CAUTION]

This release includes breaking changes. Please read these release notes thoroughly.

New features

  • Introduce global and cascading configuration options by @​sethvargo in sethvargo/go-envconfig#97

    This introduces the concept of global configurations and cascades struct-level configuration options onto all child fields. For example, marking a struct as required will mark all child fields as required. Similarly, setting a custom delimiter on a struct tag propagates that delimiter to all child fields of the struct. This behavior previously only applied to the noinit tag, but it now applies to all tags.

Breaking changes

  • Change MutatorFunc to be more flexible by @​sethvargo in sethvargo/go-envconfig#92 and sethvargo/go-envconfig#94

    ⚠️ BREAKING! This changes the signature of the MutatorFunc to have more information about prior states. It will include the original environment variable names and values, as well as the currently resolved values. Additionally, the mutation chain can now be stopped without returning an error.

  • Require Go 1.21 or later by @​sethvargo in sethvargo/go-envconfig#93

    ⚠️ BREAKING! The new minimum required Go version is 1.21.

  • Drop ExtractDefaults functionality by @​sethvargo in sethvargo/go-envconfig#95

    ⚠️ BREAKING! This removes the ExtractDefaults function. It was rarely used and resulted in extraneous processing. Users who depended on this functionality can call ProcessWith an empty MapLookuper (which is all ExtractDefaults did anyway).

  • Ignore prefix computing environment variable defaults by @​sethvargo in sethvargo/go-envconfig#99

    ⚠️ BREAKING! Computing the default value for an environment variable when the default value is another environment variable will ignore any prefixes on the current lookuper. See sethvargo/go-envconfig#85 for more information.

  • Allow configurable decoding by @​sethvargo in sethvargo/go-envconfig#100

    ⚠️ BREAKING! Envconfig no longer runs decoders or mutators on unset values. To restore the old behavior, add the decodeunset struct field annotation or pass the DefaultDecodeUnset configuration option as true. See sethvargo/go-envconfig#100 for more information.

Full Changelog: https://github.com/sethvargo/go-envconfig/compare/v0.9.0...v1.0.0-beta1

v1.0.0-beta1

This is now released as v1.0.0. There are no changes between v1.0.0 and this release.

Commits


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
netlify[bot] commented 5 months ago

Deploy Preview for odo-docusaurus-preview canceled.

Name Link
Latest commit c757814820992e61af573a296270735b085197a1
Latest deploy log https://app.netlify.com/sites/odo-docusaurus-preview/deploys/65b81255afba9b0008d8231c
openshift-ci[bot] commented 5 months ago

Hi @dependabot[bot]. Thanks for your PR.

I'm waiting for a redhat-developer member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.
sonarcloud[bot] commented 5 months ago

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud