Skip to content
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.

Releases: getsentry/raven-csharp

2.4

11 May 09:41
0b5adba
Compare
Choose a tag to compare

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:

image

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

12 Mar 13:49
db09218
Compare
Choose a tag to compare

Just some build tweaks.

2.3.1

11 Mar 23:21
43bfbc5
Compare
Choose a tag to compare

Thanks to @bruno-garcia for reporting the missing Optimize flag in the build of version 2.3. This should now be corrected.

Get it on NuGet.

2.3

10 Mar 19:52
3ef46ca
Compare
Choose a tag to compare
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

Download

Get version 2.3 on NuGet.

2.2

06 Feb 19:55
444a122
Compare
Choose a tag to compare
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

Download

Get it on NuGet.

2.1

06 Apr 06:30
Compare
Choose a tag to compare
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 of InnerException 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 or Message) and calling other existing factory methods to fully build the JsonPacket model, contributed by @rustyswayne.

Download

Get it on NuGet.

2.0

08 Mar 09:35
Compare
Choose a tag to compare
2.0
  • Supports Exception.Data as an alternative to extra 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.

1.5.1

18 Feb 16:35
Compare
Choose a tag to compare
  • Try to fix exception System.Reflection.RuntimeAssembly in _nLoad when IIS recycle is running and an error is fired to log on Sentry (a6d9d4e) contributed by @xpicio

1.5

28 Sep 09:44
Compare
Choose a tag to compare
1.5

Version 1.5 adds support for the new "release" property

1.4.6

29 Sep 12:20
Compare
Choose a tag to compare
  • Upgraded Newtonsoft.Json from v6.0.6 to v6.0.8
  • Upgraded GitVersionTask from v1.3.3 to v3.0.2
  • Removed NuGet in favor of Automatic Package Restore as of NuGet 2.7+.