Skip to content

4.0.0

Compare
Choose a tag to compare
@krajek krajek released this 11 Feb 07:43
· 301 commits to master since this release

Added

  • New recommended fluent API for destructuring process configuration based on DestructuringOptionsBuilder
  • Ability to configure global exception properties filter
  • Ability to configure root property name of destructured exception
  • Ability to configure depth of reflection based destructuring
  • Benchmark project for performance measurements
  • Documentation comments for the whole public API

Changed

  • Uri objects are destructured to plain strings instead of dictionaries
  • Adjusted examples using Serilog.RollingFile to updated API
  • Reflection destructurer caches PropertyInfo for each exception type
  • WithExceptionDetails overload with no parameters, sets default filter ignoring StackTrace and TargetSite
  • IExceptionDestructurer interface changed, instead of Dictionary it accepts IExceptionPropertiesBag

Fixed

  • Appveyor build

Removed

  • LoggerEnrichmentConfiguration not used extension methods: WithProperties and WithLazyProperties

Deprecated

  • Configuration of destructurers using a raw destructurers list, usage of new fluent API is recommended