Skip to content

Releases: samber/oops

v1.10.2

19 Apr 14:01
Compare
Choose a tag to compare

security update: github.com/golang/net

v1.10.1

13 Mar 22:48
Compare
Choose a tag to compare

What's Changed

  • chore(deps): bump google.golang.org/protobuf from 1.30.0 to 1.33.0 in /recovery/gin by @dependabot in #16

Full Changelog: v1.10.0...v1.10.1

v1.10.0

06 Feb 07:02
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: https://github.com/samber/oops/commits/v1.10.0

v1.9.2

19 Dec 12:18
Compare
Choose a tag to compare

Security patch: /x/crypto package update

v1.9.1

17 Nov 23:04
Compare
Choose a tag to compare

Fix stacktrace when goroot is empty

v1.9.0

16 Sep 21:51
Compare
Choose a tag to compare

Refactor: Recoverf implementation has been replaced by Wrapf+Recover
Fix: Recoverf was not handling segfault stacktrace properly

v1.8.0

07 Sep 20:53
Compare
Choose a tag to compare

Adding WithContext helper

v1.7.0

21 Aug 10:34
Compare
Choose a tag to compare

feat(context): adding lazy evaluated value

Eg:

oops.
    With("permission", func() any { return "post.create" }).
    User("user-42", map[string]any{"foobar": func() float32 { return decodeSomething(something) }}).
    Tenant("org-42", map[string]any{"foobar": func() string { return decodeSomething(something) }}).
    Errorf("my error")

v1.6.0

10 Aug 18:29
Compare
Choose a tag to compare

Adding Wrap*() helpers that build oops.Error from a function returning multiple parameters

v1.5.0

09 Aug 17:14
Compare
Choose a tag to compare

Upgrade to Go 1.21.