| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| errors 0.8.1.tar.gz | 2019-01-05 | 11.0 kB | |
| errors 0.8.1.zip | 2019-01-05 | 14.2 kB | |
| README.md | 2019-01-05 | 965 Bytes | |
| Totals: 3 Items | 26.2 kB | 0 | |
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.
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