Sentry.Serilog
3.0.0-alpha.11
Prefix Reserved
See the version list below for details.
dotnet add package Sentry.Serilog --version 3.0.0-alpha.11
NuGet\Install-Package Sentry.Serilog -Version 3.0.0-alpha.11
<PackageReference Include="Sentry.Serilog" Version="3.0.0-alpha.11" />
paket add Sentry.Serilog --version 3.0.0-alpha.11
#r "nuget: Sentry.Serilog, 3.0.0-alpha.11"
// Install Sentry.Serilog as a Cake Addin #addin nuget:?package=Sentry.Serilog&version=3.0.0-alpha.11&prerelease // Install Sentry.Serilog as a Cake Tool #tool nuget:?package=Sentry.Serilog&version=3.0.0-alpha.11&prerelease
Official Serilog integration for Sentry - Open-source error tracking that helps developers monitor and fix crashes in real time.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
.NET Framework | net461 is compatible. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
NuGet packages (30)
Showing the top 5 NuGet packages that depend on Sentry.Serilog:
Package | Downloads |
---|---|
invoisys.SDK.Logging
Package Description |
|
Intility.Extensions.Logging.Sentry
Enable Sentry instrumentation and logging provider. |
|
Miki.Logging
Package Description |
|
Only.CoffeeFace.Web
Only.CoffeeFace web api stuff |
|
Serilog.Sinks.SentrySDK
A Sentry sink for Serilog |
GitHub repositories (14)
Showing the top 5 popular GitHub repositories that depend on Sentry.Serilog:
Repository | Stars |
---|---|
bitwarden/server
Bitwarden infrastructure/backend (API, database, Docker, etc).
|
|
BililiveRecorder/BililiveRecorder
录播姬 | mikufans 生放送录制
|
|
timschneeb/GalaxyBudsClient
Unofficial Galaxy Buds Manager for Windows, macOS, Linux, and Android
|
|
Belphemur/SoundSwitch
C# application to switch default playing device. Download: https://soundswitch.aaflalo.me/
|
|
meysamhadeli/booking-microservices
Practical microservices, built with .Net 8, DDD, CQRS, Event Sourcing, Vertical Slice Architecture, Event-Driven Architecture, and the latest technologies.
|
Version | Downloads | Last updated |
---|---|---|
4.13.0 | 20,653 | 11/5/2024 |
4.12.2 | 9,684 | 11/2/2024 |
4.12.1 | 103,875 | 10/10/2024 |
4.12.1-segv1 | 65 | 11/1/2024 |
4.12.0 | 40,252 | 10/2/2024 |
4.11.0 | 61,956 | 9/22/2024 |
4.10.2 | 227,668 | 8/21/2024 |
4.10.1 | 45,728 | 8/16/2024 |
4.10.0 | 5,520 | 8/14/2024 |
4.9.0 | 257,408 | 7/11/2024 |
4.9.0-sync.collection.2 | 63 | 7/30/2024 |
4.9.0-sync.collection.1 | 50 | 7/30/2024 |
4.8.1 | 64,005 | 7/2/2024 |
4.8.0 | 34,683 | 6/26/2024 |
4.7.0 | 244,429 | 5/27/2024 |
4.6.2 | 68,449 | 5/14/2024 |
4.6.1 | 732 | 5/14/2024 |
4.6.0 | 34,173 | 5/9/2024 |
4.5.0 | 82,973 | 4/30/2024 |
4.4.0 | 109,360 | 4/12/2024 |
4.3.0 | 17,638 | 4/10/2024 |
4.2.1 | 261,492 | 3/12/2024 |
4.2.0 | 17,042 | 3/11/2024 |
4.1.2 | 232,320 | 2/20/2024 |
4.1.1 | 79,038 | 2/14/2024 |
4.1.0 | 43,537 | 2/9/2024 |
4.0.3 | 24,254 | 2/7/2024 |
4.0.2 | 5,387 | 2/6/2024 |
4.0.1 | 4,691 | 2/5/2024 |
4.0.0 | 43,523 | 2/1/2024 |
4.0.0-beta.9 | 512 | 1/30/2024 |
4.0.0-beta.8 | 275 | 1/11/2024 |
4.0.0-beta.7 | 96 | 1/5/2024 |
4.0.0-beta.6 | 1,130 | 12/13/2023 |
4.0.0-beta.5 | 103 | 12/12/2023 |
4.0.0-beta.4 | 193 | 12/5/2023 |
4.0.0-beta.3 | 148 | 12/2/2023 |
4.0.0-beta.2 | 653 | 11/23/2023 |
4.0.0-beta.1 | 198 | 11/19/2023 |
4.0.0-beta.0 | 252 | 11/17/2023 |
4.0.0-alpha.0 | 120 | 11/9/2023 |
3.41.4 | 333,840 | 1/23/2024 |
3.41.3 | 470,359 | 11/29/2023 |
3.41.2 | 163,180 | 11/23/2023 |
3.41.1 | 7,147 | 11/22/2023 |
3.41.0 | 245,335 | 11/8/2023 |
3.40.1 | 182,421 | 10/12/2023 |
3.40.0 | 17,364 | 10/10/2023 |
3.40.0-beta.0 | 1,698 | 9/21/2023 |
3.39.1 | 885,359 | 9/12/2023 |
3.39.0 | 35,522 | 9/7/2023 |
3.37.0 | 4,380 | 9/6/2023 |
3.36.0 | 133,729 | 8/22/2023 |
3.35.1 | 54,703 | 8/16/2023 |
3.35.0 | 40,440 | 8/8/2023 |
3.34.0 | 294,781 | 7/13/2023 |
3.33.1 | 342,357 | 6/13/2023 |
3.33.0 | 263,990 | 5/22/2023 |
3.32.0 | 5,094 | 5/22/2023 |
3.31.0 | 245,710 | 5/2/2023 |
3.30.0 | 463,836 | 4/11/2023 |
3.29.1 | 309,715 | 3/11/2023 |
3.29.0 | 59,164 | 3/6/2023 |
3.28.1 | 325,559 | 2/10/2023 |
3.28.0 | 24,081 | 2/8/2023 |
3.27.1 | 130,843 | 2/3/2023 |
3.27.0 | 46,737 | 2/1/2023 |
3.26.2 | 268,876 | 1/24/2023 |
3.26.1 | 47,536 | 1/17/2023 |
3.26.0 | 39,026 | 1/13/2023 |
3.25.0 | 507,879 | 12/23/2022 |
3.24.1 | 169,865 | 12/16/2022 |
3.24.0 | 692,406 | 11/18/2022 |
3.23.1 | 293,053 | 10/31/2022 |
3.23.0 | 44,171 | 10/27/2022 |
3.22.0 | 238,286 | 10/7/2022 |
3.21.0 | 261,052 | 9/2/2022 |
3.20.1 | 806,217 | 7/26/2022 |
3.20.0 | 7,870 | 7/22/2022 |
3.19.0 | 410,480 | 6/28/2022 |
3.18.0 | 141,824 | 6/15/2022 |
3.17.1 | 486,629 | 5/8/2022 |
3.17.0 | 35,594 | 5/3/2022 |
3.16.0 | 440,023 | 4/7/2022 |
3.15.0 | 355,360 | 3/15/2022 |
3.14.1 | 302,990 | 2/18/2022 |
3.14.0 | 101,729 | 2/14/2022 |
3.13.0 | 561,567 | 1/11/2022 |
3.12.3 | 251,608 | 12/19/2021 |
3.12.2 | 19,722 | 12/15/2021 |
3.12.1 | 82,647 | 12/6/2021 |
3.12.0 | 124,083 | 11/23/2021 |
3.12.0-alpha.1 | 648 | 11/7/2021 |
3.11.1 | 357,165 | 11/5/2021 |
3.11.0 | 84,430 | 11/2/2021 |
3.10.0 | 184,865 | 10/15/2021 |
3.9.4 | 131,763 | 9/29/2021 |
3.9.3 | 58,502 | 9/21/2021 |
3.9.2 | 53,140 | 9/10/2021 |
3.9.1 | 3,857 | 9/9/2021 |
3.9.0 | 61,415 | 8/27/2021 |
3.8.3 | 200,216 | 7/25/2021 |
3.8.2 | 47,254 | 7/17/2021 |
3.8.1 | 6,525 | 7/15/2021 |
3.8.0 | 28,414 | 7/14/2021 |
3.7.0 | 74,474 | 7/10/2021 |
3.6.1 | 46,614 | 7/2/2021 |
3.6.0 | 57,082 | 6/23/2021 |
3.6.0-alpha.2 | 186 | 6/18/2021 |
3.6.0-alpha.1 | 185 | 6/11/2021 |
3.5.0 | 283,024 | 6/7/2021 |
3.4.0 | 31,323 | 5/31/2021 |
3.4.0-beta.0 | 177 | 5/27/2021 |
3.3.5-beta.0 | 244 | 5/13/2021 |
3.3.4 | 275,224 | 4/26/2021 |
3.3.3 | 2,023 | 4/23/2021 |
3.3.2 | 2,695 | 4/23/2021 |
3.3.1 | 319,593 | 4/5/2021 |
3.3.0 | 3,196 | 4/3/2021 |
3.2.0 | 28,984 | 3/26/2021 |
3.1.0 | 58,717 | 3/10/2021 |
3.0.8 | 25,238 | 3/4/2021 |
3.0.7 | 107,356 | 2/20/2021 |
3.0.6 | 29,469 | 2/14/2021 |
3.0.5 | 13,819 | 2/9/2021 |
3.0.4 | 17,436 | 2/8/2021 |
3.0.3 | 26,375 | 2/3/2021 |
3.0.2 | 4,459 | 2/3/2021 |
3.0.1 | 19,770 | 1/29/2021 |
3.0.0 | 9,076 | 1/28/2021 |
3.0.0-beta.0 | 405 | 1/20/2021 |
3.0.0-alpha.11 | 231 | 1/15/2021 |
3.0.0-alpha.10 | 62,136 | 1/10/2021 |
3.0.0-alpha.9 | 227 | 12/29/2020 |
3.0.0-alpha.8 | 3,840 | 12/25/2020 |
3.0.0-alpha.7 | 524 | 12/16/2020 |
3.0.0-alpha.6 | 257 | 11/30/2020 |
3.0.0-alpha.5 | 270 | 11/21/2020 |
3.0.0-alpha.4 | 441 | 11/2/2020 |
3.0.0-alpha.3 | 229 | 10/29/2020 |
3.0.0-alpha.2 | 243 | 10/21/2020 |
3.0.0-alpha.1 | 259 | 10/16/2020 |
3.0.0-alpha.0 | 359 | 9/25/2020 |
2.2.0-alpha | 696 | 9/19/2020 |
2.1.8 | 808,375 | 11/21/2020 |
2.1.6 | 784,194 | 8/20/2020 |
2.1.5 | 245,084 | 7/27/2020 |
2.1.5-beta | 551 | 6/30/2020 |
2.1.4 | 130,656 | 6/25/2020 |
2.1.3 | 138,019 | 6/5/2020 |
2.1.2-beta5 | 1,273 | 5/19/2020 |
2.1.2-beta4 | 1,866 | 5/12/2020 |
2.1.2-beta3 | 717 | 5/7/2020 |
2.1.2-beta2 | 1,583 | 4/16/2020 |
2.1.2-beta | 543 | 3/31/2020 |
2.1.1 | 549,509 | 3/19/2020 |
2.1.0 | 392,403 | 2/24/2020 |
2.0.3 | 35,290 | 2/12/2020 |
2.0.2 | 13,557 | 2/8/2020 |
2.0.1 | 90,606 | 1/28/2020 |
2.0.0 | 1,163 | 1/28/2020 |
2.0.0-beta8 | 761 | 1/15/2020 |
2.0.0-beta7 | 77,195 | 12/17/2019 |
2.0.0-beta6 | 6,928 | 10/31/2019 |
2.0.0-beta5 | 479 | 10/29/2019 |
2.0.0-beta4 | 9,830 | 9/4/2019 |
2.0.0-beta3 | 802 | 7/26/2019 |
2.0.0-beta2 | 1,226 | 6/9/2019 |
2.0.0-beta | 498 | 6/4/2019 |
1.2.1-beta | 486 | 5/27/2019 |
1.2.0 | 528,880 | 5/23/2019 |
1.1.3-beta4 | 568 | 5/15/2019 |
1.1.3-beta3 | 459 | 5/13/2019 |
1.1.3-beta2 | 493 | 3/28/2019 |
1.1.3-beta | 553 | 2/11/2019 |
1.1.2 | 102,898 | 1/16/2019 |
1.1.2-beta | 585 | 1/8/2019 |
1.1.1 | 1,973 | 1/5/2019 |
1.1.0 | 19,317 | 12/5/2018 |
1.0.1-beta5 | 573 | 12/5/2018 |
1.0.1-beta4 | 607 | 12/3/2018 |
# Changelog
## 3.0.0-alpha.11
- Limit attachment size (#705)
- Separate tracing middleware (#737)
## 3.0.0-alpha.10
- Disabled Mono StackTrace Factory. (#709) @lucas-zimerman
- Adds to the existing User Other dict rather than replacing (#729) @brettjenkins
## 3.0.0-alpha.9
- Handle non-json error response messages on HttpTransport. (#690) @lucas-zimerman
- Fix deadlock on missing ConfigureAwait into foreach loops. (#694) @lucas-zimerman
- Report gRPC sdk name (#700) @bruno-garcia
## 3.0.0-alpha.8
- Include parameters in stack frames. (#662) @Tyrrrz
- Remove CultureUIInfo if value is even with CultureInfo. (#671) @lucas-zimerman
- Make all fields on UserFeedback optional. (#660) @Tyrrrz
- Align transaction names with Java. (#659) @Tyrrrz
- Include assembly name in default release. (#682) @Tyrrrz
- Add support for attachments. (#670) @Tyrrrz
- Improve logging for relay errors. (#683) @Tyrrrz
- Report sentry.dotnet.aspnet on the new Sentry.AspNet package. (#681) @Tyrrrz
- Always send a default release. (#695) @Tyrrrz
## 3.0.0-alpha.7
* Ref moved SentryId from namespace Sentry.Protocol to Sentry (#643) @lucas-zimerman
* Ref renamed `CacheFlushTimeout` to `InitCacheFlushTimeout` (#638) @lucas-zimerman
* Add support for performance. ([#633](https://github.com/getsentry/sentry-dotnet/pull/633))
* Transaction (of type `string`) on Scope and Event now is called TransactionName. ([#633](https://github.com/getsentry/sentry-dotnet/pull/633))
## 3.0.0-alpha.6
* Abandon ValueTask #611
* Fix Cache deleted on HttpTransport exception. (#610) @lucas-zimerman
* Add `SentryScopeStateProcessor` #603
* Add net5.0 TFM to libraries #606
* Add more logging to CachingTransport #619
* Bump Microsoft.Bcl.AsyncInterfaces to 5.0.0 #618
* Bump `Microsoft.Bcl.AsyncInterfaces` to 5.0.0 #618
* `DefaultTags` moved from `SentryLoggingOptions` to `SentryOptions` (#637) @PureKrome
* `Sentry.Serilog` can accept DefaultTags (#637) @PureKrome
## 3.0.0-alpha.5
* Replaced `BaseScope` with `IScope`. (#590) @Tyrrrz
* Removed code coverage report from the test folder. (#592) @lucas-zimerman
* Add target framework NET5.0 on Sentry.csproj. Change the type of `Extra` where value parameter become nullable. @lucas-zimerman
* Implement envelope caching. (#576) @Tyrrrz
* Add a list of .NET Frameworks installed when available. (#531) @lucas-zimerman
* Parse Mono and IL2CPP stacktraces for Unity and Xamarin (#578) @bruno-garcia
* Update TFMs and dependency min version (#580) @bruno-garcia
* Run all tests on .NET 5 (#583) @bruno-garcia
## 3.0.0-alpha.4
* Add the client user ip if both SendDefaultPii and IsEnvironmentUser are set. (#1015) @lucas-zimerman
* Replace Task with ValueTask where possible. (#564) @Tyrrrz
* Add support for ASP.NET Core gRPC (#563) @Mitch528
* Push API docs to GitHub Pages GH Actions (#570) @bruno-garcia
* Refactor envelopes
## 3.0.0-alpha.3
* Add support for user feedback. (#559) @lucas-zimerman
* Add support for envelope deserialization (#558) @Tyrrrz
* Add package description and tags to Sentry.AspNet @Tyrrrz
* Fix internal url references for the new Sentry documentation. (#562) @lucas-zimerman
## 3.0.0-alpha.2
* Set the Environment setting to 'production' if none was provided. (#550) @PureKrome
* ASPNET.Core hosting environment is set to 'production' / 'development' (notice lower casing) if no custom options.Enviroment is set. (#554) @PureKrome
* Add most popular libraries to InAppExclude #555 (@bruno-garcia)
* Add support for individual rate limits.
* Extend `SentryOptions.BeforeBreadcrumb` signature to accept returning nullable values.
* Add support for envelope deserialization.
## 3.0.0-alpha.1
* Rename `LogEntry` to `SentryMessage`. Change type of `SentryEvent.Message` from `string` to `SentryMessage`.
* Change the type of `Gpu.VendorId` from `int` to `string`.
* Add support for envelopes.
* Publishing symbols package (snupkg) to nuget.org with sourcelink
## 3.0.0-alpha.0
* Move aspnet-classic integration to Sentry.AspNet (#528) @Tyrrrz
* Merge Sentry.Protocol into Sentry (#527) @Tyrrrz
* Framework and runtime info (#526) @bruno-garcia
* Add NRTS to Sentry.Extensions.Logging (#524) @Tyrrrz
* Add NRTs to Sentry.Serilog, Sentry.NLog, Sentry.Log4Net (#521) @Tyrrrz
* Add NRTs to Sentry.AspNetCore (#520) @Tyrrrz
* Fix CI build on GitHub Actions (#523) @Tyrrrz
* Add GitHubActionsTestLogger (#511) @Tyrrrz
We'd love to get feedback.
## 2.2.0-alpha
Add nullable reference types support (Sentry, Sentry.Protocol) (#509)
fix: Use ASP.NET Core endpoint FQDN (#485)
feat: Add integration to TaskScheduler.UnobservedTaskException (#481)
## 2.1.6
fix: aspnet fqdn (#485) @bruno-garcia
ref: wait on test the time needed (#484) @bruno-garcia
feat: Add integration to TaskScheduler.UnobservedTaskException (#481) @lucas-zimerman
build(deps): bump Serilog.AspNetCore from 3.2.0 to 3.4.0 (#477) @dependabot-preview
Fix README typo (#480) @AndreasLangberg
build(deps): bump coverlet.msbuild from 2.8.1 to 2.9.0 (#462) @dependabot-preview
build(deps): bump Microsoft.Extensions.Logging.Debug @dependabot-preview
fix some spelling (#475) @SimonCropp
build(deps): bump Microsoft.Extensions.Configuration.Json (#467) @dependabot-preview
## 2.1.5
* fix: MEL don't init if enabled (#460) @bruno-garcia
* feat: Device Calendar, Timezone, CultureInfo (#457) @bruno-garcia
* ref: Log out debug disabled (#459) @bruno-garcia
* dep: Bump PlatformAbstractions (#458) @bruno-garcia
* feat: Exception filter (#456) @bruno-garcia
## 2.1.5-beta
* fix: MEL don't init if enabled (#460) @bruno-garcia
* feat: Device Calendar, Timezone, CultureInfo (#457) @bruno-garcia
* ref: Log out debug disabled (#459) @bruno-garcia
* dep: Bump PlatformAbstractions (#458) @bruno-garcia
* feat: Exception filter (#456) @bruno-garcia
## 2.1.4
* NLog SentryTarget - NLogDiagnosticLogger for writing to NLog InternalLogger (#450) @snakefoot
* fix: SentryScopeManager dispose message (#449) @bruno-garcia
* fix: dont use Sentry namespace on sample (#447) @bruno-garcia
* Remove obsolete API from benchmarks (#445) @bruno-garcia
* build(deps): bump Microsoft.Extensions.Logging.Debug from 2.1.1 to 3.1.4 (#421) @dependabot-preview
* build(deps): bump Microsoft.AspNetCore.Diagnostics from 2.1.1 to 2.2.0 (#431) @dependabot-preview
* build(deps): bump Microsoft.CodeAnalysis.CSharp.Workspaces from 3.1.0 to 3.6.0 (#437) @dependabot-preview
## 2.1.3
* SentryScopeManager - Fixed clone of Stack so it does not reverse order (#420) @snakefoot
* build(deps): bump Serilog.AspNetCore from 2.1.1 to 3.2.0 (#411) @dependabot-preview
* Removed dependency on System.Collections.Immutable (#405) @snakefoot
* Fix Sentry.Microsoft.Logging Filter now drops also breadcrumbs (#440)
## 2.1.2-beta5
Fix Background worker dispose logs error message (#408)
Fix sentry serilog extension method collapsing (#406)
Fix Sentry.Samples.NLog so NLog.config is valid (#404)
Thanks @snakefoot and @JimHume for the fixes
Add MVC route data extraction to ScopeExtensions.Populate() (#401)
## 2.1.2-beta3
Fixed ASP.NET System.Web catch HttpException to prevent the request processor from being unable to submit #397 (#398)
## 2.1.2-beta2
* Ignore WCF error and capture (#391)
### 2.1.2-beta
* Serilog Sentry sink does not load all options from IConfiguration (#380)
* UnhandledException sets Handled=false (#382)
## 2.1.1
Bug fix: Don't overwrite server name set via configuration with machine name on ASP.NET Core #372
## 2.1.0
* Set score url to fully constructed url #367 Thanks @christopher-taormina-zocdoc
* Don't dedupe from inner exception #363 - Note this might change groupings. It's opt-in.
* Expose FlushAsync to intellisense #362
* Protocol monorepo #325 - new protocol version whenever there's a new SDK release
## 2.0.3
Expose httpHandler creation (#359)
NLog: possibility to override fingerprint using AdditionalGroupingKey (#358) @Shtannikov
Take ServerName from options (#356)
## 2.0.2
Add logger and category from Serilog SourceContext. (#316) @krisztiankocsis
Set DateFormatHandling.IsoDateFormat for serializer. Fixes #351 (#353) @olsh
## 2.0.1
Removed `-beta` from dependencies.
## 2.0.0
* SentryTarget - GetTagsFromLogEvent with null check (#326)
* handled process corrupted (#328)
* sourcelink GA (#330)
* Adds ability to specify user values via NLog configuration (#336)
* Add option to ASP.NET Core to flush events after response complete (#288)
* Fixed race on `BackgroundWorker` (#293)
* Exclude `Sentry.` frames from InApp (#272)
* NLog SentryTarget with less overhead for breadcrumb (#273)
* Logging on body not extracted (#246)
* Add support to DefaultTags for ASP.NET Core and M.E.Logging (#268)
* Don't use ValueTuple (#263)
* All public members were documented: #252
* Use EnableBuffering to keep request payload around: #250
* Serilog default levels: #237
* Removed dev dependency from external dependencies 4d92ab0
* Use new `Sentry.Protocol` 836fb07e
* Use new `Sentry.PlatformAbsrtractions` #226
* Debug logging for ASP.NET Classic #209
* Reading request body throws on ASP.NET Core 3 (#324)
* NLog: null check contextProp.Value during IncludeEventDataOnBreadcrumbs (#323)
* JsonSerializerSettings - ReferenceLoopHandling.Ignore (#312)
* Fixed error when reading request body affects collecting other request data (#299)
* `Microsoft.Extensions.Logging` `ConfigureScope` invocation. #208, #210, #224 Thanks @dbraillon
* `Sentry.Serilog` Verbose level. #213, #217. Thanks @kanadaj
* AppDomain.ProcessExit will close the SDK: #242
* Adds PublicApiAnalyzers to public projects: #234
* NLog: Utilizes Flush functionality in NLog target: #228
* NLog: Set the logger via the log event info in SentryTarget.Write, #227
* Multi-target .NET Core 3.0 (#308)
Major version bumped due to these breaking changes:
1. `Sentry.Protocol` version 2.0.0
* Remove StackTrace from SentryEvent [#38](https://github.com/getsentry/sentry-dotnet-protocol/pull/38) - StackTrace is either part of Thread or SentryException.
2. Removed `ContextLine` #223
3. Use `StackTrace` from `Threads` #222
4. `FlushAsync` added to `ISentryClient` #214
## 2.0.0-beta8
* SentryTarget - GetTagsFromLogEvent with null check (#326)
* handled process corrupted (#328)
* sourcelink GA (#330)
* Adds ability to specify user values via NLog configuration (#336)
## 2.0.0-beta7
Fixes:
* Reading request body throws on ASP.NET Core 3 (#324)
* NLog: null check contextProp.Value during IncludeEventDataOnBreadcrumbs (#323)
* JsonSerializerSettings - ReferenceLoopHandling.Ignore (#312)
Features:
* Multi-target .NET Core 3.0 (#308)
## 2.0.0-beta6
* Fixed error when reading request body affects collecting other request data (#299)
## 2.0.0-beta5
* Add option to ASP.NET Core to flush events after response complete (#288)
* Fixed race on `BackgroundWorker` (#293)
* Exclude `Sentry.` frames from InApp (#272)
* NLog SentryTarget with less overhead for breadcrumb (#273)
## 2.0.0-beta4
* Logging on body not extracted (#246)
* Add support to DefaultTags for ASP.NET Core and M.E.Logging (#268)
* Don't use ValueTuple (#263)
## 2.0.0-beta3
* All public members were documented: #252
* Use EnableBuffering to keep request payload around: #250
* Serilog default levels: #237
Thanks @josh-degraw for:
* AppDomain.ProcessExit will close the SDK: #242
* Adds PublicApiAnalyzers to public projects: #234
* NLog: Utilizes Flush functionality in NLog target: #228
* NLog: Set the logger via the log event info in SentryTarget.Write, #227
## 2.0.0-beta2
* Removed dev dependency from external dependencies 4d92ab0
* Use new `Sentry.Protocol` 836fb07e
* Use new `Sentry.PlatformAbsrtractions` #226
## 2.0.0-beta
Major version bumped due to these breaking changes:
1. `Sentry.Protocol` version 2.0.0
* Remove StackTrace from SentryEvent [#38](https://github.com/getsentry/sentry-dotnet-protocol/pull/38) - StackTrace is either part of Thread or SentryException.
2. Removed `ContextLine` #223
3. Use `StackTrace` from `Threads` #222
4. `FlushAsync` added to `ISentryClient` #214
Other Features:
* Debug logging for ASP.NET Classic #209
Fixes:
* `Microsoft.Extensions.Logging` `ConfigureScope` invocation. #208, #210, #224 Thanks @dbraillon
* `Sentry.Serilog` Verbose level. #213, #217. Thanks @kanadaj
## 1.2.1-beta
Fixes and improvements to the NLog integration: #207 by @josh-degraw
## 1.2.0
### Features
* Optionally skip module registrations #202 - (Thanks @josh-degraw)
* First NLog integration release #188 (Thanks @josh-degraw)
* Extensible stack trace #184 (Thanks @pengweiqhca)
* MaxRequestSize for ASP.NET and ASP.NET Core #174
* InAppInclude #171
* Overload to AddSentry #163 by (Thanks @f1nzer)
* ASP.NET Core AddSentry has now ConfigureScope: #160
### Bug fixes
* Don't override user #199
* Read the hub to take latest Client: 8f4b5ba
## 1.1.3-beta4
Bug fix: Don't override user #199
## 1.1.3-beta3
* First NLog integration release #188 (Thanks @josh-degraw)
* Extensible stack trace #184 (Thanks @pengweiqhca)
## 1.1.3-beta2
Feature:
* MaxRequestSize for ASP.NET and ASP.NET Core #174
* InAppInclude #171
Fix: Diagnostic log order: #173 by @scolestock
## 1.1.3-beta
Fixed:
* Read the hub to take latest Client: 8f4b5ba1a3
* Uses Sentry.Protocol 1.0.4 4035e25
Feature
* Overload to `AddSentry` #163 by @F1nZeR
* ASP.NET Core `AddSentry` has now `ConfigureScope`: #160
## 1.1.2
Using [new version of the protocol with fixes and features](https://github.com/getsentry/sentry-dotnet-protocol/releases/tag/1.0.3).
Fixed:
ASP.NET Core integration issue when containers are built on the ServiceCollection after SDK is initialized (#157, #103 )
## 1.1.2-beta
Fixed:
* ASP.NET Core integration issue when containers are built on the ServiceCollection after SDK is initialized (#157, #103 )
## 1.1.1
Fixed:
* Serilog bug that self log would recurse #156
Feature:
* log4net environment via xml configuration #150 (Thanks Sébastien Pierre)
## 1.1.0
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](https://github.com/getsentry/sentry-dotnet/graphs/contributors).
## 1.0.1-beta5
* Added `net461` target to Serilog package #148
## 1.0.1-beta4
* Serilog Integration #118, #145
* `Capture` methods return `SentryId` #139, #140
* MEL integration keeps properties as tags #146
* Revert reducing Json.NET requirements https://github.com/getsentry/sentry-dotnet/commit/1aed4a5c76ead2f4d39f1c2979eda02d068bfacd
Thanks to our growing [list of contributors](https://github.com/getsentry/sentry-dotnet/graphs/contributors).
## 1.0.1-beta3
Lowering Newtonsoft.Json requirements; #138
## 1.0.1-beta2
`Sentry` package Includes `net461` target #135
## 1.0.1-beta
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
### 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:
* [Code samples](https://github.com/getsentry/sentry-dotnet/tree/master/samples)
* [Sentry docs](https://docs.sentry.io/quickstart/?platform=csharp)
Sample event using the log4net integration:
![Sample event in Sentry](https://github.com/getsentry/sentry-dotnet/blob/master/samples/Sentry.Samples.Log4Net/.assets/log4net-sample.gif?raw=true)
Download it directly from GitHub or using NuGet:
| Integrations | NuGet |
| ----------------------------- | -------------------: |
| **Sentry** | [![NuGet](https://img.shields.io/nuget/vpre/Sentry.svg)](Sentry) |
| **Sentry.AspNetCore** | [![NuGet](https://img.shields.io/nuget/vpre/Sentry.AspNetCore.svg)](Sentry.AspNetCore) |
| **Sentry.Extensions.Logging** | [![NuGet](https://img.shields.io/nuget/vpre/Sentry.Extensions.Logging.svg)](Sentry.Extensions.Logging) |
| **Sentry.Log4Net** | [![NuGet](https://img.shields.io/nuget/vpre/Sentry.Log4Net.svg)](Sentry.Log4Net) |
# 1.0.0-rc2
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](https://img.shields.io/nuget/vpre/Sentry.svg)](Sentry) |
| **Sentry.AspNetCore** | [![NuGet](https://img.shields.io/nuget/vpre/Sentry.AspNetCore.svg)](Sentry.AspNetCore) |
| **Sentry.Extensions.Logging** | [![NuGet](https://img.shields.io/nuget/vpre/Sentry.Extensions.Logging.svg)](Sentry.Extensions.Logging) |
| **Sentry.Log4Net** | [![NuGet](https://img.shields.io/nuget/vpre/Sentry.Log4Net.svg)](Sentry.Log4Net) |
# 1.0.0-rc
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 https://github.com/getsentry/sentry-dotnet/commit/097c6a9c6f4348d87282c92d9267879d90879e2a
* Correct namespace for `AddSentry` https://github.com/getsentry/sentry-dotnet/commit/2498ab4081f171dc78e7f74e4f1f781a557c5d4f
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](https://github.com/getsentry/sentry-dotnet/tree/master/samples/Sentry.Samples.GenericHost) using [GenericHost](https://docs.microsoft.com/en-us/aspnet/core/fundamentals/host/generic-host?view=aspnetcore-2.1)
Download it directly below from GitHub or using NuGet:
| Integrations | NuGet |
| ----------------------------- | -------------------: |
| **Sentry** | [![NuGet](https://img.shields.io/nuget/vpre/Sentry.svg)](Sentry) |
| **Sentry.AspNetCore** | [![NuGet](https://img.shields.io/nuget/vpre/Sentry.AspNetCore.svg)](Sentry.AspNetCore) |
| **Sentry.Extensions.Logging** | [![NuGet](https://img.shields.io/nuget/vpre/Sentry.Extensions.Logging.svg)](Sentry.Extensions.Logging) |
| **Sentry.Log4Net** | [![NuGet](https://img.shields.io/nuget/vpre/Sentry.Log4Net.svg)](Sentry.Log4Net) |
# 0.0.1-preview5
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](https://www.youtube.com/watch?v=xK6a1goK_w0) how to use the ASP.NET Core integration.
Download it directly below from GitHub or using NuGet:
| Integrations | NuGet |
| ----------------------------- | -------------------: |
| **Sentry** | [![NuGet](https://img.shields.io/nuget/vpre/Sentry.svg)](Sentry) |
| **Sentry.AspNetCore** | [![NuGet](https://img.shields.io/nuget/vpre/Sentry.AspNetCore.svg)](Sentry.AspNetCore) |
| **Sentry.Extensions.Logging** | [![NuGet](https://img.shields.io/nuget/vpre/Sentry.Extensions.Logging.svg)](Sentry.Extensions.Logging) |
| **Sentry.Log4Net** | [![NuGet](https://img.shields.io/nuget/vpre/Sentry.Log4Net.svg)](Sentry.Log4Net) |
## 0.0.1-preview4
Features:
* Using [Sentry Protocol](https://github.com/getsentry/sentry-dotnet-protocol) as a dependency
* Environment can be set via `SentryOptions` #49
* Compress request body (configurable: Fastest, Optimal, Off) #63
* log4net integration
* SDK honors Sentry's 429 HTTP Status with Retry After header #61
Bug fixes:
* `Init` pushes the first scope #55, #54
* `Exception.Data` copied to `SentryEvent.Data` while storing the index of originating error.
* Demangling code ensures Function name available #64
* ASP.NET Core integration throws when Serilog added #65, #68, #67
Improvements to [the docs](https://getsentry.github.io/sentry-dotnet) like:
* Release discovery
* `ConfigureScope` clarifications
* Documenting samples
### [Watch on youtube](https://www.youtube.com/watch?v=xK6a1goK_w0) how to use the ASP.NET Core integration.
Download it directly from GitHub or using NuGet:
| Integrations | NuGet |
| ----------------------------- | -------------------: |
| **Sentry** | [![NuGet](https://img.shields.io/nuget/vpre/Sentry.svg)](Sentry) |
| **Sentry.AspNetCore** | [![NuGet](https://img.shields.io/nuget/vpre/Sentry.AspNetCore.svg)](Sentry.AspNetCore) |
| **Sentry.Extensions.Logging** | [![NuGet](https://img.shields.io/nuget/vpre/Sentry.Extensions.Logging.svg)](Sentry.Extensions.Logging) |
| **Sentry.Log4Net** | [![NuGet](https://img.shields.io/nuget/vpre/Sentry.Log4Net.svg)](Sentry.Log4Net) |
## 0.0.1-preview3
This third preview includes bug fixes and more features. Test coverage increased to 96%
Features and improvements:
* Filter duplicate events/exceptions #43
* EventProcessors can be added (sample [1](https://github.com/getsentry/sentry-dotnet/blob/dbb5a3af054d0ca6f801de37fb7db3632ca2c65a/samples/Sentry.Samples.Console.Customized/Program.cs#L151), [2](https://github.com/getsentry/sentry-dotnet/blob/dbb5a3af054d0ca6f801de37fb7db3632ca2c65a/samples/Sentry.Samples.Console.Customized/Program.cs#L41))
* ExceptionProcessors can be added #36 (sample [1](https://github.com/getsentry/sentry-dotnet/blob/dbb5a3af054d0ca6f801de37fb7db3632ca2c65a/samples/Sentry.Samples.Console.Customized/Program.cs#L172), [2](https://github.com/getsentry/sentry-dotnet/blob/dbb5a3af054d0ca6f801de37fb7db3632ca2c65a/samples/Sentry.Samples.Console.Customized/Program.cs#L42))
* Release is automatically discovered/reported #35
* Contexts is a dictionary - allows custom data #37
* ASP.NET integration reports context as server: server-os, server-runtime #37
* Assemblies strong named #41
* Scope exposes IReadOnly members instead of Immutables
* Released a [documentation site](https://getsentry.github.io/sentry-dotnet/)
Bug fixes:
#46 Strong name
#40 Logger provider gets disposed/flushes events
[Watch on youtube](https://www.youtube.com/watch?v=xK6a1goK_w0) how to use the ASP.NET Core integration.
Download it directly from GitHub or using NuGet:
| Integrations | NuGet |
| ----------------------------- | -------------------: |
| **Sentry** | [![NuGet](https://img.shields.io/nuget/vpre/Sentry.svg)](Sentry) |
| **Sentry.AspNetCore** | [![NuGet](https://img.shields.io/nuget/vpre/Sentry.AspNetCore.svg)](Sentry.AspNetCore) |
| **Sentry.Extensions.Logging** | [![NuGet](https://img.shields.io/nuget/vpre/Sentry.Extensions.Logging.svg)](Sentry.Extensions.Logging) |
## 0.0.1-preview2
This second release includes bug fixes and more features. Test coverage increased to 93%
Features and improvements:
* Added `CaptureMessage`
* `BeforeSend` callback errors are sent as breadcrumbs
* `ASP.NET Core` integration doesn't add tags added by `Microsoft.Extensions.Logging`
* SDK name is reported depending on the package added
* Integrations API allows user-defined SDK integration
* Unhandled exception handler can be configured via integrations
* Filter kestrel log eventid 13 (application error) when already captured by the middleware
Bugs fixed:
* Fixed #28
* HTTP Proxy set to HTTP message handler
Download it directly from GitHub or using NuGet:
| Integrations | NuGet |
| ----------------------------- | -------------------: |
| **Sentry** | [![NuGet](https://img.shields.io/nuget/vpre/Sentry.svg)](Sentry) |
| **Sentry.AspNetCore** | [![NuGet](https://img.shields.io/nuget/vpre/Sentry.AspNetCore.svg)](Sentry.AspNetCore) |
| **Sentry.Extensions.Logging** | [![NuGet](https://img.shields.io/nuget/vpre/Sentry.Extensions.Logging.svg)](Sentry.Extensions.Logging) |
## 0.0.1-preview1
Our first preview of the SDK:
Main features:
* 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.
* Captures process-wide unhandled exceptions (AppDomain)
* Captures logger.Error or logger.Critical
* When an event is sent, data from the current request augments the event.
* Sends information about the server running the app (OS, Runtime, etc)
* Informational logs written by the app or framework augment events sent to Sentry
* Optional include of the request body
* HTTP Proxy configuration
Also available via NuGet:
[Sentry](Sentry/0.0.1-preview1)
[Sentry.AspNetCore](Sentry.AspNetCore/0.0.1-preview1)
[Sentry.Extensions.Logging](Sentry.Extensions.Logging/0.0.1-preview1)