Skip to content

v0.2.1 Changelog

Release date: February 26, 2026

v0.2.1 is a patch release in the v0.2.x line, focused on fixing a startup crash in self-contained / single-file deployments.

Fixes

Fix: Serilog initialization failure causing host startup crash

In some self-contained / single-file artifacts, the host could fail at startup with:

System.InvalidOperationException: No Serilog:Using configuration section is defined and no Serilog assemblies were found.

Root cause: in single-file mode, Serilog sink assemblies were not reliably auto-discovered.

This release explicitly registers the following assemblies during logger initialization:

  • Serilog.Sinks.Console
  • Serilog.Sinks.Async
  • Serilog.Sinks.File

Impact

  • Self-contained / single-file deployments now start correctly
  • Existing logging configuration structure remains unchanged; no appsettings.json changes are required

Compatibility

  • No new breaking changes in this release
  • All v0.2.0 users are recommended to upgrade to v0.2.1