[PR #1614] [MERGED] build(deps): bump github.com/joho/godotenv from 1.4.0 to 1.5.1 #2031

Closed
opened 2026-03-01 21:53:43 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/nektos/act/pull/1614
Author: @dependabot[bot]
Created: 2/6/2023
Status: Merged
Merged: 2/6/2023
Merged by: @mergify[bot]

Base: masterHead: dependabot/go_modules/github.com/joho/godotenv-1.5.1


📝 Commits (1)

  • 6e33f6c build(deps): bump github.com/joho/godotenv from 1.4.0 to 1.5.1

📊 Changes

2 files changed (+3 additions, -3 deletions)

View changed files

📝 go.mod (+1 -1)
📝 go.sum (+2 -2)

📄 Description

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

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/nektos/act/pull/1614 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 2/6/2023 **Status:** ✅ Merged **Merged:** 2/6/2023 **Merged by:** [@mergify[bot]](https://github.com/apps/mergify) **Base:** `master` ← **Head:** `dependabot/go_modules/github.com/joho/godotenv-1.5.1` --- ### 📝 Commits (1) - [`6e33f6c`](https://github.com/nektos/act/commit/6e33f6cd182aa8af6d97ea2803f791dea744a3be) build(deps): bump github.com/joho/godotenv from 1.4.0 to 1.5.1 ### 📊 Changes **2 files changed** (+3 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `go.mod` (+1 -1) 📝 `go.sum` (+2 -2) </details> ### 📄 Description Bumps [github.com/joho/godotenv](https://github.com/joho/godotenv) from 1.4.0 to 1.5.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/joho/godotenv/releases">github.com/joho/godotenv's releases</a>.</em></p> <blockquote> <h2>Fix parser regressions from multiline support</h2> <p>Version 1.5 came with a whole new parser, and with a new parser comes new bugs.</p> <p>Things that were broken in 1.5 that are now fixed:</p> <ul> <li>unquoted variables with interior whitespace no longer split on the first space (and then break the following line if you have one)</li> <li>inline comments now work again for both quoted and unquoted variables</li> <li><code>export </code> statement filtering was made more robust and matched earlier versions behaviour</li> <li><code>FOO.BAR</code> key names are permitted again (i have no idea why you'd do it, but it's explicitly supported in ruby dotenv files)</li> </ul> <p>There's one breaking change: earlier versions of this library would allow unterminated quoted variables in some instances and return a value (ie <code>FOO=&quot;bar</code> would set env of <code>FOO: '&quot;bar'</code>), this now returns an error.</p> <h2>What's Changed</h2> <ul> <li>Fix bug where internal unquoted whitespace truncates values by <a href="https://github.com/joho"><code>@​joho</code></a> in <a href="https://github-redirect.dependabot.com/joho/godotenv/pull/205">joho/godotenv#205</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/joho/godotenv/compare/v1.5.0...v1.5.1">https://github.com/joho/godotenv/compare/v1.5.0...v1.5.1</a></p> <h2>v1.5.0 - multiline variables</h2> <p>The big news this release is that godotenv finally, after much procrastination in review, supports multiline variables (fixes <a href="https://github-redirect.dependabot.com/joho/godotenv/issues/64">#64</a>). Big shoutout to <a href="https://github.com/x1unix"><code>@​x1unix</code></a> for the bulk of the work on the original PR and also to <a href="https://github.com/coolaj86"><code>@​coolaj86</code></a> and <a href="https://github.com/austinsasko"><code>@​austinsasko</code></a> for some very helpful review and tweaks.</p> <p>Also added a <code>-o</code> overload flag (thanks <a href="https://github.com/2tef"><code>@​2tef</code></a>)</p> <h2>What's Changed</h2> <ul> <li>Try and fix go get in CI for power8 by <a href="https://github.com/joho"><code>@​joho</code></a> in <a href="https://github-redirect.dependabot.com/joho/godotenv/pull/157">joho/godotenv#157</a></li> <li>Fix typos in comments and extend README by <a href="https://github.com/alexandear"><code>@​alexandear</code></a> in <a href="https://github-redirect.dependabot.com/joho/godotenv/pull/177">joho/godotenv#177</a></li> <li>tune README by <a href="https://github.com/bikbah"><code>@​bikbah</code></a> in <a href="https://github-redirect.dependabot.com/joho/godotenv/pull/170">joho/godotenv#170</a></li> <li>Remove renovate, add dependabot by <a href="https://github.com/joho"><code>@​joho</code></a> in <a href="https://github-redirect.dependabot.com/joho/godotenv/pull/183">joho/godotenv#183</a></li> <li>Setup codeql by <a href="https://github.com/joho"><code>@​joho</code></a> in <a href="https://github-redirect.dependabot.com/joho/godotenv/pull/186">joho/godotenv#186</a></li> <li>Bump actions/checkout from 2 to 3 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://github-redirect.dependabot.com/joho/godotenv/pull/184">joho/godotenv#184</a></li> <li>Bump actions/setup-go from 2 to 3 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://github-redirect.dependabot.com/joho/godotenv/pull/185">joho/godotenv#185</a></li> <li>Add darwin arm64 build by <a href="https://github.com/statik"><code>@​statik</code></a> in <a href="https://github-redirect.dependabot.com/joho/godotenv/pull/174">joho/godotenv#174</a></li> <li>Sort Go import in README by <a href="https://github.com/Doarakko"><code>@​Doarakko</code></a> in <a href="https://github-redirect.dependabot.com/joho/godotenv/pull/193">joho/godotenv#193</a></li> <li>Fix godoc formatting by <a href="https://github.com/joho"><code>@​joho</code></a> in <a href="https://github-redirect.dependabot.com/joho/godotenv/pull/197">joho/godotenv#197</a></li> <li>fix tiny details by <a href="https://github.com/2tef"><code>@​2tef</code></a> in <a href="https://github-redirect.dependabot.com/joho/godotenv/pull/199">joho/godotenv#199</a></li> <li>Multiline string support by <a href="https://github.com/x1unix"><code>@​x1unix</code></a> in <a href="https://github-redirect.dependabot.com/joho/godotenv/pull/156">joho/godotenv#156</a></li> <li>Update CI to test go 1.20 by <a href="https://github.com/joho"><code>@​joho</code></a> in <a href="https://github-redirect.dependabot.com/joho/godotenv/pull/201">joho/godotenv#201</a></li> <li>fix whitespace with gofmt by <a href="https://github.com/2tef"><code>@​2tef</code></a> in <a href="https://github-redirect.dependabot.com/joho/godotenv/pull/203">joho/godotenv#203</a></li> <li>add overload flag by <a href="https://github.com/2tef"><code>@​2tef</code></a> in <a href="https://github-redirect.dependabot.com/joho/godotenv/pull/200">joho/godotenv#200</a></li> <li> <ul> <li>Fix: ioutil.ReadAll() is deprecated, so removed it's dependency by <a href="https://github.com/dreygur"><code>@​dreygur</code></a> in <a href="https://github-redirect.dependabot.com/joho/godotenv/pull/202">joho/godotenv#202</a></li> </ul> </li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/x1unix"><code>@​x1unix</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/joho/godotenv/pull/118">joho/godotenv#118</a></li> <li><a href="https://github.com/alexandear"><code>@​alexandear</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/joho/godotenv/pull/177">joho/godotenv#177</a></li> <li><a href="https://github.com/bikbah"><code>@​bikbah</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/joho/godotenv/pull/170">joho/godotenv#170</a></li> <li><a href="https://github.com/dependabot"><code>@​dependabot</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/joho/godotenv/pull/184">joho/godotenv#184</a></li> <li><a href="https://github.com/statik"><code>@​statik</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/joho/godotenv/pull/174">joho/godotenv#174</a></li> <li><a href="https://github.com/Doarakko"><code>@​Doarakko</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/joho/godotenv/pull/193">joho/godotenv#193</a></li> <li><a href="https://github.com/2tef"><code>@​2tef</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/joho/godotenv/pull/199">joho/godotenv#199</a></li> <li><a href="https://github.com/dreygur"><code>@​dreygur</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/joho/godotenv/pull/202">joho/godotenv#202</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/joho/godotenv/commit/3fc4292b58a67b78e1dbb6e47b4879a6cc602ec4"><code>3fc4292</code></a> Fix bug where internal unquoted whitespace truncates values (<a href="https://github-redirect.dependabot.com/joho/godotenv/issues/205">#205</a>)</li> <li><a href="https://github.com/joho/godotenv/commit/b311b2657d7c3f549674adf6080d032437caa68c"><code>b311b26</code></a> Fix: ioutil.ReadAll() is deprecated, so removed it's dependency (<a href="https://github-redirect.dependabot.com/joho/godotenv/issues/202">#202</a>)</li> <li><a href="https://github.com/joho/godotenv/commit/4321598b05f72577f12b0a727d75b003df595ef7"><code>4321598</code></a> add overload flag (<a href="https://github-redirect.dependabot.com/joho/godotenv/issues/200">#200</a>)</li> <li><a href="https://github.com/joho/godotenv/commit/32a3b9b960f8e8da7cc208e114a1a65862777322"><code>32a3b9b</code></a> fix whitespace with gofmt (<a href="https://github-redirect.dependabot.com/joho/godotenv/issues/203">#203</a>)</li> <li><a href="https://github.com/joho/godotenv/commit/06bf2d6190cad19fb43e8980c57503ee2edf4367"><code>06bf2d6</code></a> Update CI to test go 1.20 (<a href="https://github-redirect.dependabot.com/joho/godotenv/issues/201">#201</a>)</li> <li><a href="https://github.com/joho/godotenv/commit/cc9e9b7de7cabb89c4619f757a44883860c285c2"><code>cc9e9b7</code></a> Multiline string support (<a href="https://github-redirect.dependabot.com/joho/godotenv/issues/156">#156</a>)</li> <li><a href="https://github.com/joho/godotenv/commit/0f21d20acbcc34afe1201f21c9df8acec8a65da8"><code>0f21d20</code></a> fix tiny details (<a href="https://github-redirect.dependabot.com/joho/godotenv/issues/199">#199</a>)</li> <li><a href="https://github.com/joho/godotenv/commit/5c76d3e02c63f90a1bfae60738bbc24ba16f05c4"><code>5c76d3e</code></a> Add punctuation to please godoc (<a href="https://github-redirect.dependabot.com/joho/godotenv/issues/197">#197</a>)</li> <li><a href="https://github.com/joho/godotenv/commit/85a22371267105132a9ef0393ff91c33ca694f9d"><code>85a2237</code></a> sort go import in readme (<a href="https://github-redirect.dependabot.com/joho/godotenv/issues/193">#193</a>)</li> <li><a href="https://github.com/joho/godotenv/commit/add39c6f94ba6aedc178b80b33eb9f2d6ae8f2ec"><code>add39c6</code></a> Remove power8 again as it wasn't fixed</li> <li>Additional commits viewable in <a href="https://github.com/joho/godotenv/compare/v1.4.0...v1.5.1">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/joho/godotenv&package-manager=go_modules&previous-version=1.4.0&new-version=1.5.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-01 21:53:43 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/act#2031
No description provided.