Releases: getsentry/raven-csharp
2.4
The major addition is Sentry's Context Interface.
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:
- Payload creation has runtime detection
- Context is built lazily on first event
- Root context is cloned per event to avoid expensive calls required to build it
- .NET Framework 4.7.1 added to support NET Standard 2.0 paths (RuntimeInformation)
- Json.NET indirect reference to Nancy
- non normalized data set to raw-description
- Leave Name and Version empty if no proper API available to set it
- Server will use Raw Description if no Name and Version was provided to try normalizing into those 2 fields.
- Report Device CPU architecture
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:
- Fixed the macOS and Linux build. Works on Travis too.
- Added a new target: net471 which covers code paths intended for netstandard2.0
- Fixed the test runner integration so 4 targets (net35,net40,net45,net471) run within visual studio
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.
2.3.2
2.3.1
Thanks to @bruno-garcia for reporting the missing Optimize
flag in the build of version 2.3. This should now be corrected.
2.3
Highlights
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!
Complete Release Notes
- #178 - Fix typos in documentation by @martinfilliau
- #182 - Submit User Feedback for an Event by @opcon
- #185 - Convert extra when extra is not serializable by @skyline75489
- #189 - Cake build script by @will14smith
- #197 - Add .net standard support by @vostok
- #198 - Allow sending data to Sentry from custom error aggregator by @vostok
- #215 - Bug: Restore Request.InputStream position after body has been read by @brunoblank
- #217 - Publish packages to nuget.org by @asbjornu
- #220 - Fix nuget packages build to include metadata by @michaeljbaird
- #222 - Add NoOpRavenClient, an empty (no-op) empty implementation of IRavenClient by @razzmatazz
Download
2.2
Highlights
- Adds support for breadcrumbs
- Improves logging of HTTP request data
- Fixes a bug related to phone number scrubbing
- Adds support for .NET 3.5
- Correctly orders and demangles the stack frames
- Differentiates in-app stack frames from external so the latter can be collapsed on Sentry
Complete Release Notes
- #121 - The HTTP body is converted to a
string
when the request is notapplication/x-www-form-urlencoded
by @xpicio - #128 - Feature support breadcrumbs by @samukce
- #135 - Improved logging by @asbjornu
- #136 - Make sure User is initialized from the HTTP context by @genne
- #138 - Improve POST data logging by @xpicio
- #139 - Upped sentry_version from 4 to 7 by @asbjornu
- #140 - Phone number scrubber fix by @asbjornu
- #141 - Updated documentation for
SentryEvent
by @asbjornu - #142 - Add release and build status table to readme by @asbjornu
- #143 - Identify InApp stack-frames to improve stack-traces by @marcomorain
- #148 - HttpRequestBodyConverter tests by @xpicio
- #153 - Reverse stacktrace order by @genne
- #156 - Adding support for .Net 3.5 compilation by @aldav82
- #157, #159 - Make setter of
SentryEvent.Tags
public by @genne and @samukce - #164, #165, #166 - Demangle Function Name from Async Calls by @marcomorain
- #169 - Added initial documentation about breadcrumbs by @samukce
Download
Get it on NuGet.
2.1
Highlights
- Better test coverage.
- Capturing the new
SentryEvent
object should no longer discard a lot of data.
Complete Release Notes
- #118 - Skip
ExceptionData
ofInnerException
if it is empty, contributed by @xpicio. - #117 - Log level is not set on JsonPacket, contributed by @xpicio.
- #114 - Check if
HttpContext
is available and reuse properties from reflection, contributed by @Meilu. - #111, #112 - Determining what type of
SentryEvent
is being passed as a parameter (Exception
orMessage
) and calling other existing factory methods to fully build theJsonPacket
model, contributed by @rustyswayne.
Download
Get it on NuGet.
2.0
- Supports
Exception.Data
as an alternative toextra
for capturing metadata related to the event. - All capture methods now have
async
variants. - Old cruft is made obsolete.
- Adds a new SharpRaven.Nancy NuGet package.
- More robust handling of assembly enumeration.