From f08dba6e51485a8493f33ced7c221590051af612 Mon Sep 17 00:00:00 2001 From: flutteractionsbot Date: Mon, 1 Jun 2026 09:52:07 +0000 Subject: [PATCH] [packages/packages/go_router] Prepare for batch release --- packages/go_router/CHANGELOG.md | 5 +++++ .../pending_changelogs/11150-allow-onexit-as-optional.yaml | 3 --- .../pending_changelogs/change_2026_05_18_1779127320276.yaml | 3 --- packages/go_router/pubspec.yaml | 2 +- 4 files changed, 6 insertions(+), 7 deletions(-) delete mode 100644 packages/go_router/pending_changelogs/11150-allow-onexit-as-optional.yaml delete mode 100644 packages/go_router/pending_changelogs/change_2026_05_18_1779127320276.yaml diff --git a/packages/go_router/CHANGELOG.md b/packages/go_router/CHANGELOG.md index 9aad45c2da0c..79eb13d61fad 100644 --- a/packages/go_router/CHANGELOG.md +++ b/packages/go_router/CHANGELOG.md @@ -1,3 +1,8 @@ +## 17.3.0 + +- Updates minimum supported SDK version to Flutter 3.38/Dart 3.10. +- Adds `hasOverriddenOnExit` parameter to `GoRouteData.$route` and `RelativeGoRouteData.$route` helper methods for type-safe routes. When set to `true`, enables custom `onExit` callback invocation from route data classes extending `GoRouteData` or `RelativeGoRouteData` when the route is removed from the navigation stack. + ## 17.2.3 - Fixes an assertion failure when navigating to URLs with hash fragments missing a leading slash. diff --git a/packages/go_router/pending_changelogs/11150-allow-onexit-as-optional.yaml b/packages/go_router/pending_changelogs/11150-allow-onexit-as-optional.yaml deleted file mode 100644 index 24c045618c6d..000000000000 --- a/packages/go_router/pending_changelogs/11150-allow-onexit-as-optional.yaml +++ /dev/null @@ -1,3 +0,0 @@ -changelog: | - - Adds `hasOverriddenOnExit` parameter to `GoRouteData.$route` and `RelativeGoRouteData.$route` helper methods for type-safe routes. When set to `true`, enables custom `onExit` callback invocation from route data classes extending `GoRouteData` or `RelativeGoRouteData` when the route is removed from the navigation stack. -version: minor \ No newline at end of file diff --git a/packages/go_router/pending_changelogs/change_2026_05_18_1779127320276.yaml b/packages/go_router/pending_changelogs/change_2026_05_18_1779127320276.yaml deleted file mode 100644 index a3c0c3ec45f7..000000000000 --- a/packages/go_router/pending_changelogs/change_2026_05_18_1779127320276.yaml +++ /dev/null @@ -1,3 +0,0 @@ -changelog: | - - Updates minimum supported SDK version to Flutter 3.38/Dart 3.10. -version: skip diff --git a/packages/go_router/pubspec.yaml b/packages/go_router/pubspec.yaml index d4da05afae9f..77e1c11fde77 100644 --- a/packages/go_router/pubspec.yaml +++ b/packages/go_router/pubspec.yaml @@ -1,7 +1,7 @@ name: go_router description: A declarative router for Flutter based on Navigation 2 supporting deep linking, data-driven routes and more -version: 17.2.3 +version: 17.3.0 repository: https://github.com/flutter/packages/tree/main/packages/go_router issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+go_router%22