joho/godotenv (github.com/joho/godotenv)
### [`v1.5.1`](https://togithub.com/joho/godotenv/releases/tag/v1.5.1): Fix parser regressions from multiline support
[Compare Source](https://togithub.com/joho/godotenv/compare/v1.5.0...v1.5.1)
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 behaviour
- `FOO.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.
#### What's Changed
- Fix bug where internal unquoted whitespace truncates values by [@joho](https://togithub.com/joho) in [https://github.com/joho/godotenv/pull/205](https://togithub.com/joho/godotenv/pull/205)
**Full Changelog**: https://github.com/joho/godotenv/compare/v1.5.0...v1.5.1
### [`v1.5.0`](https://togithub.com/joho/godotenv/releases/tag/v1.5.0): - multiline variables
[Compare Source](https://togithub.com/joho/godotenv/compare/v1.4.0...v1.5.0)
The big news this release is that godotenv finally, after much procrastination in review, supports multiline variables (fixes [#64](https://togithub.com/joho/godotenv/issues/64)). Big shoutout to [@x1unix](https://togithub.com/x1unix) for the bulk of the work on the original PR and also to [@coolaj86](https://togithub.com/coolaj86) and [@austinsasko](https://togithub.com/austinsasko) for some very helpful review and tweaks.
Also added a `-o` overload flag (thanks [@2tef](https://togithub.com/2tef))
#### What's Changed
- Try and fix go get in CI for power8 by [@joho](https://togithub.com/joho) in [https://github.com/joho/godotenv/pull/157](https://togithub.com/joho/godotenv/pull/157)
- Fix typos in comments and extend README by [@alexandear](https://togithub.com/alexandear) in [https://github.com/joho/godotenv/pull/177](https://togithub.com/joho/godotenv/pull/177)
- tune README by [@bikbah](https://togithub.com/bikbah) in [https://github.com/joho/godotenv/pull/170](https://togithub.com/joho/godotenv/pull/170)
- Remove renovate, add dependabot by [@joho](https://togithub.com/joho) in [https://github.com/joho/godotenv/pull/183](https://togithub.com/joho/godotenv/pull/183)
- Setup codeql by [@joho](https://togithub.com/joho) in [https://github.com/joho/godotenv/pull/186](https://togithub.com/joho/godotenv/pull/186)
- Bump actions/checkout from 2 to 3 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/joho/godotenv/pull/184](https://togithub.com/joho/godotenv/pull/184)
- Bump actions/setup-go from 2 to 3 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/joho/godotenv/pull/185](https://togithub.com/joho/godotenv/pull/185)
- Add darwin arm64 build by [@statik](https://togithub.com/statik) in [https://github.com/joho/godotenv/pull/174](https://togithub.com/joho/godotenv/pull/174)
- Sort Go import in README by [@Doarakko](https://togithub.com/Doarakko) in [https://github.com/joho/godotenv/pull/193](https://togithub.com/joho/godotenv/pull/193)
- Fix godoc formatting by [@joho](https://togithub.com/joho) in [https://github.com/joho/godotenv/pull/197](https://togithub.com/joho/godotenv/pull/197)
- fix tiny details by [@2tef](https://togithub.com/2tef) in [https://github.com/joho/godotenv/pull/199](https://togithub.com/joho/godotenv/pull/199)
- Multiline string support by [@x1unix](https://togithub.com/x1unix) in [https://github.com/joho/godotenv/pull/156](https://togithub.com/joho/godotenv/pull/156)
- Update CI to test go 1.20 by [@joho](https://togithub.com/joho) in [https://github.com/joho/godotenv/pull/201](https://togithub.com/joho/godotenv/pull/201)
- fix whitespace with gofmt by [@2tef](https://togithub.com/2tef) in [https://github.com/joho/godotenv/pull/203](https://togithub.com/joho/godotenv/pull/203)
- add overload flag by [@2tef](https://togithub.com/2tef) in [https://github.com/joho/godotenv/pull/200](https://togithub.com/joho/godotenv/pull/200)
- - Fix: ioutil.ReadAll() is deprecated, so removed it's dependency by [@dreygur](https://togithub.com/dreygur) in [https://github.com/joho/godotenv/pull/202](https://togithub.com/joho/godotenv/pull/202)
#### New Contributors
- [@x1unix](https://togithub.com/x1unix) made their first contribution in [https://github.com/joho/godotenv/pull/118](https://togithub.com/joho/godotenv/pull/118)
- [@alexandear](https://togithub.com/alexandear) made their first contribution in [https://github.com/joho/godotenv/pull/177](https://togithub.com/joho/godotenv/pull/177)
- [@bikbah](https://togithub.com/bikbah) made their first contribution in [https://github.com/joho/godotenv/pull/170](https://togithub.com/joho/godotenv/pull/170)
- [@dependabot](https://togithub.com/dependabot) made their first contribution in [https://github.com/joho/godotenv/pull/184](https://togithub.com/joho/godotenv/pull/184)
- [@statik](https://togithub.com/statik) made their first contribution in [https://github.com/joho/godotenv/pull/174](https://togithub.com/joho/godotenv/pull/174)
- [@Doarakko](https://togithub.com/Doarakko) made their first contribution in [https://github.com/joho/godotenv/pull/193](https://togithub.com/joho/godotenv/pull/193)
- [@2tef](https://togithub.com/2tef) made their first contribution in [https://github.com/joho/godotenv/pull/199](https://togithub.com/joho/godotenv/pull/199)
- [@dreygur](https://togithub.com/dreygur) made their first contribution in [https://github.com/joho/godotenv/pull/202](https://togithub.com/joho/godotenv/pull/202)
**Full Changelog**: https://github.com/joho/godotenv/compare/v1.4.0...v1.5.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
â™» Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
v1.4.0
->v1.5.1
Release Notes
joho/godotenv (github.com/joho/godotenv)
### [`v1.5.1`](https://togithub.com/joho/godotenv/releases/tag/v1.5.1): Fix parser regressions from multiline support [Compare Source](https://togithub.com/joho/godotenv/compare/v1.5.0...v1.5.1) 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 behaviour - `FOO.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. #### What's Changed - Fix bug where internal unquoted whitespace truncates values by [@joho](https://togithub.com/joho) in [https://github.com/joho/godotenv/pull/205](https://togithub.com/joho/godotenv/pull/205) **Full Changelog**: https://github.com/joho/godotenv/compare/v1.5.0...v1.5.1 ### [`v1.5.0`](https://togithub.com/joho/godotenv/releases/tag/v1.5.0): - multiline variables [Compare Source](https://togithub.com/joho/godotenv/compare/v1.4.0...v1.5.0) The big news this release is that godotenv finally, after much procrastination in review, supports multiline variables (fixes [#64](https://togithub.com/joho/godotenv/issues/64)). Big shoutout to [@x1unix](https://togithub.com/x1unix) for the bulk of the work on the original PR and also to [@coolaj86](https://togithub.com/coolaj86) and [@austinsasko](https://togithub.com/austinsasko) for some very helpful review and tweaks. Also added a `-o` overload flag (thanks [@2tef](https://togithub.com/2tef)) #### What's Changed - Try and fix go get in CI for power8 by [@joho](https://togithub.com/joho) in [https://github.com/joho/godotenv/pull/157](https://togithub.com/joho/godotenv/pull/157) - Fix typos in comments and extend README by [@alexandear](https://togithub.com/alexandear) in [https://github.com/joho/godotenv/pull/177](https://togithub.com/joho/godotenv/pull/177) - tune README by [@bikbah](https://togithub.com/bikbah) in [https://github.com/joho/godotenv/pull/170](https://togithub.com/joho/godotenv/pull/170) - Remove renovate, add dependabot by [@joho](https://togithub.com/joho) in [https://github.com/joho/godotenv/pull/183](https://togithub.com/joho/godotenv/pull/183) - Setup codeql by [@joho](https://togithub.com/joho) in [https://github.com/joho/godotenv/pull/186](https://togithub.com/joho/godotenv/pull/186) - Bump actions/checkout from 2 to 3 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/joho/godotenv/pull/184](https://togithub.com/joho/godotenv/pull/184) - Bump actions/setup-go from 2 to 3 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/joho/godotenv/pull/185](https://togithub.com/joho/godotenv/pull/185) - Add darwin arm64 build by [@statik](https://togithub.com/statik) in [https://github.com/joho/godotenv/pull/174](https://togithub.com/joho/godotenv/pull/174) - Sort Go import in README by [@Doarakko](https://togithub.com/Doarakko) in [https://github.com/joho/godotenv/pull/193](https://togithub.com/joho/godotenv/pull/193) - Fix godoc formatting by [@joho](https://togithub.com/joho) in [https://github.com/joho/godotenv/pull/197](https://togithub.com/joho/godotenv/pull/197) - fix tiny details by [@2tef](https://togithub.com/2tef) in [https://github.com/joho/godotenv/pull/199](https://togithub.com/joho/godotenv/pull/199) - Multiline string support by [@x1unix](https://togithub.com/x1unix) in [https://github.com/joho/godotenv/pull/156](https://togithub.com/joho/godotenv/pull/156) - Update CI to test go 1.20 by [@joho](https://togithub.com/joho) in [https://github.com/joho/godotenv/pull/201](https://togithub.com/joho/godotenv/pull/201) - fix whitespace with gofmt by [@2tef](https://togithub.com/2tef) in [https://github.com/joho/godotenv/pull/203](https://togithub.com/joho/godotenv/pull/203) - add overload flag by [@2tef](https://togithub.com/2tef) in [https://github.com/joho/godotenv/pull/200](https://togithub.com/joho/godotenv/pull/200) - - Fix: ioutil.ReadAll() is deprecated, so removed it's dependency by [@dreygur](https://togithub.com/dreygur) in [https://github.com/joho/godotenv/pull/202](https://togithub.com/joho/godotenv/pull/202) #### New Contributors - [@x1unix](https://togithub.com/x1unix) made their first contribution in [https://github.com/joho/godotenv/pull/118](https://togithub.com/joho/godotenv/pull/118) - [@alexandear](https://togithub.com/alexandear) made their first contribution in [https://github.com/joho/godotenv/pull/177](https://togithub.com/joho/godotenv/pull/177) - [@bikbah](https://togithub.com/bikbah) made their first contribution in [https://github.com/joho/godotenv/pull/170](https://togithub.com/joho/godotenv/pull/170) - [@dependabot](https://togithub.com/dependabot) made their first contribution in [https://github.com/joho/godotenv/pull/184](https://togithub.com/joho/godotenv/pull/184) - [@statik](https://togithub.com/statik) made their first contribution in [https://github.com/joho/godotenv/pull/174](https://togithub.com/joho/godotenv/pull/174) - [@Doarakko](https://togithub.com/Doarakko) made their first contribution in [https://github.com/joho/godotenv/pull/193](https://togithub.com/joho/godotenv/pull/193) - [@2tef](https://togithub.com/2tef) made their first contribution in [https://github.com/joho/godotenv/pull/199](https://togithub.com/joho/godotenv/pull/199) - [@dreygur](https://togithub.com/dreygur) made their first contribution in [https://github.com/joho/godotenv/pull/202](https://togithub.com/joho/godotenv/pull/202) **Full Changelog**: https://github.com/joho/godotenv/compare/v1.4.0...v1.5.0Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
â™» Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.