You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Release v9.1.1: Rename filter and add GlobalErrorFilter
Improvements:
- Renamed FirstLocalThenGlobalErrorFilter to GlobalIfNoLocalErrorFilter for better clarity
- Name now clearly indicates "global if no local handler" behavior
New Features:
- Added GlobalErrorFilter that routes errors ONLY to global handler
- Returns ErrorReaction.globalHandler (not firstLocalThenGlobal)
- Useful when you want all errors to go global regardless of local listeners
Fixes:
- Removed incorrectly deprecated GlobalErrorFilter from v9.1.0
- Replaced with correct implementation
Tests:
- Added test for GlobalErrorFilter behavior
- All 38 tests passing
Copy file name to clipboardExpand all lines: CHANGELOG.md
+17-3Lines changed: 17 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,17 @@
1
+
[9.1.1] - 2025-11-21
2
+
3
+
### Improvements
4
+
5
+
-**Renamed GlobalIfNoLocalErrorFilter**: Renamed `FirstLocalThenGlobalErrorFilter` to `GlobalIfNoLocalErrorFilter` for better clarity. The name now clearly indicates "global if no local handler".
6
+
7
+
### New Features
8
+
9
+
-**Added GlobalErrorFilter**: New filter that routes errors ONLY to the global handler, regardless of local listeners. Returns `ErrorReaction.globalHandler`.
10
+
11
+
### Fixes
12
+
13
+
-**Removed incorrectly named GlobalErrorFilter**: The previous `GlobalErrorFilter` that was deprecated in v9.1.0 has been removed and replaced with the correct implementation.
14
+
1
15
[9.1.0] - 2025-11-21
2
16
3
17
### New Features
@@ -45,9 +59,9 @@ class MyApp extends WatchingWidget {
45
59
-**Improved ErrorFilter class naming consistency**: Renamed `ErrorHandler*` classes to simpler `*ErrorFilter` pattern to better align with existing filters. Old names remain functional with deprecation warnings until v10.0.0.
-**[Global Errors Stream](https://flutter-it.dev/documentation/command_it/global_configuration#globalerrors)** — Reactive monitoring of all globally-routed errors
161
161
-**[Error Filters](https://flutter-it.dev/documentation/command_it/error_filters)** — Route errors by type or predicate
162
-
-**[Built-in Filters](https://flutter-it.dev/documentation/command_it/error_filters#built-in-filters)** — GlobalErrorFilter, PredicatesErrorFilter, etc.
162
+
-**[Built-in Filters](https://flutter-it.dev/documentation/command_it/error_filters#built-in-filters)** — GlobalIfNoLocalErrorFilter, PredicatesErrorFilter, etc.
Copy file name to clipboardExpand all lines: pubspec.yaml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
name: command_it
2
2
description: command_it is a way to manage your state based on `ValueListenable` and the `Command` design pattern. It is a rebranding of flutter_command.
0 commit comments