All Versions
7
Latest Version
Avg Release Cycle
792 days
Latest Release
22 days ago

Changelog History

  • v1.6.0-pre.4 Changes

    May 25, 2026

    ๐Ÿš€ Small CI fixes after leaving main broken on the pre-release 3 changes.

    What's Changed

    • Definitively commit to allowing hyphens (again) by @joho in #264
    • ๐Ÿ Point CI to new windows tag by @joho in #265

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

  • v1.6.0-pre.3 Changes

    May 20, 2026

    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

  • v1.5.0 Changes

    February 04, 2023

    ๐Ÿš€ The big news this release is that godotenv finally, after much procrastination in review, supports multiline variables (fixes #64). Big shoutout to @x1unix for the bulk of the work on the original PR and also to @coolaj86 and @austinsasko for some very helpful review and tweaks.

    Also added a -o overload flag (thanks @2tef)

    What's Changed

    - โž• add overload flag by @2tef in #200

    • Fix: ioutil.ReadAll() is deprecated, so removed it's dependency by @dreygur in #202

    ๐Ÿ†• New Contributors

    Full Changelog : v1.4.0...v1.5.0

  • v1.3.0 Changes

    September 11, 2018

    โž• Added in this version:

  • v1.2.0 Changes

    September 20, 2017

    โž• Added in this version:

    • โž• Added Marshal, Unmarshal, and Write methods to write .env files back to disk (or string) #35 #41 #42 thanks @alexquick
    • โž• Added Parse(r io.Reader) to read env out of streams #36 thanks @pda
    • ๐Ÿ“œ Small parsing fixes #34 thanks @alexquick
    • Some repository quality of life stuff #33 thanks @crash7
  • v1.1 Changes

    March 30, 2017

    ๐Ÿš€ Semver release as requested in #23

    Includes

    • โž• Adding Overload method to overwrite existing ENV #13
    • ๐Ÿ”„ Change Read to always return what's read rather than what's read that isn't already in ENV #8
    • ๐Ÿ– Handle more errors #22
  • v0.0.0-testingreleases

    February 05, 2023