Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

core: bump github.com/sethvargo/go-envconfig from 0.9.0 to 1.0.0 #8128

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 11, 2024

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: sethvargo/go-envconfig@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 <dependency name> 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)

Bumps [github.com/sethvargo/go-envconfig](https://github.com/sethvargo/go-envconfig) from 0.9.0 to 1.0.0.
- [Release notes](https://github.com/sethvargo/go-envconfig/releases)
- [Commits](sethvargo/go-envconfig@v0.9.0...v1.0.0)

---
updated-dependencies:
- dependency-name: github.com/sethvargo/go-envconfig
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested review from a team as code owners January 11, 2024 04:32
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jan 11, 2024
Copy link

netlify bot commented Jan 11, 2024

Deploy Preview for authentik-storybook canceled.

Name Link
🔨 Latest commit e5a40c3
🔍 Latest deploy log https://app.netlify.com/sites/authentik-storybook/deploys/659f6f7d1d64d70008b2a89a

Copy link
Contributor

authentik PR Installation instructions

Instructions for docker-compose

Add the following block to your .env file:

AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-dependabot-go_modules-github.com-sethvargo-go-envconfig-1.0.0-1704948714-e5a40c3
AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE=ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s

For arm64, use these values:

AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-dependabot-go_modules-github.com-sethvargo-go-envconfig-1.0.0-1704948714-e5a40c3-arm64
AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE=ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s

Afterwards, run the upgrade commands from the latest release notes.

Instructions for Kubernetes

Add the following block to your values.yml file:

authentik:
    outposts:
        container_image_base: ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s
image:
    repository: ghcr.io/goauthentik/dev-server
    tag: gh-dependabot-go_modules-github.com-sethvargo-go-envconfig-1.0.0-1704948714-e5a40c3

For arm64, use these values:

authentik:
    outposts:
        container_image_base: ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s
image:
    repository: ghcr.io/goauthentik/dev-server
    tag: gh-dependabot-go_modules-github.com-sethvargo-go-envconfig-1.0.0-1704948714-e5a40c3-arm64

Afterwards, run the upgrade commands from the latest release notes.

@BeryJu BeryJu merged commit 7d75943 into main Jan 11, 2024
68 checks passed
@BeryJu BeryJu deleted the dependabot/go_modules/github.com/sethvargo/go-envconfig-1.0.0 branch January 11, 2024 10:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant