Skip to content

Releases: caarlos0/env

v11.0.0

16 Apr 13:35
4723331
Compare
Choose a tag to compare

Changelog

Breaking changes

  • Updated module's Go version to 1.18

New Features

Bug fixes

Documentation updates

Other work


Released with GoReleaser Pro!

v10.0.0

27 Oct 19:59
v10.0.0
6061c47
Compare
Choose a tag to compare

Changelog

Breaking changes

  • 62b4ae1: feat!: ParseWithOptions: add the ability to override default opt.FuncMap keys (#272) (@Daniel538)

New Features

Documentation updates

Other work


Released with GoReleaser Pro!

v9.0.0

28 Jun 16:24
v9.0.0
4f6bb22
Compare
Choose a tag to compare

Changelog

New Features

Bug fixes

Documentation updates

Migrating from v8

Replace envExpand:"true" with ,expand, e.g.:

type Foo struct {
    Foo string `env:"FOO,expand"`
}

Released with GoReleaser Pro!

v8.0.0

06 Apr 18:05
v8.0.0
fac0414
Compare
Choose a tag to compare

Changelog

Other work

Updating from v7

  • if you use env.Parse with no options, no change is required.
  • if you use env.Parse with one Options{}, call env.ParseWithOptions instead.
  • if you use env.Parse with options, and pass more than one Options{}, merge them into a single one, and use env.ParseWithOptions instead.
  • if you use env.ParseWithFuncs, use env.ParseWithOptions instead, and put your parsers into Options{ FuncMap: <here> }.

Released with GoReleaser Pro!

v7.1.0

07 Mar 12:55
v7.1.0
17f0a63
Compare
Choose a tag to compare

Changelog

New Features

Bug fixes

Documentation updates


Released with GoReleaser Pro!

v7.0.0

21 Jan 01:13
v7.0.0
155f0a6
Compare
Choose a tag to compare

Changelog

Breaking changes

Documentation updates

Other work


Released with GoReleaser Pro!

v6.10.1

12 Sep 12:57
v6.10.1
538d000
Compare
Choose a tag to compare

Changelog

Bug fixes


Released with GoReleaser Pro!

v6.10.0

22 Aug 12:39
v6.10.0
69c7b5a
Compare
Choose a tag to compare

Changelog

New Features

Bug fixes

Documentation updates


Released with GoReleaser Pro!

v6.9.3

30 May 16:55
v6.9.3
a5d7cf5
Compare
Choose a tag to compare

Changelog

Bug fixes


Released with GoReleaser Pro!

v6.9.2

12 May 00:37
v6.9.2
302a103
Compare
Choose a tag to compare

Changelog

Bug fixes

Other work


Released with GoReleaser Pro!