Sentry v1.0.0 Release Notes

  • ๐Ÿš€ 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
    Sentry.Log4Net NuGet