From 46d3abc99fe453259b139f0ac27d16c1491f137a Mon Sep 17 00:00:00 2001 From: Artem Abramov Date: Tue, 10 Jun 2025 12:23:09 +0400 Subject: [PATCH] Release 4.7.1 --- CHANGELOG.md | 8 ++++++++ lib/src/components/action.dart | 2 +- pubspec.yaml | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d9d6c46..0b0d361 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +## [4.7.1] + +- Change `FutureOr wrapReduce(Reducer reduce)` to `Future wrapReduce(Reducer reduce)` to fix the issue + +## [4.7.0] + +- Bump dependencies + ## [4.6.3] - Bump dependencies diff --git a/lib/src/components/action.dart b/lib/src/components/action.dart index cd94012..110dfe2 100644 --- a/lib/src/components/action.dart +++ b/lib/src/components/action.dart @@ -37,7 +37,7 @@ abstract class Action extends ReduxAction { } @override - FutureOr wrapReduce(Reducer reduce) async { + Future wrapReduce(Reducer reduce) async { final newState = await reduce(); _isSuccessfullyCompleted = true; diff --git a/pubspec.yaml b/pubspec.yaml index 0c5ce83..4133edc 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: dash_kit_core description: The core component for DashKit that provides basic architecture components -version: 4.7.0 +version: 4.7.1 homepage: https://github.com/Dash-Kit/dash-kit-core environment: