Skip to content

Release v22.9.0

Choose a tag to compare

@github-actions github-actions released this 01 Sep 19:24
e0976a4

Added

  • CommandScenario<TCommand> implements IDisposable and IAsyncDisposable, disposing the service provider it builds and any disposable values extension packages place in Context (such as the Chronicle extender's EventScenario); disposal is idempotent and Execute/Validate throw ObjectDisposedException after disposal (#2629)

Changed

  • CommandScenario<TCommand> no longer registers a console logger by default — ILogger<T> resolves as a no-op, so no logging processor thread is spawned per scenario; opt in with scenario.Services.AddLogging(l => l.AddConsole()) before the first Execute/Validate to see log output (#2629)

Fixed

  • AddCratisArcMeter no longer creates and abandons an undisposed Meter on every call after the first — the meter is created only when actually registered and is now owned and disposed by the service provider (#2629)