Update module github.com/pkg/errors to v0.9.1 #14

Closed
mlamalle wants to merge 1 commits from renovate/github.com-pkg-errors-0.x into master
Owner

This PR contains the following updates:

Package Type Update Change
github.com/pkg/errors require minor v0.8.1 -> 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.

Configuration

? Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

? 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.

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github.com/pkg/errors](https://github.com/pkg/errors) | require | minor | `v0.8.1` -> `v0.9.1` | --- ### Release Notes <details> <summary>pkg/errors</summary> ### [`v0.9.1`](https://github.com/pkg/errors/releases/tag/v0.9.1) [Compare Source](https://github.com/pkg/errors/compare/v0.9.0...v0.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: [#&#8203;215](https://github.com/pkg/errors/issues/215) and many breaking changes was produced by that. ### [`v0.9.0`](https://github.com/pkg/errors/releases/tag/v0.9.0) [Compare Source](https://github.com/pkg/errors/compare/v0.8.1...v0.9.0) 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](https://github.com/pkg/errors/issues/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 - `.travis.yml` Now use make file. - reduce allocations when printing stack traces. Thanks [@&#8203;cstockton](https://github.com/cstockton) - Reduce allocations in Stacktrace.Format - Add Support to Go 1.13. Thanks [@&#8203;jayschwa](https://github.com/jayschwa), [@&#8203;Sherlock-Holo](https://github.com/Sherlock-Holo) and [@&#8203;puellanivis](https://github.com/puellanivis). - Add json.Marshaler support to the Frame type. Thanks [@&#8203;flimzy](https://github.com/flimzy) ### Bugs fixed - `.travis.yml` Adjust Go versions. Thanks [@&#8203;komuw](https://github.com/komuw), [@&#8203;aperezg](https://github.com/aperezg) - minor fix in an example to print Stack Trace. Thanks [@&#8203;bep](https://github.com/bep). - Remove not necessary code. - Clean up documentation. Thanks [@&#8203;seh](https://github.com/seh). </details> --- ### Configuration ? **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). ? **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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4xODYuMiIsInVwZGF0ZWRJblZlciI6IjMyLjE4Ni4yIn0=-->
mlamalle added 1 commit 2022-09-02 15:17:47 +02:00
renovate/artifacts Artifact file update failure
60e88a8f57
Update module github.com/pkg/errors to v0.9.1
Author
Owner

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: go.sum
Command failed: docker pull docker.io/renovate/go:1.19.0
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

### ⚠ Artifact update problem Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens: - any of the package files in this branch needs updating, or - the branch becomes conflicted, or - you click the rebase/retry checkbox if found above, or - you rename this PR's title to start with "rebase!" to trigger it manually The artifact failure details are included below: ##### File name: go.sum ``` Command failed: docker pull docker.io/renovate/go:1.19.0 Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? ```
mlamalle closed this pull request 2022-09-02 15:36:58 +02:00
Some checks failed
renovate/artifacts Artifact file update failure

Pull request closed

Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
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: mlamalle/foodoles#14
No description provided.