github getsentry/sentry-go v0.44.0
0.44.0

latest releases: v0.44.1, zerolog/v0.44.1, zap/v0.44.1...
6 hours ago

Note

v0.44.0 had to be released as v0.44.1 due to a technical issue.

New Features ✨

  • Add RemoveAttribute api on the scope. by @giortzisg in #1224
  • Deprecate Scope.SetExtra, Scope.SetExtras, and Scope.RemoveExtra in favor of Scope.SetAttributes and Scope.RemoveAttribute by @giortzisg in #1224
    • The recommended migration path is to use SetAttributes to attach values to logs and metrics. Note that attributes do not appear on error events; if you only capture errors, use SetTag or SetContext instead.
    • Before:
    scope.SetExtra("key.string", "str")
    scope.SetExtra("key.int", 42)
    • After (for error events) — use tags and contexts:
    scope.SetTag("key.string", "str")
    scope.SetContext("my_data", sentry.Context{"key.int": 42})
    • After (for logs and metrics) — use attributes:
    scope.SetAttributes(
        attribute.String("key.string", "str"),
        attribute.Int("key.int", 42),
    )
  • Add support for homogenous arrays by @giortzisg in #1203
  • Add support for client reports by @giortzisg in #1192
  • Add org id propagation in sentry_baggage by @giortzisg in #1210
  • Add OrgID and StrictTraceContinuation client options. by @giortzisg in #1210
  • Add the option to set attributes on the scope by @giortzisg in #1208

Bug Fixes 🐛

  • (serialization) Pre-serialize mutable event fields to prevent race panics by @giortzisg in #1214
  • Use HEROKU_BUILD_COMMIT with HEROKU_SLUG_COMMIT as fallback by @ericapisani in #1220

Internal Changes 🔧

Ai

Deps

  • Bump github.com/buger/jsonparser from 1.1.1 to 1.1.2 in /zerolog by @dependabot in #1231
  • Bump github.com/gofiber/fiber/v2 from 2.52.11 to 2.52.12 in /fiber by @dependabot in #1209

Other

Don't miss a new sentry-go release

NewReleases is sending notifications on new releases.