Releases: caarlos0/env
Releases · caarlos0/env
v8.0.0
Changelog
Other work
- 224d85f: build: fix goreleaser flags (@caarlos0)
- fac0414: build: test on go stable and oldstable (#259) (@caarlos0)
- 4e0f915: feat!: refactor parse and parse with options (#256) (@caarlos0)
Updating from v7
- if you use
env.Parse
with no options, no change is required. - if you use
env.Parse
with oneOptions{}
, callenv.ParseWithOptions
instead. - if you use
env.Parse
with options, and pass more than oneOptions{}
, merge them into a single one, and useenv.ParseWithOptions
instead. - if you use
env.ParseWithFuncs
, useenv.ParseWithOptions
instead, and put your parsers intoOptions{ FuncMap: <here> }
.
Released with GoReleaser Pro!
v7.1.0
Changelog
New Features
- b135bbd: feat: error types (#240) (@akutuev)
- 17f0a63: feat: implement Is on AggregateError (#254) (@caarlos0)
- 266f68b: feat: support map kind env (#244) (@ken8203)
- c08b0f9: feat: use field name by default (#253) (@caarlos0)
Bug fixes
- dfd68b2: fix: improve map handling, coverage (@caarlos0)
- e5472ec: fix: remove untested behavior (@caarlos0)
Documentation updates
- 65ba2db: docs: caveats (@caarlos0)
- f434e98: docs: document how to handle error (@caarlos0)
- 2d26ce1: docs: fix examples (@caarlos0)
- 91e69e8: docs: maps (@caarlos0)
- 850c2d8: docs: update to v7 (#249) (@alexandear)
Released with GoReleaser Pro!
v7.0.0
Changelog
Breaking changes
- c687f95: feat!: set default if var is set but empty (#248) (@caarlos0)
- 155f0a6: feat!: update to v7 (@caarlos0)
Documentation updates
- 23c6da1: docs: fix badge (@caarlos0)
- 8e8e099: docs: fix typo (#243) (@braindev)
- 877e1bf: docs: improve warning (@caarlos0)
Other work
- ff86282: build: fix lint workflow (@caarlos0)
- 0b725c8: build: fix workflows (@caarlos0)
- da848aa: build: remove deprecated lint option (@caarlos0)
Released with GoReleaser Pro!
v6.10.1
v6.10.0
Changelog
New Features
Bug fixes
- 439dbad: fix: RequiredIfNoDef with nested structs (#229) (@HarmlessEvil)
Documentation updates
- 60b5226: docs: broken link (@caarlos0)
- 4c93d81: docs: remove duplicate
string
(#232) (@dacapoday)
Released with GoReleaser Pro!
v6.9.3
v6.9.2
Changelog
Bug fixes
Other work
- 8eb2e72: refactor: remove unneccessary line (#212) (@gozeloglu)
Released with GoReleaser Pro!
v6.9.1
Changelog
Bug fixes
- 66696b3: fix: passing prefix on anonymous struct (#205) (@flaneur2020)
Released with GoReleaser Pro!