errors v0.8.1 Release Notes
Release Date: 2019-01-05 // over 5 years ago-
๐ 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 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
- โ Added