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, andScope.RemoveExtrain favor ofScope.SetAttributesandScope.RemoveAttributeby @giortzisg in #1224- The recommended migration path is to use
SetAttributesto attach values to logs and metrics. Note that attributes do not appear on error events; if you only capture errors, useSetTagorSetContextinstead. - 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), )
- The recommended migration path is to use
- 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
- Add AGENTS.md and testing guidelines by @giortzisg in #1216
- Add dotagents configuration by @giortzisg in #1211
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
- Pin GitHub Actions to full-length commit SHAs by @joshuarli in #1230
- Bump getsentry/craft to 2.24.1 by @giortzisg in #1225
- Handle independent go module versions for integrations by @giortzisg in #1217