Superseded by: https://github.com/getsentry/sentry-dotnet
Get it from NuGet
Besides the additional tags available at Sentry, the runtime version and operating system are also sent to Sentry automatically and displayed at the top of the event:
The full contexts interface is accessible via the API so SDK consumers can add more context when available at the application level.
Changes details:
PRs involved: #237, #243, #247, #248
Besides that, DSN no longer requires a private key. #232
If you are or want to be a contributor to Sentry's .NET SDK, you might also be interested that we:
A special thanks to @asbjornu for reviewing every single change and giving valuable insight.
Please note this is the last 2.x release of this SDK. We'll be releasing 3.0 next with a few small breaking changes.
Just some build tweaks.
Thanks to @bruno-garcia for reporting the missing Optimize
flag in the build of version 2.3. This should now be corrected.
Thanks to the work of @will14smith and @vostok, SharpRaven finally supports .NET Core! This has been the most requested feature over the last year and it's delightful that this has finally landed — without removing .NET Framework 3.5 support. Awesome! 😄
There are also some bugfixes and general improvements in this release, so get it while it's hot!
string
when the request is not application/x-www-form-urlencoded
by @xpicioSentryEvent
by @asbjornuSentryEvent.Tags
public by @genne and @samukceGet it on NuGet.
SentryEvent
object should no longer discard a lot of data.ExceptionData
of InnerException
if it is empty, contributed by @xpicio.HttpContext
is available and reuse properties from reflection, contributed by @meilu.SentryEvent
is being passed as a parameter (Exception
or Message
) and calling other existing factory methods to fully build the JsonPacket
model, contributed by @rustyswayne.Get it on NuGet.
Exception.Data
as an alternative to extra
for capturing metadata related to the event.async
variants.System.Reflection.RuntimeAssembly in _nLoad
when IIS recycle is running and an error is fired to log on Sentry (a6d9d4e84e4e2514bb4330edcc91a918dd157008) contributed by @xpicioasync
methods (#46)