github joho/godotenv v1.6.0-pre.3

pre-release3 hours ago

Ideally last pre before 1.6.0 actually goes out.

The new sentinel errors from #228 us fmt.Errorf and errors.Is from 1.13 so there is a small bump in supported version.

CI only tests last 5 versions so the floor set in go.mod is "best effort" (ie if I hear it's broken, i'll update go.mod rather than change anything)

What's Changed

  • Fix typo in hasQuotePrefix return variable by @parkerbxyz in #251
  • refactor: replace recursion with loop in getStatementStart by @Yanhu007 in #261
  • fix: don't treat closing quote as escaped after an escaped backslash by @SAY-5 in #262
  • Fixed backwards compatibility with godotenv 1.4.0 allowing hyphens in variable names. by @bocajim in #245
  • bugfix: fix an int parsing bug in godotenv.Marshal by @t3mp14r3 in #235
  • The env variable is already defined but has been declared again by @ghaninia in #198
  • Fix Precedence & Conventions in README.md by @kvokka in #243
  • Update README to reflect Go version requirement by @guettli in #254
  • simplify Replace(..,-1) by ReplaceAll for strings and bytes by @lotusirous in #252
  • Bump actions/checkout from 3 to 4 by @dependabot[bot] in #216
  • CI and Versioning updates by @joho in #263
  • docs: add usage for tool dependency in go1.24 by @ignatij in #240
  • Bump thatisuday/go-cross-build from 1.0.2 to 1.1.0 by @dependabot[bot] in #188

New Contributors

Full Changelog: v1.6.0-pre.2...v1.6.0-pre.3

Don't miss a new godotenv release

NewReleases is sending notifications on new releases.