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
hasQuotePrefixreturn variable by @parkerbxyz in https://github.com/joho/godotenv/pull/251 - refactor: replace recursion with loop in getStatementStart by @Yanhu007 in https://github.com/joho/godotenv/pull/261
- fix: don't treat closing quote as escaped after an escaped backslash by @SAY-5 in https://github.com/joho/godotenv/pull/262
- Fixed backwards compatibility with godotenv 1.4.0 allowing hyphens in variable names. by @bocajim in https://github.com/joho/godotenv/pull/245
- bugfix: fix an int parsing bug in godotenv.Marshal by @t3mp14r3 in https://github.com/joho/godotenv/pull/235
- The
envvariable is already defined but has been declared again by @ghaninia in https://github.com/joho/godotenv/pull/198 - Fix Precedence & Conventions in README.md by @kvokka in https://github.com/joho/godotenv/pull/243
- Update README to reflect Go version requirement by @guettli in https://github.com/joho/godotenv/pull/254
- simplify Replace(..,-1) by ReplaceAll for strings and bytes by @lotusirous in https://github.com/joho/godotenv/pull/252
- Bump actions/checkout from 3 to 4 by @dependabot[bot] in https://github.com/joho/godotenv/pull/216
- CI and Versioning updates by @joho in https://github.com/joho/godotenv/pull/263
- docs: add usage for tool dependency in go1.24 by @ignatij in https://github.com/joho/godotenv/pull/240
- Bump thatisuday/go-cross-build from 1.0.2 to 1.1.0 by @dependabot[bot] in https://github.com/joho/godotenv/pull/188
New Contributors
- @parkerbxyz made their first contribution in https://github.com/joho/godotenv/pull/251
- @Yanhu007 made their first contribution in https://github.com/joho/godotenv/pull/261
- @SAY-5 made their first contribution in https://github.com/joho/godotenv/pull/262
- @bocajim made their first contribution in https://github.com/joho/godotenv/pull/245
- @t3mp14r3 made their first contribution in https://github.com/joho/godotenv/pull/235
- @ghaninia made their first contribution in https://github.com/joho/godotenv/pull/198
- @kvokka made their first contribution in https://github.com/joho/godotenv/pull/243
- @guettli made their first contribution in https://github.com/joho/godotenv/pull/254
- @ignatij made their first contribution in https://github.com/joho/godotenv/pull/240
Full Changelog: https://github.com/joho/godotenv/compare/v1.6.0-pre.2...v1.6.0-pre.3