NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Go modules
Go modules, #1645 by repository stars
Latest stable
v1.4.3
Last release 4 months ago
19 Jul 2026
Ships unpredictably
gaps range from 8 days to 1.2 years
Some releases are documented
notes for 21 of 39 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
75 releases · first in 2020
Drag across the ruler to compare, or tap a release to open it.
Decode structs behind multi-level pointers and reject recursive pointer types by @rgellis in https://github.com/sethvargo/go-envconfig/pull/144
Full Changelog: https://github.com/sethvargo/go-envconfig/compare/v1.4.2...v1.4.3
Chain prefixLookuper.Key through a keyed wrapped lookuper by @rgellis in https://github.com/sethvargo/go-envconfig/pull/138
Full Changelog: https://github.com/sethvargo/go-envconfig/compare/v1.4.1...v1.4.2
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Cut per-field allocations in Process by @sethvargo in https://github.com/sethvargo/go-envconfig/pull/140
Full Changelog: https://github.com/sethvargo/go-envconfig/compare/v1.4.0...v1.4.1
Modernize for Go 1.25 by @sethvargo in https://github.com/sethvargo/go-envconfig/pull/139
Full Changelog: https://github.com/sethvargo/go-envconfig/compare/v1.3.1...v1.4.0
Fix non-terminating unwrap walk in prefixLookuper.Unwrap by @rgellis in https://github.com/sethvargo/go-envconfig/pull/136
Full Changelog: https://github.com/sethvargo/go-envconfig/compare/v1.3.0...v1.3.1
Introduce the LookuperFunc type to simplify the creation of custom implementations of the Lookuper interface by @joaopenteado in https://github.com/se
LookuperFunc type to simplify the creation of custom implementations of the Lookuper interface by @joaopenteado in https://github.com/sethvargo/go-envconfig/pull/129Full Changelog: https://github.com/sethvargo/go-envconfig/compare/v1.2.0...v1.3.0
Nothing published for this version
Only include envvar key on error to avoid leaking information by @sethvargo in https://github.com/sethvargo/go-envconfig/pull/127
$ in default values by @sethvargo in https://github.com/sethvargo/go-envconfig/pull/128Full Changelog: https://github.com/sethvargo/go-envconfig/compare/v1.1.1...v1.2.0
Nothing published for this version
Allow environment variables to start with underscores by @sethvargo in https://github.com/sethvargo/go-envconfig/pull/123
Full Changelog: https://github.com/sethvargo/go-envconfig/compare/v1.1.0...v1.1.1
Add MustProcess which panics on errors by @sethvargo in https://github.com/sethvargo/go-envconfig/pull/115
Full Changelog: https://github.com/sethvargo/go-envconfig/compare/v1.0.3...v1.1.0
Relax Go constraint to 1.20 by @sethvargo in https://github.com/sethvargo/go-envconfig/pull/113
Full Changelog: https://github.com/sethvargo/go-envconfig/compare/v1.0.2...v1.0.3
Fix docs by @ucpr in https://github.com/sethvargo/go-envconfig/pull/105
Full Changelog: https://github.com/sethvargo/go-envconfig/compare/v1.0.1...v1.0.2
Nothing published for this version
Nothing published for this version
Update Go version to 1.22.1 (security)
> This release includes breaking changes. Please read these release notes thoroughly.
[!CAUTION]
This release includes breaking changes. Please read these release notes thoroughly.
Introduce global and cascading configuration options by @sethvargo in https://github.com/sethvargo/go-envconfig/pull/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
noinittag, but it now applies to all tags.
Change MutatorFunc to be more flexible by @sethvargo in https://github.com/sethvargo/go-envconfig/pull/92 and https://github.com/sethvargo/go-envconfig/pull/94
⚠️ BREAKING! This changes the signature of the
MutatorFuncto 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 https://github.com/sethvargo/go-envconfig/pull/93
⚠️ BREAKING! The new minimum required Go version is 1.21.
Drop ExtractDefaults functionality by @sethvargo in https://github.com/sethvargo/go-envconfig/pull/95
⚠️ BREAKING! This removes the
ExtractDefaultsfunction. It was rarely used and resulted in extraneous processing. Users who depended on this functionality can callProcessWithan emptyMapLookuper(which is allExtractDefaultsdid anyway).
Ignore prefix computing environment variable defaults by @sethvargo in https://github.com/sethvargo/go-envconfig/pull/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 https://github.com/sethvargo/go-envconfig/pull/85 for more information.
Allow configurable decoding by @sethvargo in https://github.com/sethvargo/go-envconfig/pull/100
⚠️ BREAKING! Envconfig no longer runs decoders or mutators on unset values. To restore the old behavior, add the
decodeunsetstruct field annotation or pass theDefaultDecodeUnsetconfiguration option as true. See https://github.com/sethvargo/go-envconfig/pull/100 for more information.
Full Changelog: https://github.com/sethvargo/go-envconfig/compare/v0.9.0...v1.0.0-beta1
Nothing published for this version
This is now released as v1.0.0. There are no changes between v1.0.0 and this release.
This is now released as v1.0.0. There are no changes between v1.0.0 and this release.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Allow noinit to apply to slices, maps, and unsafe pointers by @sethvargo in https://github.com/sethvargo/go-envconfig/pull/83
Full Changelog: https://github.com/sethvargo/go-envconfig/compare/v0.8.3...v0.9.0
Nothing published for this version
Nothing published for this version
Nothing published for this version
Track pointer initialization for zero values by @sethvargo in https://github.com/sethvargo/go-envconfig/pull/73
Full Changelog: https://github.com/sethvargo/go-envconfig/compare/v0.8.1...v0.8.2
Propagate noinit from parent fields by @sethvargo in https://github.com/sethvargo/go-envconfig/pull/67
noinit from parent fields by @sethvargo in https://github.com/sethvargo/go-envconfig/pull/67Full Changelog: https://github.com/sethvargo/go-envconfig/compare/v0.8.0...v0.8.1
The previous implementation of overwrite would always overwrite values in the given struct, even if values existed. While this is the definition of ov
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
Change custom unmarshaling order by @gust1n in https://github.com/sethvargo/go-envconfig/pull/59. This changes the order of resolution for unmarshalli
Change custom unmarshaling order by @gust1n in https://github.com/sethvargo/go-envconfig/pull/59. This changes the order of resolution for unmarshalling to:
envconfig.Decoderencoding.TextUnmarshalerjson.Unmarshalerencoding.BinaryUnmarshalergob.GobDecoderFull Changelog: https://github.com/sethvargo/go-envconfig/compare/v0.6.2...v0.7.0
Fixing struct pointer initialization with no values set by @williamgcampbell in https://github.com/sethvargo/go-envconfig/pull/57
Full Changelog: https://github.com/sethvargo/go-envconfig/compare/v0.6.1...v0.6.2
Sort struct fields for reduce memory by @zchee in https://github.com/sethvargo/go-envconfig/pull/51
noinit to all pointer fields by @sethvargo in https://github.com/sethvargo/go-envconfig/pull/55Full Changelog: https://github.com/sethvargo/go-envconfig/compare/v0.6.0...v0.6.1
Nothing published for this version
Nothing published for this version
Add support for custom element delimiters for slices and maps
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.