The Sentry SDK team is happy to announce the immediate availability of Sentry Go SDK v0.33.0.
Breaking Changes
- Rename the internal
Logger
toDebugLogger
. This feature was only used when you setDebug: True
in yoursentry.Init()
call. If you haven't used the Logger directly, no changes are necessary. (#1012)
Features
-
Add support for Structured Logging. (#1010)
logger := sentry.NewLogger(ctx) logger.Info(ctx, "Hello, Logs!")
You can learn more about Sentry Logs on our docs and the examples.
-
Add new attributes APIs, which are currently only exposed on logs. (#1007)
Bug Fixes
- Do not push a new scope on
StartSpan
. (#1013) - Fix an issue where the propagated smapling decision wasn't used. (#995)
- [Otel] Prefer
httpRoute
overhttpTarget
for span descriptions. (#1002)
Misc
- Update
github.com/stretchr/testify
to v1.8.4. (#988)