A Go port of Ruby's dotenv library (Loads environment variables from .env files)
Version 1.5 came with a whole new parser, and with a new parser comes new bugs.
Things that were broken in 1.5 that are now fixed:
export
statement filtering was made more robust and matched earlier versions behaviourFOO.BAR
key names are permitted again (i have no idea why you'd do it, but it's explicitly supported in ruby dotenv files)There's one breaking change: earlier versions of this library would allow unterminated quoted variables in some instances and return a value (ie FOO="bar
would set env of FOO: '"bar'
), this now returns an error.
Full Changelog: https://github.com/joho/godotenv/compare/v1.5.0...v1.5.1
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)
Full Changelog: https://github.com/joho/godotenv/compare/v1.4.0...v1.5.0
#64 has been fixed
Full Changelog: https://github.com/joho/godotenv/compare/v1.4.0...v1.5.0-beta.0
Sorry all, it's been a long time between releases. I have small children now!
Biggest changes are: #133 Fix missing newline on exported files @gnarlex #109 Export ints without quotes @mniak #70 Support keynames starting with export @hairyhenderson
I'll try and come back and amend the release with other PR contributors, but thank you to everyone who sent patches in.
Next release will include multiline variables.
Added in this version:
Added in this version:
Semver release as requested in #23
Includes
ENV
#13ENV
#8