Bump github.com/joho/godotenv from 1.4.0 to 1.5.1
Bumps github.com/joho/godotenv from 1.4.0 to 1.5.1.
Release notes
Sourced from github.com/joho/godotenv's releases.
Fix parser regressions from multiline support
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:
- unquoted variables with interior whitespace no longer split on the first space (and then break the following line if you have one)
- inline comments now work again for both quoted and unquoted variables
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 ofFOO: '"bar'
), this now returns an error.What's Changed
- Fix bug where internal unquoted whitespace truncates values by
@joho
in joho/godotenv#205Full Changelog: https://github.com/joho/godotenv/compare/v1.5.0...v1.5.1
v1.5.0 - multiline variables
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
- Try and fix go get in CI for power8 by
@joho
in joho/godotenv#157- Fix typos in comments and extend README by
@alexandear
in joho/godotenv#177- tune README by
@bikbah
in joho/godotenv#170- Remove renovate, add dependabot by
@joho
in joho/godotenv#183- Setup codeql by
@joho
in joho/godotenv#186- Bump actions/checkout from 2 to 3 by
@dependabot
in joho/godotenv#184- Bump actions/setup-go from 2 to 3 by
@dependabot
in joho/godotenv#185- Add darwin arm64 build by
@statik
in joho/godotenv#174- Sort Go import in README by
@Doarakko
in joho/godotenv#193- Fix godoc formatting by
@joho
in joho/godotenv#197- fix tiny details by
@2tef
in joho/godotenv#199- Multiline string support by
@x1unix
in joho/godotenv#156- Update CI to test go 1.20 by
@joho
in joho/godotenv#201- fix whitespace with gofmt by
@2tef
in joho/godotenv#203- add overload flag by
@2tef
in joho/godotenv#200
- Fix: ioutil.ReadAll() is deprecated, so removed it's dependency by
@dreygur
in joho/godotenv#202New Contributors
@x1unix
made their first contribution in joho/godotenv#118@alexandear
made their first contribution in joho/godotenv#177@bikbah
made their first contribution in joho/godotenv#170@dependabot
made their first contribution in joho/godotenv#184@statik
made their first contribution in joho/godotenv#174@Doarakko
made their first contribution in joho/godotenv#193@2tef
made their first contribution in joho/godotenv#199@dreygur
made their first contribution in joho/godotenv#202
... (truncated)
Commits
-
3fc4292
Fix bug where internal unquoted whitespace truncates values (#205) -
b311b26
Fix: ioutil.ReadAll() is deprecated, so removed it's dependency (#202) -
4321598
add overload flag (#200) -
32a3b9b
fix whitespace with gofmt (#203) -
06bf2d6
Update CI to test go 1.20 (#201) -
cc9e9b7
Multiline string support (#156) -
0f21d20
fix tiny details (#199) -
5c76d3e
Add punctuation to please godoc (#197) -
85a2237
sort go import in readme (#193) -
add39c6
Remove power8 again as it wasn't fixed - Additional commits viewable in compare view