From a8fc4a25aca7ba9723167616a37e01bc01d19ec9 Mon Sep 17 00:00:00 2001 From: Matthias Beerens <3512339+Matthiee@users.noreply.github.com> Date: Sun, 12 May 2024 20:13:57 +0200 Subject: [PATCH] Prepare release `0.3.0` (#12) * Update pubspec * Update changelog --- CHANGELOG.md | 7 +++++++ pubspec.yaml | 6 +++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c99e38c..8ccde5a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## 0.3.0 + +- Reworked `registerFactory` methods used on `RequestManager`, `EventManager` and `PipelineConfigurator` to be extension methods (#9) +- The built-in `EventHandler`, `RequestHandler` and `PipelineBehavior` are now immutable (#9) +- Only 1 pipeline behavior will be returned if the same instance is registered multiple times using `register` and `registerGeneric` methods (#10) +- `RequestManager.unregister` added (#11) + ## 0.2.0 - `RequestManager.send` now only accepts a single generic argument, `TResponse`, which is the type of the response body. The `TRequest` type argument has been removed. The type of the Response will be inferred based on the given `Request` (#3) diff --git a/pubspec.yaml b/pubspec.yaml index c669ea9..f0ad396 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -2,8 +2,12 @@ name: dart_mediator description: > A simple yet highly configurable Mediator implementation that allows sending requests and publishing events. -version: 0.2.0 +version: 0.3.0 repository: https://github.com/MatthiWare/mediator.dart +issue_tracker: https://github.com/MatthiWare/mediator.dart/issues + +topics: + - mediator environment: sdk: '>=3.0.0 <4.0.0'