Skip to content
Snippets Groups Projects

Bump github.com/joho/godotenv from 1.4.0 to 1.5.1

Merged Ghost User requested to merge dependabot-go_modules-github.com-joho-godotenv-1.5.1 into main

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 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

Full 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

New Contributors

... (truncated)

Commits

Merge request reports

Pipeline #11216 passed

Pipeline passed for 82031978 on dependabot-go_modules-github.com-joho-godotenv-1.5.1

Test coverage 50.47% from 1 job
Approved by

Merged by AddshoreAddshore 1 year ago (Feb 10, 2023 4:14pm UTC)

Loading

Pipeline #11231 canceled

Pipeline canceled for 8d6098e3 on main

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply