Skip to content

Releases: martinothamar/Mediator

v2.1 - Bugfixes, new abstractions for pre/post-processors and exception hadlers

01 Mar 19:18
Compare
Choose a tag to compare

Bugfixes:

  • Fix thread safety issue in ISourceGenerator/IIncrementalGenerator implementations (#56) (also backported to 2.0.x)
  • Make sure transient handlers are disposed (#73) (also backported to 2.0.x)
  • Fix build performance regression after #77 (#84)
  • Disable CS8321 warning for generated code, "unused local function" #85
  • Harden AddMediator configuration - explicit type parameter (#82)

Feature:

  • Pre, post processors and exception handlers (#67)
  • Fix for the source generator to process projects that do not directly use any of the types from Mediator.Abstractions (#77) (thanks @anadale!)
    • Supports codegen for projects that transitively depend on Mediator.Abstractions

Other:

  • Cleanup and modernization of ASP.NET Core clean architecture sample #12f2102

v2.0 - new configuration options, better error handling, bugfixes and perf improvements

04 Dec 18:49
Compare
Choose a tag to compare

Finally publishing the v2.0 release.

  • Configure Mediator through AddMediator call (assembly attribute still works) (#21, #24)
  • Throw ArgumentNullException for null messages (#22)
  • Pass Publish<INotification> calls to Publish(object) (#22)
  • Optimize notifications (52ns -> 11ns for the most common case) (#23)
  • Cleanup and optimization in source generator (#25, thanks @Timmoth!)
  • Modernize source generator to support both 3.8 and 4.0 Roslyn versions (also prepare for incremental codegen) (#26)
  • Updated benchmarks to account for changes (#27)
  • Smoketests, unittests, memory allocation tests (#28, #29)
  • Cleanup analysis-part of source generator, use 6.0.0 of .NET references (#30)
  • Use csharpier for consistent formatting (#31)
  • Benchmark for source generation process (#32)
  • Bugfix for using arrays as response types (#33, #34)
  • Multiple bugfixes for stream requests and structs (see linked PRs #36, thanks @Tornhoof!)
  • Improve error handling in source generation process (#33 (comment), #40)
  • Support Notification Handler Identification via Reflection (#39, #42, thanks @Tornhoof!)
  • Fix defensive copy for non-readonly structs (#43, #44, thanks @Tornhoof!)
  • Add missing debugger attributes (#46)
  • Bugfixes and benchmark for larger projects (#41)
  • Fix thread safety issue in ISourceGenerator/IIncrementalGenerator implementations (#56, thanks for reporting @AlexDelepine!)
  • Typo fix in README (#61, thanks @sjmdsky!)

v1.0 - streaming async iterators support and .NET Standard 2.1

10 Feb 21:22
Compare
Choose a tag to compare

This release includes

  • Support for streaming async iterators (IAsyncEnumerable) and bumped the target framework to .NET Standard 2.1. (#9 #13)
  • Project is now built using .NET 6
  • Updated docs, benchmarks (new versions of MediatR etc)