Requested by: @giortzisg
Merge target: (default)
Quick links:
Assign the accepted label to this issue to approve the release.
Targets
Checked targets will be skipped (either already published or user-requested skip). Uncheck to retry a target.
📋 Changelog
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
Requested by: @giortzisg
Merge target: (default)
Quick links:
Assign the accepted label to this issue to approve the release.
Targets
Checked targets will be skipped (either already published or user-requested skip). Uncheck to retry a target.
📋 Changelog
New Features ✨
Scope.SetExtra,Scope.SetExtras, andScope.RemoveExtrain favor ofScope.SetAttributesandScope.RemoveAttributeby @giortzisg in #1224SetAttributesto attach values to logs and metrics. Note that attributes do not appear on error events; if you only capture errors, useSetTagorSetContextinstead.Bug Fixes 🐛
Internal Changes 🔧
Ai
Deps
Other