Skip to content
This repository was archived by the owner on Apr 25, 2022. It is now read-only.

fix(deps): update module github.com/pkg/errors to v0.9.1#4

Open
mend-for-github-com[bot] wants to merge 1 commit intomasterfrom
whitesource-remediate/github.com-pkg-errors-0.x
Open

fix(deps): update module github.com/pkg/errors to v0.9.1#4
mend-for-github-com[bot] wants to merge 1 commit intomasterfrom
whitesource-remediate/github.com-pkg-errors-0.x

Conversation

@mend-for-github-com
Copy link

@mend-for-github-com mend-for-github-com bot commented Feb 25, 2022

This PR contains the following updates:

Package Type Update Change
github.com/pkg/errors require minor v0.8.0 -> v0.9.1

Release Notes

pkg/errors

v0.9.1

Compare Source

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.

v0.9.0

Compare Source

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.CallerFrames but 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, Is and As, and the Unwrap() interface like on the standard library.

The method Cause is now compatible with fmt.Errorf("%w", err) and with the Unwrap() interface.

On the same way the methods related with wrapping on this package now are compatible with Cause and Unwrap() interface.

Improvements

Bugs fixed

  • .travis.yml Adjust 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.

v0.8.1

Compare Source

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.CallersFrames API.

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 to runtime.CallersFrames.

Improvements

Bugs fixed


Configuration

📅 Schedule: "every weekend" in timezone GB.

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, click this checkbox.

@mend-for-github-com mend-for-github-com bot changed the title Update module github.com/pkg/errors to v0.9.1 fix(deps): update module github.com/pkg/errors to v0.9.1 Mar 2, 2022
@mend-for-github-com mend-for-github-com bot force-pushed the whitesource-remediate/github.com-pkg-errors-0.x branch from 68ba520 to a571c5e Compare April 17, 2022 21:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants