Skip to content

Commit

Permalink
V7.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
escamoteur committed Nov 14, 2024
1 parent 4edc78f commit 4a9ba74
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[6.0.2] 14.11.2024
* add stricter static type checks
[7.0.0] 14.11.2024
* add stricter static type checks. this is a breaking change because the `globalExceptionHandler` correctly has to accept `CommandError<dynamic>` instead of `CommandError<Object>`
[6.0.1] 29.09.2024
* Update to latest version of functional_listener to fix a potential bug when removing the last listener from `canExecute`
[6.0.0]
Expand Down
2 changes: 1 addition & 1 deletion example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dependencies:
http: ^0.13.0
flutter_command:
path: ../
functional_listener: ^3.0.0
functional_listener: ^4.0.0

dev_dependencies:
flutter_lints: ^2.0.1
Expand Down
4 changes: 2 additions & 2 deletions lib/flutter_command.dart
Original file line number Diff line number Diff line change
Expand Up @@ -268,8 +268,8 @@ abstract class Command<TParam, TResult> extends CustomValueNotifier<TResult> {
return;
}

_commandResult.value =
CommandResult<TParam, TResult>(param, result, null, false);
_commandResult.value = CommandResult<TParam, TResult>(
param, _noReturnValue ? null : result, null, false);
if (!_noReturnValue) {
value = result;
} else {
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: flutter_command
description: flutter_command is a way to manage your state based on `ValueListenable` and the `Command` design pattern.
version: 6.0.2
version: 7.0.0
homepage: https://github.com/escamoteur/flutter_command

environment:
Expand Down

0 comments on commit 4a9ba74

Please sign in to comment.