Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump github.com/pkg/errors from 0.8.1 to 0.9.1 (#176)
Bump github.com/pkg/errors from 0.8.1 to 0.9.1Bumps [github.com/pkg/errors](https://github.com/pkg/errors) from 0.8.1 to 0.9.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pkg/errors/releases">github.com/pkg/errors's releases</a>.</em></p> <blockquote> <h2>errors 0.9.1</h2> <p>pkg/errors 0.9.1 is a bug fix release for errors 0.9.0. This restore the previous behaviour on Cause method, this behaviour was changed on the PR: <a href="https://github-redirect.dependabot.com/pkg/errors/issues/215">#215</a> and many breaking changes was produced by that.</p> <p>errors 0.9.0 is a preparation release for a 1.0 final release. Also we were working on removing support for Go 1.8, 1.9 and 1.10 and earlier, and become compatible this package with new way of errors on Go 1.13.</p> <p>We tried to move into <code>runtime.CallerFrames</code> but this was not possible, you can show the explanation here: <a href="https://github-redirect.dependabot.com/pkg/errors/issues/188">Issue 188</a>.</p> <p>The motivation for do the backward compatible this package with Go 1.13 is that you can migrate the easy way for this to the new way.</p> <p>Now you could use the methods, <code>Is</code> and <code>As</code>, and the <code>Unwrap()</code> interface like on the standard library.</p> <p>The method <code>Cause</code> is now compatible with <code>fmt.Errorf("%w", err)</code> and with the <code>Unwrap()</code> interface.</p> <p>On the same way the methods related with <code>wrapping</code> on this package now are compatible with <code>Cause</code> and <code>Unwrap()</code> interface.</p> <h1>Improvements</h1> <ul> <li><code>.travis.yml</code> Now use make file.</li> <li>reduce allocations when printing stack traces. Thanks <a href="https://github.com/cstockton">@cstockton</a></li> <li>Reduce allocations in Stacktrace.Format</li> <li>Add Support to Go 1.13. Thanks <a href="https://github.com/jayschwa">@jayschwa</a>, <a href="https://github.com/Sherlock-Holo">@Sherlock-Holo</a> and <a href="https://github.com/puellanivis">@puellanivis</a>.</li> <li>Add json.Marshaler support to the Frame type. Thanks <a href="https://github.com/flimzy">@flimzy</a></li> </ul> <h1>Bugs fixed</h1> <ul> <li><code>.travis.yml</code> Adjust Go versions. Thanks <a href="https://github.com/komuw">@komuw</a>, <a href="https://github.com/aperezg">@aperezg</a></li> <li>minor fix in an example to print Stack Trace. Thanks <a href="https://github.com/bep">@bep</a>.</li> <li>Remove not necessary code.</li> <li>Clean up documentation. Thanks <a href="https://github.com/seh">@seh</a>.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pkg/errors/commit/614d223910a179a466c1767a985424175c39b465"><code>614d223</code></a> Revert "Support Go 1.13 error chains in <code>Cause</code> (<a href="https://github-redirect.dependabot.com/pkg/errors/issues/215">#215</a>)" (<a href="https://github-redirect.dependabot.com/pkg/errors/issues/220">#220</a>)</li> <li><a href="https://github.com/pkg/errors/commit/49f8f617296114c890ae0b7ac18c5953d2b1ca0f"><code>49f8f61</code></a> Support Go 1.13 error chains in <code>Cause</code> (<a href="https://github-redirect.dependabot.com/pkg/errors/issues/215">#215</a>)</li> <li><a href="https://github.com/pkg/errors/commit/004deef56200d8bd57ebfd6f8734c08fbd003f6d"><code>004deef</code></a> remove unnecessary use of fmt.Sprintf (<a href="https://github-redirect.dependabot.com/pkg/errors/issues/217">#217</a>)</li> <li><a href="https://github.com/pkg/errors/commit/6d954f502eb89cd315e4baae5b0e0db516d6f787"><code>6d954f5</code></a> feat: support std errors functions (<a href="https://github-redirect.dependabot.com/pkg/errors/issues/213">#213</a>)</li> <li><a href="https://github.com/pkg/errors/commit/7f95ac13edff643b8ce5398b6ccab125f8a20c1a"><code>7f95ac1</code></a> Add support for Go 1.13 error chains (<a href="https://github-redirect.dependabot.com/pkg/errors/issues/206">#206</a>)</li> <li><a href="https://github.com/pkg/errors/commit/91f169312d9bf0c7709dc198651b9505ba85a239"><code>91f1693</code></a> travis.yml: add Go 1.13</li> <li><a href="https://github.com/pkg/errors/commit/ca0248e19befb8f46baae51a5a9951dd47740db5"><code>ca0248e</code></a> fix travis, 1.10 doesnt support by unconvert anymore</li> <li><a href="https://github.com/pkg/errors/commit/27936f6d90f9c8e1145f11ed52ffffbfdb9e0af7"><code>27936f6</code></a> travis.yml: add Go 1.12 (<a href="https://github-redirect.dependabot.com/pkg/errors/issues/200">#200</a>)</li> <li><a href="https://github.com/pkg/errors/commit/856c240a51a2bf8fb8269ea7f3f9b046aadde36e"><code>856c240</code></a> Add json.Marshaler support to the Frame type. (<a href="https://github-redirect.dependabot.com/pkg/errors/issues/197">#197</a>)</li> <li><a href="https://github.com/pkg/errors/commit/ffb6e22f01932bf7ac35e0bad9be11f01d1c8685"><code>ffb6e22</code></a> Reduce allocations in StackTrace.Format (<a href="https://github-redirect.dependabot.com/pkg/errors/issues/194">#194</a>)</li> <li>Additional commits viewable in <a href="https://github.com/pkg/errors/compare/v0.8.1...v0.9.1">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=github.com/pkg/errors&package-manager=go_modules&previous-version=0.8.1&new-version=0.9.1)](https://dependabot.com/compatibility-score/?dependency-name=github.com/pkg/errors&package-manager=go_modules&previous-version=0.8.1&new-version=0.9.1) 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) --- **Note:** This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit. You can always request more updates by clicking `Bump now` in your [Dependabot dashboard](https://app.dependabot.com). <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) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) </details>
- Loading branch information