pkg/errors
### [`v0.9.1`](https://togithub.com/pkg/errors/releases/tag/v0.9.1)
[Compare Source](https://togithub.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: [#215](https://togithub.com/pkg/errors/issues/215) and many breaking changes was produced by that.
### [`v0.9.0`](https://togithub.com/pkg/errors/releases/tag/v0.9.0)
[Compare Source](https://togithub.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://togithub.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 [@cstockton](https://togithub.com/cstockton)
- Reduce allocations in Stacktrace.Format
- Add Support to Go 1.13. Thanks [@jayschwa](https://togithub.com/jayschwa), [@Sherlock-Holo](https://togithub.com/Sherlock-Holo) and [@puellanivis](https://togithub.com/puellanivis).
- Add json.Marshaler support to the Frame type. Thanks [@flimzy](https://togithub.com/flimzy)
### Bugs fixed
- `.travis.yml` Adjust Go versions. Thanks [@komuw](https://togithub.com/komuw), [@aperezg](https://togithub.com/aperezg)
- minor fix in an example to print Stack Trace. Thanks [@bep](https://togithub.com/bep).
- Remove not necessary code.
- Clean up documentation. Thanks [@seh](https://togithub.com/seh).
### [`v0.8.1`](https://togithub.com/pkg/errors/releases/tag/v0.8.1)
[Compare Source](https://togithub.com/pkg/errors/compare/v0.8.0...v0.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.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
- Added `errors.WithMessagef`. Thanks [@chemicL](https://togithub.com/chemicL).
### Bugs fixed
- `.travis.yml`. Adjust Go versions. Thanks [@AlekSi](https://togithub.com/AlekSi), [@dvrkps](https://togithub.com/dvrkps), [@HaraldNordgren](https://togithub.com/HaraldNordgren), and [@komuw](https://togithub.com/komuw)
- Fixed gofmt. Thanks [@tariq1890](https://togithub.com/tariq1890)
- Copyedit the package documentation. Thanks [@seh](https://togithub.com/seh), [@TomSweeneyRedHat](https://togithub.com/TomSweeneyRedHat), [@nicksnyder](https://togithub.com/nicksnyder), and [@beono](https://togithub.com/beono)
- Remove unreachable code. Thanks [@philoserf](https://togithub.com/philoserf) and [@haya14busa](https://togithub.com/haya14busa)
- Move benchmark error sink to global variable. Thanks [@bradleyfalzon](https://togithub.com/bradleyfalzon)
- Fix minor newline consistency issues in test files. Thanks [@nmiyake](https://togithub.com/nmiyake)
- Add doc comment for exported Format func. Thanks [@mrhwick](https://togithub.com/mrhwick) and [@ihrwein](https://togithub.com/ihrwein)
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 Mend Renovate. View repository job log here.
This PR contains the following updates:
v0.8.0
->v0.9.1
Release Notes
pkg/errors
### [`v0.9.1`](https://togithub.com/pkg/errors/releases/tag/v0.9.1) [Compare Source](https://togithub.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: [#215](https://togithub.com/pkg/errors/issues/215) and many breaking changes was produced by that. ### [`v0.9.0`](https://togithub.com/pkg/errors/releases/tag/v0.9.0) [Compare Source](https://togithub.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://togithub.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 [@cstockton](https://togithub.com/cstockton) - Reduce allocations in Stacktrace.Format - Add Support to Go 1.13. Thanks [@jayschwa](https://togithub.com/jayschwa), [@Sherlock-Holo](https://togithub.com/Sherlock-Holo) and [@puellanivis](https://togithub.com/puellanivis). - Add json.Marshaler support to the Frame type. Thanks [@flimzy](https://togithub.com/flimzy) ### Bugs fixed - `.travis.yml` Adjust Go versions. Thanks [@komuw](https://togithub.com/komuw), [@aperezg](https://togithub.com/aperezg) - minor fix in an example to print Stack Trace. Thanks [@bep](https://togithub.com/bep). - Remove not necessary code. - Clean up documentation. Thanks [@seh](https://togithub.com/seh). ### [`v0.8.1`](https://togithub.com/pkg/errors/releases/tag/v0.8.1) [Compare Source](https://togithub.com/pkg/errors/compare/v0.8.0...v0.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.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 - Added `errors.WithMessagef`. Thanks [@chemicL](https://togithub.com/chemicL). ### Bugs fixed - `.travis.yml`. Adjust Go versions. Thanks [@AlekSi](https://togithub.com/AlekSi), [@dvrkps](https://togithub.com/dvrkps), [@HaraldNordgren](https://togithub.com/HaraldNordgren), and [@komuw](https://togithub.com/komuw) - Fixed gofmt. Thanks [@tariq1890](https://togithub.com/tariq1890) - Copyedit the package documentation. Thanks [@seh](https://togithub.com/seh), [@TomSweeneyRedHat](https://togithub.com/TomSweeneyRedHat), [@nicksnyder](https://togithub.com/nicksnyder), and [@beono](https://togithub.com/beono) - Remove unreachable code. Thanks [@philoserf](https://togithub.com/philoserf) and [@haya14busa](https://togithub.com/haya14busa) - Move benchmark error sink to global variable. Thanks [@bradleyfalzon](https://togithub.com/bradleyfalzon) - Fix minor newline consistency issues in test files. Thanks [@nmiyake](https://togithub.com/nmiyake) - Add doc comment for exported Format func. Thanks [@mrhwick](https://togithub.com/mrhwick) and [@ihrwein](https://togithub.com/ihrwein)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.
This PR has been generated by Mend Renovate. View repository job log here.