diff --git a/packages/go_router/CHANGELOG.md b/packages/go_router/CHANGELOG.md index ebc65a4c0cd..b4f32dc31ed 100644 --- a/packages/go_router/CHANGELOG.md +++ b/packages/go_router/CHANGELOG.md @@ -1,27 +1,17 @@ -## 15.2.4 +## 16.0.0 -- Fixes routing to treat URLs with different cases (e.g., `/Home` vs `/home`) as distinct routes. - -## 15.2.3 - -- Updates Type-safe routes topic documentation to use the mixin from `go_router_builder` 3.0.0. - -## 15.2.2 - -- Fixes calling `PopScope.onPopInvokedWithResult` in branch routes. - -## 15.2.1 - -* Fixes Popping state and re-rendering scaffold at the same time doesn't update the URL on web. - -## 15.2.0 - -* `GoRouteData` now defines `.location`, `.go(context)`, `.push(context)`, `.pushReplacement(context)`, and `replace(context)` to be used for [Type-safe routing](https://pub.dev/documentation/go_router/latest/topics/Type-safe%20routes-topic.html). **Requires go_router_builder >= 3.0.0**. +- **BREAKING CHANGE** + - Bump major version for `GoRouteData` breaking changes. + - (Previously 15.2.4) Fixes routing to treat URLs with different cases (e.g., `/Home` vs `/home`) as distinct routes. + - (Previously 15.2.3) Updates Type-safe routes topic documentation to use the mixin from `go_router_builder` 3.0.0. + - (Previously 15.2.2) Fixes calling `PopScope.onPopInvokedWithResult` in branch routes. + - (Previously 15.2.1) Fixes Popping state and re-rendering scaffold at the same time doesn't update the URL on web. + - (Previously 15.2.0) `GoRouteData` now defines `.location`, `.go(context)`, `.push(context)`, `.pushReplacement(context)`, and `replace(context)` to be used for [Type-safe routing](https://pub.dev/documentation/go_router/latest/topics/Type-safe%20routes-topic.html). **Requires go_router_builder >= 3.0.0**. ## 15.1.3 -* Updates minimum supported SDK version to Flutter 3.27/Dart 3.6. -* Fixes typo in API docs. +- Updates minimum supported SDK version to Flutter 3.27/Dart 3.6. +- Fixes typo in API docs. ## 15.1.2 diff --git a/packages/go_router/README.md b/packages/go_router/README.md index 8f54d8e10e1..749f56e2aa6 100644 --- a/packages/go_router/README.md +++ b/packages/go_router/README.md @@ -37,6 +37,7 @@ See the API documentation for details on the following topics: - [Error handling](https://pub.dev/documentation/go_router/latest/topics/Error%20handling-topic.html) ## Migration Guides +- [Migrating to 16.0.0](https://flutter.dev/go/go-router-v16-breaking-changes). - [Migrating to 15.0.0](https://flutter.dev/go/go-router-v15-breaking-changes). - [Migrating to 14.0.0](https://flutter.dev/go/go-router-v14-breaking-changes). - [Migrating to 13.0.0](https://flutter.dev/go/go-router-v13-breaking-changes). diff --git a/packages/go_router/pubspec.yaml b/packages/go_router/pubspec.yaml index 6be302ef6ba..3debeeaf158 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: 15.2.4 +version: 16.0.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