Skip to content

Releases: samber/oops

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.

v1.4.0

27 Jun 11:29
Compare
Choose a tag to compare

feat: on panic recovery, make the stacktrace start at the right oops encapsulation level

v1.3.1

18 Jun 01:12
Compare
Choose a tag to compare

Fix segfault on stacktrace printing

v1.3.0

17 Jun 15:22
Compare
Choose a tag to compare
  • Stacktrace: more explicit messages
  • Add oops.Request + oops.Response helpers

v1.2.0

23 May 19:30
Compare
Choose a tag to compare

Logrus formatter: hide stacktrace and sources on log level < error

v1.1.0

18 May 23:43
Compare
Choose a tag to compare

Adding assertions