Skip to content

0.17.0

Compare
Choose a tag to compare
@getsentry-bot getsentry-bot released this 12 Jan 12:49

The Sentry SDK team is happy to announce the immediate availability of Sentry Go SDK v0.17.0.
This release contains a new BeforeSendTransaction hook option and corrects two regressions introduced in 0.16.0.

Features

  • Add BeforeSendTransaction hook to ClientOptions (#517)
    • Here's an example of how BeforeSendTransaction can be used to modify or drop transaction events.

Bug Fixes

  • Do not crash in Span.Finish() when the Client is empty (#520)
  • Attach non-PII/non-sensitive request headers to events when ClientOptions.SendDefaultPii is set to false (#524)

Misc

  • Clarify how to handle logrus.Fatalf events (#501)
  • Rename the examples directory to _examples (#521)
    • This removes an indirect dependency to github.com/golang-jwt/jwt