Releases: caarlos0/env
Releases · caarlos0/env
v11.4.0
Changelog
New Features
- 2be9960: feat: option to set defaults for zero values only (#325) (@dnovikoff)
Bug fixes
- d3505f1: fix: all new lint issues, update golangci-lint (@caarlos0)
- aaa4511: fix: lint issues (@caarlos0)
Documentation updates
Other work
- 7b10cf5: ci(deps): bump github/codeql-action in the actions group (#400) (@dependabot[bot])
- c98ad84: ci(deps): bump github/codeql-action in the actions group (#410) (@dependabot[bot])
- 2ca9b08: ci(deps): bump the actions group with 2 updates (#393) (@dependabot[bot])
- cd5c220: ci(deps): bump the actions group with 2 updates (#396) (@dependabot[bot])
- 4d25a46: ci(deps): bump the actions group with 2 updates (#402) (@dependabot[bot])
- c660cc9: ci(deps): bump the actions group with 2 updates (#403) (@dependabot[bot])
- 3a3ea05: ci(deps): bump the actions group with 2 updates (#405) (@dependabot[bot])
- d28373e: ci(deps): bump the actions group with 2 updates (#408) (@dependabot[bot])
- 7b50056: ci(deps): bump the actions group with 3 updates (#397) (@dependabot[bot])
- 6b2db30: ci(deps): bump the actions group with 3 updates (#399) (@dependabot[bot])
- f33230e: ci(deps): bump the actions group with 3 updates (#404) (@dependabot[bot])
- 2dc7aec: ci(sec): add codeql, govulncheck, grype (@caarlos0)
- 82412ce: ci: build perms (@caarlos0)
- 02495c4: ci: build perms (@caarlos0)
- e5b3c2c: ci: lint workflow perms (@caarlos0)
- 6690dfb: ci: pin github actions versions (@caarlos0)
- 548a7a6: ci: update dependabot (@caarlos0)
Released with GoReleaser Pro!
v11.3.1
v11.3.0
Changelog
New Features
- 59284e4: feat: implement interface { Unwrap() []error } for AggregateError to be compatibility with std errors.Join go1.20 without any breaking change (#336) (@itsabgr-raika)
- 17fdb91: feat: set custom tag name for envDefault (#324) (@dnovikoff)
- 1cb1967: feat: set custom tag name for envPrefix (#332) (@sv-kozlov)
- 0136931: feat: support
time.Location(#326) (@BorzdeG) - 4ab8b37: feat: support ignored value "-" for env tag (#338) (@sv-kozlov)
Bug fixes
- 6f3a5c0: fix: better handle envDefault, refactor merge options (#349) (@astak16)
- 3afa723: fix: improve errors (#329) (@caarlos0)
- 0cbf40b: fix: map value with : in it (@caarlos0)
- e55230b: fix: parsing into ptr fields with value (#340) (@hypnoglow)
Documentation updates
- 84c7739: docs: DefaultValueTagName example (@caarlos0)
- 0847ba1: docs: add installation instructions to README.md (#330) (@eduardolat)
- 76faca5: docs: project state (@caarlos0)
Other work
- b76caa9: ci: add EditorConfig (#327) (@BorzdeG)
- 1f955b7: ci: update (@caarlos0)
- f68d1dc: refactor: enable gocritic linter and fix lint issues (#342) (@alexandear)
- 52e7186: refactor: modify the init logic for env tag options to make it more reasonable (#347) (@astak16)
Released with GoReleaser Pro!
v11.2.2
v11.2.1
Changelog
Bug fixes
Documentation updates
- fac6114: docs: cleanup readme (#322) (@caarlos0)
- 5d7eb0c: docs: fix bad example (@caarlos0)
- 19de57d: docs: more examples (@caarlos0)
- be1c262: docs: more examples (@caarlos0)
- fb84246: docs: more examples (@caarlos0)
- 1282042: docs: more examples (@caarlos0)
- 3d8627f: docs: typos (@caarlos0)
- d7efb64: docs: update license year range (@caarlos0)
Released with GoReleaser Pro!
v11.2.0
v11.1.0
v11.0.1
Changelog
Bug fixes
- 0f77fef: fix: add logic to handle nil pointer structs (#306) (@NithinGudla)
Documentation updates
- 1e2d9e1: docs: better explain UseFieldNameByDefault (@caarlos0)
- b436dff: docs: document generics (@caarlos0)
Released with GoReleaser Pro!
v11.0.0
Changelog
Breaking changes
- Updated module's Go version to 1.18
New Features
Bug fixes
Documentation updates
- b400510: docs: add related projects (#290) (@g4s8)
- 5235aff: docs: add used and supported by section to readme (#289) (@caarlos0)
- 506c331: docs: update (@caarlos0)
- af0d375: docs: update caution banner (@caarlos0)
- 8cddcf2: docs: update readme (@caarlos0)
- fa32ef4: docs: update readme (@caarlos0)
Other work
Released with GoReleaser Pro!
v10.0.0
Changelog
Breaking changes
- 62b4ae1: feat!: ParseWithOptions: add the ability to override default opt.FuncMap keys (#272) (@Daniel538)
New Features
- e7e49c4: feat: GetFieldParams and GetFieldParamsWithOptions functions (#261) (@saturn4er)
- 92df8c4: feat: adds public ToMap function (#275) (@maxfilov)
- 13ac655: feat: custom key value separator (#284) (@ruslan944)
- 3f90e4a: enhancement: Expand with default values (#285) (@gabrielcipriano)
Documentation updates
- 6723663: docs: add map usage (#282) (@rfyiamcool)
Other work
Released with GoReleaser Pro!