Releases: getsentry/sentry-dotnet
Releases · getsentry/sentry-dotnet
4.4.0
4.3.0
Features
- EnableNetworkEventBreadcrumbs can now be set on the Native Android options (#3267)
- Update normalization of metrics keys, tags and values (#3271)
Fixes
- Fix missing exception StackTraces in some situations (#3215)
- Scopes now get applied to OTEL spans in ASP.NET Core (#3221)
- Fixed InvalidCastException when setting the SampleRate on Android (#3258)
- Fixed MAUI iOS build issue related to
SentryVersionNumberandSentryVersionString(#3278)
API changes
- Removed
SentryOptionsExtensionsclass - all the public methods moved directly toSentryOptions(#3195)
Dependencies
4.2.1
4.2.0
Features
- ASP.NET Core: Blocking call detection. An event with the stack trace of the blocking call will be captured as event. (#2709)
- IMPORTANT: Verify this in test/staging before prod! Blocking calls in hot paths could create a lot of events for your Sentry project.
- Opt-in via
options.CaptureBlockingCalls = true - Disabled for specific code blocks with
using (new SuppressBlockingDetection()) - Doesn't detect everything. See original Caveats described by Ben Adams.
- Added Crons support via
SentrySdk.CaptureCheckInand an integration with Hangfire (#3128) - Common tags set automatically for metrics and metrics summaries are attached to Spans (#3191)
API changes
- Removed
ScopeExtensionsclass - all the public methods moved directly toScope(#3186)
Fixes
- The Sentry Middleware on ASP.NET Core no longer throws an exception after having been initialized multiple times (#3185)
- Empty strings are used instead of underscores to replace invalid metric tag values (#3176)
- Filtered OpenTelemetry spans are garbage collected correctly (#3198)
Dependencies
4.1.2
4.1.1
4.1.0
4.0.3
4.0.2
Fixes
- To resolve conflicting types due to the SDK adding itself to the global usings:
- The class
Sentry.Contexthas been renamed toSentry.SentryContext(#3121) - The class
Sentry.Packagehas been renamed toSentry.SentryPackage(#3121) - The class
Sentry.Requesthas been renamed toSentry.SentryRequest(#3121)
Dependencies
4.0.1
Fixes
- To resolve conflicting types due to the SDK adding itself to the global usings:
- The interface
Sentry.ISessionhas been renamed toSentry.ISentrySession(#3110) - The interface
Sentry.IJsonSerializablehas been renamed toSentry.ISentryJsonSerializable(#3116) - The class
Sentry.Sessionhas been renamed toSentry.SentrySession(#3110) - The class
Sentry.Attachmenthas been renamed toSentry.SentryAttachment(#3116) - The class
Sentry.Hinthas been renamed toSentry.SentryHint(#3116)