Bump github.com/pkg/errors from 0.8.0 to 0.9.1
Bumps github.com/pkg/errors from 0.8.0 to 0.9.1.
Release notes
Sourced from github.com/pkg/errors's releases.
errors 0.9.1
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: #215 and many breaking changes was produced by that.
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.
We tried to move into
runtime.CallerFramesbut this was not possible, you can show the explanation here: Issue 188.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.
Now you could use the methods,
IsandAs, and theUnwrap()interface like on the standard library.The method
Causeis now compatible withfmt.Errorf("%w", err)and with theUnwrap()interface.On the same way the methods related with
wrappingon this package now are compatible withCauseandUnwrap()interface.Improvements
.travis.ymlNow use make file.- reduce allocations when printing stack traces. Thanks @cstockton
- Reduce allocations in Stacktrace.Format
- Add Support to Go 1.13. Thanks @jayschwa, @Sherlock-Holo and @puellanivis.
- Add json.Marshaler support to the Frame type. Thanks @flimzy
Bugs fixed
.travis.ymlAdjust Go versions. Thanks @komuw, @aperezg- minor fix in an example to print Stack Trace. Thanks @bep.
- Remove not necessary code.
- Clean up documentation. Thanks @seh.
errors 0.8.1
pkg/errors 0.8.1 is a bug fix release for errors 0.8.0. It will be the last version to support Go 1.8 and below. pkg/errors 0.9 and above will require Go 1.9 for the new
runtime.CallersFramesAPI.pkg/errors 0.8.1 also adds one new feature,
errors.WithMessagef. Ideally this would be held over til 0.9, but that complicates the switch toruntime.CallersFrames.Improvements
- Added
errors.WithMessagef. Thanks @chemicL.Bugs fixed
.travis.yml. Adjust Go versions. Thanks @AlekSi, @dvrkps, @HaraldNordgren, and @komuw- Fixed gofmt. Thanks @tariq1890
- Copyedit the package documentation. Thanks @seh, @TomSweeneyRedHat, @nicksnyder, and @beono
- Remove unreachable code. Thanks @philoserf and @haya14busa
- Move benchmark error sink to global variable. Thanks @bradleyfalzon
- Fix minor newline consistency issues in test files. Thanks @nmiyake
- Add doc comment for exported Format func. Thanks @mrhwick and @ihrwein
Commits
614d223Revert "Support Go 1.13 error chains inCause(#215)" (#220)49f8f61Support Go 1.13 error chains inCause(#215)004deefremove unnecessary use of fmt.Sprintf (#217)6d954f5feat: support std errors functions (#213)7f95ac1Add support for Go 1.13 error chains (#206)91f1693travis.yml: add Go 1.13ca0248efix travis, 1.10 doesnt support by unconvert anymore27936f6travis.yml: add Go 1.12 (#200)856c240Add json.Marshaler support to the Frame type. (#197)ffb6e22Reduce allocations in StackTrace.Format (#194)- Additional commits viewable in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill 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 versionwill 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 dependencywill 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 labelswill set the current labels as the default for future PRs for this repo and language@dependabot use these reviewerswill set the current reviewers as the default for future PRs for this repo and language@dependabot use these assigneeswill set the current assignees as the default for future PRs for this repo and language@dependabot use this milestonewill set the current milestone as the default for future PRs for this repo and language@dependabot badge mewill 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:
- 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)
Dependabot tried to update this pull request, but something went wrong. The most likely cause is #270, which may be blocking Dependabot from updating your dependency files.
Dependabot tried to update this pull request, but something went wrong. The most likely cause is #270, which may be blocking Dependabot from updating your dependency files.
Dependabot tried to update this pull request, but something went wrong. The most likely cause is #270, which may be blocking Dependabot from updating your dependency files.
Dependabot tried to update this pull request, but something went wrong. The most likely cause is #270, which may be blocking Dependabot from updating your dependency files.
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.