Skip to content

Upgrading Serilog.Sinks.Async 1 to 2

Breaking1.5.0 → 2.1.0Breaking1New1Other1

BreakingUpgrade verdict

1 breaking change.

  • The package now requires Serilog 4 and only supports netstandard2.0 and newer. Some duplicate WriteTo.Async() overloads are gone, so code using them may need adjusting.
1 item needs code or config changes

Target frameworks requirement changed in 2.0.0-dev-00091: .NETFramework4.5, .NETFramework4.6.1, .NETStandard1.1, .NETStandard2.0 → .NETFramework4.6.2, .NETFramework4.7.1, .NETStandard2.0, net6.0, net8.0.

Drops netstandard.library.

Moves serilog 2.9.0 → 4.1.0. Your build may pick other versions.

Breaking1
Updates to Serilog 4, removes redundant WriteTo.Async() overloads, and drops pre-netstandard2.0 target frameworks.
WriteTo.Async()