pion / stun

A Go implementation of STUN
https://pion.ly/
MIT License
625 stars 94 forks source link

Update module pkg/errors to v0.9.1 #25

Closed renovate[bot] closed 4 years ago

renovate[bot] commented 4 years ago

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`](https://togithub.com/pkg/errors/releases/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/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).

Renovate configuration

:date: Schedule: At any time (no schedule defined).

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

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

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



This PR has been generated by WhiteSource Renovate. View repository job log here.

codecov[bot] commented 4 years ago

Codecov Report

Merging #25 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #25   +/-   ##
=======================================
  Coverage   99.83%   99.83%           
=======================================
  Files          18       18           
  Lines        1190     1190           
=======================================
  Hits         1188     1188           
  Misses          1        1           
  Partials        1        1

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 3ab18eb...ebb8ea6. Read the comment docs.