- Updated Raygun4Net dependency
- Added
ApplicationBuilderExtensions
to allowAddRaygun(...)
for use in Console/Services - Implemented new
RaygunClientSink
which is cut down but supports using whatever RaygunClient is registered via DI- This treats RaygunClient as a singleton and uses it to send messages
- Adds support for using Raygun4Net.AspNetCore package to register RaygunClient in DI
- Adds support for
IRaygunUserProvider
to be registered in DI - See: #71
- Notes: RaygunSink is left unchanged, this should not be a breaking change for anyone using the package as it is,
but the new
RaygunClientSink
is available for those who wish to use it. The new sink is more flexible and allows for custom RaygunClient instances to be used.
- Fixed issue in RaygunSink where it was not setting Request/Response messages if supplied by the code Enricher
- Bumped Raygun.NetCore dependency to 8.2.0 to fix issue where custom RaygunClient with HttpClient could not be used
- Drop Serilog dependency from 3.0.0 to 2.12.0
- Include new Enricher Readme in repo for those who still wish to use the ASP.NET Core Enricher
- An example of this usage can be found in Serilog.Sinks.Raygun.SampleWebApp project
- Drop ASP.NET Core Enricher (use
Serilog.AspNetCore
package instead) - Removes dependency on
Mindscape.Raygun4Net.AspNetCore
package- This fixes an issue where Serilog couldn't be used in MAUI apps due to the dependency on
Microsoft.AspNetCore.App
which is not available in MAUI apps
- This fixes an issue where Serilog couldn't be used in MAUI apps due to the dependency on
- Add ability to specify
RaygunClient
instance to use by implementingIRaygunClientProvider
- This allows for custom configuration of the
RaygunClient
instance - This also allows for using the
RaygunClient
instance from theMindscape.Raygun4Net
package
- This allows for custom configuration of the
- Add conditional build for MAUI targets to drop ASP .NET Core dependency