Skip to content

0.26.0

Compare
Choose a tag to compare
@getsentry-bot getsentry-bot released this 10 Jan 16:26

The Sentry SDK team is happy to announce the immediate availability of Sentry Go SDK v0.26.0.

Breaking Changes

As previously announced, this release removes some methods from the SDK.

  • sentry.TransactionName() use sentry.WithTransactionName() instead.
  • sentry.OpName() use sentry.WithOpName() instead.
  • sentry.TransctionSource() use sentry.WithTransactionSource() instead.
  • sentry.SpanSampled() use sentry.WithSpanSampled() instead.

Features

  • Add WithDescription span option (#751)

    span := sentry.StartSpan(ctx, "http.client", WithDescription("GET /api/users"))
  • Add support for package name parsing in Go 1.20 and higher (#730)

Bug Fixes

  • Apply ClientOptions.SampleRate only to errors & messages (#754)
  • Check if git is available before executing any git commands (#737)