Skip to content

Commit

Permalink
release v9.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
FantasticFiasco committed Apr 14, 2024
1 parent e40602a commit f49f9bf
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
29 changes: 29 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,35 @@ This project adheres to [Semantic Versioning](http://semver.org/) and is followi

## Unreleased

## [9.0.0] - 2024-04-14

### :zap: Added

- [#311](https://github.com/FantasticFiasco/serilog-sinks-http/issues/311) [BREAKING CHANGE] Support specifying `levelSwitch` when creating the sink, thus adding the support to [dynamically change the log level at runtime](https://nblumhardt.com/2014/10/dynamically-changing-the-serilog-level/) (contribution by [@yuriy-millen](https://github.com/yuriy-millen))

**Migration guide**

The parameter `levelSwitch` has been introduced to the methods `Http`, `DurableHttpUsingFileSizeRolledBuffers` and `DurableHttpUsingTimeRolledBuffers`. Please verify that the arguments pass by you to these methods still align with your intentions.

To automatically mitigate this kind of *new parameter issue* in the future, move from using positional arguments to named arguments.
- [#262](https://github.com/FantasticFiasco/serilog-sinks-http/issues/262) [BREAKING CHANGE] Support specifying `flushOnClose` when creating the sink, thus adding the support to suppress sending unsent log events to the log server before closing the sink (proposed by [@murlidakhare](https://github.com/murlidakhare), [@julichan](https://github.com/julichan), [@janichirag11](https://github.com/janichirag11) & [@prasadpaul53](https://github.com/prasadpaul53))

**Migration guide**

The parameter `flushOnClose` has been introduced to the methods `Http`, `DurableHttpUsingFileSizeRolledBuffers` and `DurableHttpUsingTimeRolledBuffers`. Please verify that the arguments pass by you to these methods still align with your intentions.

To automatically mitigate this kind of *new parameter issue* in the future, move from using positional arguments to named arguments.
- Support for .NET Framework 4.6.2

### :dizzy: Changed

- [#262](https://github.com/FantasticFiasco/serilog-sinks-http/issues/262) [BREAKING CHANGE] A new argument of type `CancellationToken` has been added to the `PostAsync` method of interface `IHttpClient`.

### :skull: Removed

- [#253](https://github.com/FantasticFiasco/serilog-sinks-http/issues/253) [BREAKING CHANGE] Remove support for .NET Framework 4.5, aligning with the [.NET Framework support policy](https://learn.microsoft.com/lifecycle/products/microsoft-net-framework)
- [BREAKING CHANGE] Remove support for .NET Framework 4.6.1, aligning with the [.NET Framework support policy](https://learn.microsoft.com/lifecycle/products/microsoft-net-framework)

## [9.0.0-beta.2] - 2024-03-27

### :zap: Added
Expand Down
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<VersionPrefix>9.0.0</VersionPrefix>
<VersionSuffix>beta.2</VersionSuffix>
<VersionSuffix></VersionSuffix>
<Authors>Mattias Kindborg</Authors>
<Copyright>Copyright 2015-2024 Serilog Contributors</Copyright>
<Company />
Expand Down

0 comments on commit f49f9bf

Please sign in to comment.