sentry-dotnet
sentry-dotnet copied to clipboard
Sentry SDK for .NET
### Package Sentry ### .NET Flavor .NET ### .NET Version 8.0.8 ### OS iOS ### SDK Version 4.10.2 ### Self-Hosted Sentry Version _No response_ ### Steps to Reproduce Deploy to...
### Package Sentry.AspNetCore ### .NET Flavor .NET ### .NET Version 8.0.400 ### OS Linux ### SDK Version 4.10.0 ### Self-Hosted Sentry Version 24.7.1 ### Steps to Reproduce 1. Have an...
We've got lots of regexes defined as properties, with backing methods specifically because we had to use methods to leverage the source generated regexes. For example: https://github.com/getsentry/sentry-dotnet/blob/3e70c3126515c87b1851b6a9a7afd99ffbb9aeb7/src/Sentry/Internal/OriginHelper.cs#L8-L18 We should be...
C# 13 includes a [new Lock type](https://learn.microsoft.com/en-us/dotnet/csharp/whats-new/csharp-13#new-lock-object) intended to be used with the lock keyword. Using Lock types as lock objects, the compiler can perform some optimisations that aren't possible...
The net9.0 SDK adds some [new MSBuild script analyzers ("BuildChecks")](https://learn.microsoft.com/en-us/dotnet/core/whats-new/dotnet-9/sdk#msbuild-script-analyzers-buildchecks) that we could use in our solution, to help keep our build files clean.
We currently have our own bespoke implementaion of something that approximates what FeatureGuardAttribute does, to disable parts of our SDK in trimming/AOT scenarios at runtime. net9.0 introduces a [`FeatureGuardAttribute`](https://learn.microsoft.com/en-us/dotnet/core/whats-new/dotnet-9/runtime#attribute-model-for-feature-switches-with-trimming-support) that...
net9.0 adds [TypeName](https://learn.microsoft.com/en-us/dotnet/core/whats-new/dotnet-9/libraries#type-name-parsing), which provides parsing functionality similar to System.Type, without any reliance on the runtime or reflection. I believe we should be able to use this to reduce the...
The net9.0 SDK adds [support for Workload Sets](https://learn.microsoft.com/en-us/dotnet/core/whats-new/dotnet-9/sdk#workload-sets), so we could pin the workload versions that we're using to build our solution. This might help create a more deterministic and...
In various places in the solution we're using `int` instead of `bool` so that we can make use of the `Interlocked` class, which historically did not support `bool` and `enum`....
### Package Sentry ### .NET Flavor .NET ### .NET Version 8.0 ### OS iOS ### SDK Version 4.10.1 ### Self-Hosted Sentry Version _No response_ ### Steps to Reproduce Unsure of...