Releases: getsentry/sentry-dotnet
3.33.1
Fixes
- SentryHttpMessageHandler added when AddHttpClient is before UseSentry (#2390)
- Set the native sdk name for Android (#2389)
- Fix db connection spans not finishing (#2398)
- Various .NET MAUI fixes / improvements (#2403)
- The battery level was being reported incorrectly due to percentage multiplier.
- The device architecture (x64, arm64, etc.) is now reported
- On Windows, the OS type is now reported as "Windows" instead of "WinUI". Additionally, the OS display version (ex, "22H2") is now included.
UIKit
,ABI.Microsoft
andWinRT
frames are now marked "system" instead of "in app".
- Reduce debug files uploaded (#2404)
- Fix system frames being marked as "in-app" (#2408)
- NOTE: This important fix corrects a value that is used during issue grouping, so you may receive new alerts for existing issues after deploying this update.
- DB Connection spans presented poorly (#2409)
- Populate scope's Cookies property (#2411)
- Fix UWP GateKeeper errors (#2415)
- Fix sql client db name (#2418)
Dependencies
3.33.0
Features
- .NET SDK changes for exception groups (#2287)
- This changes how
AggregateException
is handled. Instead of filtering them out client-side, the SDK marks them as an "exception group",
and adds includes data that represents the hierarchical structure of inner exceptions. Sentry now recognizes this server-side,
improving the accuracy of the issue detail page. - Accordingly, the
KeepAggregateException
option is now obsolete and does nothing. Please remove any usages ofKeepAggregateException
. - NOTE: If running Self-Hosted Sentry, you should wait to adopt this SDK update until after updating to the 23.6.0 (est. June 2023) release of Sentry.
The effect of updating the SDK early will be as ifKeepAggregateException = true
was set. That will not break anything, but may affect issue grouping and alerts.
- This changes how
Fixes
- Status messages when uploading symbols or sources are improved. (#2307)
Dependencies
3.32.0
Features
-
Azure Functions (Isolated Worker/Out-of-Process) support (#2346)
- Initial
beta.1
release. Please give it a try and let us know how it goes! - Documentation is TBD. For now, see
/samples/Sentry.Samples.AzureFunctions.Worker
.
- Initial
-
Add
Hint
support (#2351)- Currently, this allows you to manipulate attachments in the various "before" event delegates.
- Hints can also be used in event and transaction processors by implementing
ISentryEventProcessorWithHint
orISentryTransactionProcessorWithHint
, instead ofISentryEventProcessor
orISentryTransactionProcessor
. - Note: Obsoletes the
BeforeSend
,BeforeSendTransaction
, andBeforeBreadcrumb
properties on theSentryOptions
class. They have been replaced withSetBeforeSend
,SetBeforeSendTransaction
, andSetBeforeBreadcrumb
respectively. Each one provides overloads both with and without aHint
object.
-
Allow setting the active span on the scope (#2364)
- Note: Obsoletes the
Scope.GetSpan
method in favor of aScope.Span
property (which now has a setter as well).
- Note: Obsoletes the
-
Remove authority from URLs sent to Sentry (#2365)
-
Add tag filters to
SentryOptions
(#2367)
Fixes
-
Fix
EnableTracing
option conflict withTracesSampleRate
(#2368)- NOTE: This is a potentially breaking change, as the
TracesSampleRate
property has been made nullable.
Though extremely uncommon, if you are retrieving theTracesSampleRate
property for some reason, you will need to account for nulls.
However, there is no change to the behavior or typical usage of either of these properties.
- NOTE: This is a potentially breaking change, as the
-
CachedTransport gracefully handles malformed envelopes during processing (#2371)
-
Remove extraneous iOS simulator resources when building MAUI apps using Visual Studio "Hot Restart" mode, to avoid hitting Windows max path (#2384)
Dependencies
3.31.0
Features
- Initial work to support profiling in a future release. (#2206)
- Create a Sentry event for failed HTTP requests (#2320)
- Improve
WithScope
and addWithScopeAsync
(#2303) (#2309) - Build .NET Standard 2.1 for Unity (#2328)
- Add
RemoveExceptionFilter
,RemoveEventProcessor
andRemoveTransactionProcessor
extension methods onSentryOptions
(#2331) - Include Dynamic Sampling Context with error events, when there's a transaction (#2332)
Fixes
- Buffer payloads asynchronously when appropriate (#2297)
- Restore
System.Reflection.Metadata
dependency for .NET Core 3 (#2302) - Capture open transactions on disabled hubs (#2319)
- Remove session breadcrumbs (#2333)
- Support synchronous
HttpClient.Send
inSentryHttpMessageHandler
(#2336) - Fix ASP.NET Core issue with missing context when using capture methods that configure scope (#2339)
- Improve debug file upload handling (#2349)
Dependencies
3.30.0
Features
- Add
FileDiagnosticLogger
to assist with debugging the SDK (#2242) - Attach stack trace when events have captured an exception without a stack trace (#2266)
- Add
Scope.Clear
andScope.ClearBreadcrumbs
methods (#2284) - Improvements to exception mechanism data (#2294)
Fixes
- Normalize StackFrame in-app resolution for modules & function prefixes (#2234)
- Calling
AddAspNet
more than once should not block all errors from being sent (#2253) - Fix Sentry CLI arguments when using custom URL or auth token parameters (#2259)
- Sentry.AspNetCore fix transaction name when path base is used and route starts with a slash (#2265)
- Fix Baggage header parsing in ASP.NET (Framework) (#2293)
Dependencies
3.29.1
3.29.0
Notice: The <SentryUploadSymbols>
MSBuild property previously defaulted to true
for projects compiled in Release
configuration.
It is now false
by default. To continue uploading symbols, you must opt-in by setting it to true
.
See the MSBuild Setup docs for further details.
Features
- Added basic functionality to support
View Hierarchy
(#2163) - Allow
SentryUploadSources
to work even when not uploading symbols (#2197) - Add support for
BeforeSendTransaction
(#2188) - Add
EnableTracing
option to simplify enabling tracing (#2201) - Make
SentryUploadSymbols
strictly opt-in (#2216)
Fixes
- Fix assembly not found on Android in Debug configuration (#2175)
- Fix context object with circular reference prevents event from being sent (#2210)
Dependencies
3.28.1
3.28.0
Features
- Added
instruction_addr_adjustment
attribute to SentryStackTrace (#2151)
Fixes
- Workaround Visual Studio "Pair to Mac" issue (on Windows), and Update bundled Cocoa SDK to version 7.31.5 (#2164)
- Sentry SDK assemblies no longer have PDBs embedded. Debug symbols are uploaded to
nuget.org
assnupkg
packages (#2166)