retail-store-sample-app icon indicating copy to clipboard operation
retail-store-sample-app copied to clipboard

fix(deps): update module github.com/sethvargo/go-envconfig to v0.9.0

Open renovate[bot] opened this issue 8 months ago • 1 comments

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/sethvargo/go-envconfig v0.1.1 -> v0.9.0 age adoption passing confidence

Release Notes

sethvargo/go-envconfig (github.com/sethvargo/go-envconfig)

v0.9.0

Compare Source

What's Changed

Full Changelog: https://github.com/sethvargo/go-envconfig/compare/v0.8.3...v0.9.0

v0.8.3

Compare Source

v0.8.2

Compare Source

What's Changed

Full Changelog: https://github.com/sethvargo/go-envconfig/compare/v0.8.1...v0.8.2

v0.8.1

Compare Source

What's Changed

Full Changelog: https://github.com/sethvargo/go-envconfig/compare/v0.8.0...v0.8.1

v0.8.0

Compare Source

What's Changed

The previous implementation of overwrite would always overwrite values in the given struct, even if values existed. While this is the definition of overwrite, it unintentionally extended to default values as well. So even if a value was explicitly set on a struct, it would be overwritten with the "default" value set in envconfig. This was an unexpected behavior, since defaults should take the lowest precedence.

The new implementation has the following behavior with overwrite:

  • If the struct field has the zero value and a default is set:

    • If no environment variable is specified, the struct field will be populated with the default value.

    • If an environment variable is specified, the struct field will be populate with the environment variable value.

  • If the struct field has a non-zero value and a default is set:

    • If no environment variable is specified, the struct field's existing value will be used (the default is ignored).

    • If an environment variable is specified, the struct field's existing value will be overwritten with the environment variable value.

As part of this change, decoder interfaces are only processed when an environment (or a default) is present.

Full Changelog: https://github.com/sethvargo/go-envconfig/compare/v0.7.0...v0.8.0

v0.7.0

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/sethvargo/go-envconfig/compare/v0.6.2...v0.7.0

v0.6.2

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/sethvargo/go-envconfig/compare/v0.6.1...v0.6.2

v0.6.1

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/sethvargo/go-envconfig/compare/v0.6.0...v0.6.1

v0.6.0

Compare Source

Features

  • Add support for custom element delimiters for slices and maps
  • Add support for custom key/value separators for maps

v0.5.0

Compare Source

v0.4.0

Compare Source

v0.3.5

Compare Source

v0.3.4

Compare Source

v0.3.3

Compare Source

v0.3.2

Compare Source

v0.3.1

Compare Source

v0.3.0

Compare Source

v0.2.5

Compare Source

v0.2.4

Compare Source

v0.2.3

Compare Source

v0.2.2

Compare Source

v0.2.1

Compare Source

v0.2.0

Compare Source

v0.1.2

Compare Source


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

â™» 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. View the repository job log.

renovate[bot] avatar Mar 22 '25 04:03 renovate[bot]