Skip to content

Releases: getsentry/sentry-dotnet

1.1.0

05 Dec 10:35
Compare
Choose a tag to compare

Includes all features and bug fixes of previous beta releases:

Features:

  • Use log entry to improve grouping #125
  • Use .NET Core SDK 2.1.401
  • Make AddProcessors extension methods on Options public #115
  • Format InternalsVisibleTo to avoid iOS issue: 94e28b3
  • Serilog Integration #118, #145
  • Capture methods return SentryId #139, #140
  • MEL integration keeps properties as tags #146
  • Sentry package Includes net461 target #135

Bug fixes:

  • Disabled SDK throws on shutdown: #124
  • Log4net only init if current hub is disabled #119

Thanks to our growing list of contributors.

1.0.1-beta5

05 Dec 09:22
Compare
Choose a tag to compare
1.0.1-beta5 Pre-release
Pre-release
  • Added net461 target to Serilog package #148

1.0.1-beta4

03 Dec 14:56
Compare
Choose a tag to compare
1.0.1-beta4 Pre-release
Pre-release
  • Serilog Integration #118, #145
  • Capture methods return SentryId #139, #140
  • MEL integration keeps properties as tags #146
  • Revert reducing Json.NET requirements 1aed4a5

Thanks to our growing list of contributors.

1.0.1-beta3

15 Nov 16:51
Compare
Choose a tag to compare
1.0.1-beta3 Pre-release
Pre-release

Lowering Newtonsoft.Json requirements; #138

1.0.1-beta2

14 Nov 10:51
Compare
Choose a tag to compare
1.0.1-beta2 Pre-release
Pre-release

Sentry package Includes net461 target #135

1.0.1-beta

24 Oct 10:38
Compare
Choose a tag to compare
1.0.1-beta Pre-release
Pre-release

Features:

  • Use log entry to improve grouping #125
  • Use .NET Core SDK 2.1.401
  • Make AddProcessors extension methods on Options public #115
  • Format InternalsVisibleTo to avoid iOS issue: 94e28b3

Bug fixes:

  • Disabled SDK throws on shutdown: #124
  • Log4net only init if current hub is disabled #119

1.0.0

02 Oct 12:02
Compare
Choose a tag to compare

First major release of the new .NET SDK.

Main features

Sentry package

  • Automatic Captures global unhandled exceptions (AppDomain)
  • Scope management
  • Duplicate events automatically dropped
  • Events from the same exception automatically dropped
  • Web proxy support
  • HttpClient/HttpClientHandler configuration callback
  • Compress request body
  • Event sampling opt-in
  • Event flooding protection (429 retry-after and internal bound queue)
  • Release automatically set (AssemblyInformationalVersionAttribute, AssemblyVersion or env var)
  • DSN discovered via environment variable
  • Release (version) reported automatically
  • CLS Compliant
  • Strong named
  • BeforeSend and BeforeBreadcrumb callbacks
  • Event and Exception processors
  • SourceLink (including PDB in nuget package)
  • Device OS info sent
  • Device Runtime info sent
  • Enable SDK debug mode (opt-in)
  • Attach stack trace for captured messages (opt-in)

Sentry.Extensions.Logging

  • Includes all features from the Sentry package.
  • BeginScope data added to Sentry scope, sent with events
  • LogInformation or higher added as breadcrumb, sent with next events.
  • LogError or higher automatically captures an event
  • Minimal levels are configurable.

Sentry.AspNetCore

  • Includes all features from the Sentry package.
  • Includes all features from the Sentry.Extensions.Logging package.
  • Easy ASP.NET Core integration, single line: UseSentry.
  • Captures unhandled exceptions in the middleware pipeline
  • Captures exceptions handled by the framework UseExceptionHandler and Error page display.
  • Any event sent will include relevant application log messages
  • RequestId as tag
  • URL as tag
  • Environment is automatically set (IHostingEnvironment)
  • Request payload can be captured if opt-in
  • Support for EventProcessors registered with DI
  • Support for ExceptionProcessors registered with DI
  • Captures logs from the request (using Microsoft.Extensions.Logging)
  • Supports configuration system (e.g: appsettings.json)
  • Server OS info sent
  • Server Runtime info sent
  • Request headers sent
  • Request body compressed

All packages are:

  • Strong named
  • Tested on Windows, Linux and macOS
  • Tested on .NET Core, .NET Framework and Mono

Learn more:

Sample event using the log4net integration:
Sample event in Sentry

Download it directly from GitHub or using NuGet:

Integrations NuGet
Sentry NuGet
Sentry.AspNetCore NuGet
Sentry.Extensions.Logging NuGet
Sentry.Log4Net NuGet

1.0.0-rc2

07 Sep 09:37
6bd0f42
Compare
Choose a tag to compare
1.0.0-rc2 Pre-release
Pre-release

Features and improvements:

  • SentrySdk.LastEventId to get scoped id
  • BeforeBreadcrumb to allow dropping or modifying a breadcrumb
  • Event processors on scope #58
  • Event processor as Func<SentryEvent,SentryEvent>

Bug fixes:

  • #97 Sentry environment takes precedence over ASP.NET Core

Download it directly below from GitHub or using NuGet:

Integrations NuGet
Sentry NuGet
Sentry.AspNetCore NuGet
Sentry.Extensions.Logging NuGet
Sentry.Log4Net NuGet

1.0.0-rc

24 Aug 15:00
b9dcd8d
Compare
Choose a tag to compare
1.0.0-rc Pre-release
Pre-release

Features and improvements:

  • Microsoft.Extensions.Logging (MEL) use framework configuration system #79 (Thanks @pengweiqhca)
  • Use IOptions on Logging and ASP.NET Core integrations #81
  • Send PII (personal identifier info, opt-in SendDefaultPii): #83
  • When SDK is disabled SentryMiddleware passes through to next in pipeline: #84
  • SDK diagnostic logging (option: Debug): #85
  • Sending Stack trace for events without exception (like CaptureMessage, opt-in AttachStackTrace) #86

Bug fixes:

  • MEL: Only call Init if DSN was provided 097c6a9
  • Correct namespace for AddSentry 2498ab4

Breaking changes:

The settings for HTTP and Worker have been moved to SentryOptions. There's no need to call option.Http(h => h...) anymore.
option.Proxy was renamed to option.HttpProxy.

New sample using GenericHost

Download it directly below from GitHub or using NuGet:

Integrations NuGet
Sentry NuGet
Sentry.AspNetCore NuGet
Sentry.Extensions.Logging NuGet
Sentry.Log4Net NuGet

0.0.1-preview5

05 Aug 16:37
Compare
Choose a tag to compare
0.0.1-preview5 Pre-release
Pre-release

Features:

  • Support buffered gzip request #73
  • Reduced dependencies from the ASP.NET Core integraiton
  • InAppExclude configurable #75
  • Duplicate event detects inner exceptions #76
  • HttpClientHandler configuration callback #72
  • Event sampling opt-in
  • ASP.NET Core sends server name

Bug fixes:

  • On-prem without chuncked support for gzip #71
  • Exception.Data key is not string #77

Watch on youtube how to use the ASP.NET Core integration.

Download it directly below from GitHub or using NuGet:

Integrations NuGet
Sentry NuGet
Sentry.AspNetCore NuGet
Sentry.Extensions.Logging NuGet
Sentry.Log4Net NuGet