Raven Csharp Versions Save

Superseded by: https://github.com/getsentry/sentry-dotnet

2.4

6 years ago

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

6 years ago

Just some build tweaks.

2.3.1

6 years ago

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

  • #226 - Set the MSBuild optimize property to true by @asbjornu.

Get it on NuGet.

2.3

6 years ago

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

Get version 2.3 on NuGet.

2.2

7 years ago

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 not application/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

8 years ago

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

8 years ago
  • 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

8 years ago
  • Try to fix exception System.Reflection.RuntimeAssembly in _nLoad when IIS recycle is running and an error is fired to log on Sentry (a6d9d4e84e4e2514bb4330edcc91a918dd157008) contributed by @xpicio

1.4.1

8 years ago
  • Removed the ReadWriteTimeout property and made the Timeout property a TimeSpan so it's more forward-compatible with System.Net.HttpClient (704cacd562236e8b35e7bbd368dd763cdde4e13b)
  • Added Timeout and ReadWriteTimeout properties to IRavenClient. Resolves #54.
  • Added GitVersionTask (bd0bfddfc488cf6b2285c779c0279a527cd3156a)
  • Added async methods
  • Added support to framework 4.0 and 4.5 (#45)
  • Added support for async methods (#46)

1.4.2

8 years ago
  • Made SentryRequest.HttpContext static so it's only initialized once per thread (2976eee3ded16dc24a7d5dd8f659dfb15d301ced)
  • Wrap the retrieval of HTTP context in try/catch since it might fail in circumstances where the HTTP context is available, but not yet bootstrapped (like in ASP.NET Application Start and such) (278f890c406ce9a23d4c95ad925fd3573f453d88)
  • Removed SentryModule in place of an IDictionary<string, string> as per @xpicio's suggestion in #55