Skip to content

Commit 4c6566c

Browse files
dependabot[bot]monty-botacabarbaye
authored
Bump github.com/joho/godotenv from 1.4.0 to 1.5.1 in /utils (#204)
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) You can trigger a rebase of this PR 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> --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Monty Bot <[email protected]> Co-authored-by: Adrien CABARBAYE <[email protected]>
1 parent 87d66c6 commit 4c6566c

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

changes/20230206111213.bugfix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Dependency upgrade: godotenv-1.5.1

changes/20230206111216.bugfix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Dependency upgrade: godotenv-1.5.1

utils/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ require (
2020
github.com/golang/mock v1.6.0
2121
github.com/hashicorp/go-cleanhttp v0.5.2
2222
github.com/hashicorp/go-retryablehttp v0.7.2
23-
github.com/joho/godotenv v1.4.0
23+
github.com/joho/godotenv v1.5.1
2424
github.com/mitchellh/mapstructure v1.5.0
2525
github.com/rifflock/lfshook v0.0.0-20180920164130-b9218ef580f5
2626
github.com/rs/zerolog v1.29.0

utils/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -655,8 +655,8 @@ github.com/imdario/mergo v0.3.13/go.mod h1:4lJ1jqUDcsbIECGy0RUJAXNIhg+6ocWgb1ALK
655655
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 h1:BQSFePA1RWJOlocH6Fxy8MmwDt+yVQYULKfN0RoTN8A=
656656
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99/go.mod h1:1lJo3i6rXxKeerYnT8Nvf0QmHCRC1n8sfWVwXF2Frvo=
657657
github.com/jessevdk/go-flags v1.5.0/go.mod h1:Fw0T6WPc1dYxT4mKEZRfG5kJhaTDP9pj1c2EWnYs/m4=
658-
github.com/joho/godotenv v1.4.0 h1:3l4+N6zfMWnkbPEXKng2o2/MR5mSwTrBih4ZEkkz1lg=
659-
github.com/joho/godotenv v1.4.0/go.mod h1:f4LDr5Voq0i2e/R5DDNOoa2zzDfwtkZa6DnEwAbqwq4=
658+
github.com/joho/godotenv v1.5.1 h1:7eLL/+HRGLY0ldzfGMeQkb7vMd0as4CfYvUVzLqw0N0=
659+
github.com/joho/godotenv v1.5.1/go.mod h1:f4LDr5Voq0i2e/R5DDNOoa2zzDfwtkZa6DnEwAbqwq4=
660660
github.com/jpillora/backoff v1.0.0/go.mod h1:J/6gKK9jxlEcS3zixgDgUAsiuZ7yrSoa/FX5e0EB2j4=
661661
github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU=
662662
github.com/json-iterator/go v1.1.9/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4=

0 commit comments

Comments
 (0)