Skip to content

Update dependency go_router to v18 - #140

Open
devdogs-renovate[bot] wants to merge 1 commit into
mainfrom
renovate/go_router-18.x
Open

devdogs-renovate[bot] wants to merge 1 commit into
mainfrom
renovate/go_router-18.x

Conversation

@devdogs-renovate

@devdogs-renovate devdogs-renovate Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

This PR contains the following updates:

Package Type Update Change
go_router (source) dependencies major ^14.6.0 → ^18.0.0

Release Notes

flutter/packages (go_router)

v18.1.2

Compare Source

  • Fixes web text fields losing focus when an autocomplete overlay opens inside a shell route.

v18.1.1

Compare Source

  • Fixes unrelated async errors started during redirects being wrapped as GoException.
  • Fixes ShellRoute page and navigator key collisions when pushing between nested shell routes.
  • Preserves and updates loaded StatefulShellRoute branches when the routing configuration changes, including resetting removed branch locations.
  • Preserves branch and root navigator observers when rebuilding inactive or preloaded shell branches.
  • Adds a link from ShellRoute to StatefulShellRoute for navigation with persistent branch state.

v18.1.0

Compare Source

  • Adds clipBehavior to ShellRoute and StatefulShellBranch, forwarded to the nested Navigator.

v18.0.2

Compare Source

  • Fixes ShellRoute/StatefulShellRoute shell chrome (e.g. a side rail or app bar painted before the routed child) being dropped from the semantics tree by the active route's ModalBarrier.
    Fixes pushed routes nested within a shell being lost when a dynamic routing configuration changes.

v18.0.1

Compare Source

Clarifies onEnter documentation regarding evaluation order relative to redirect: chains.

v18.0.0

Compare Source

  • Migrates to material_ui and cupertino_ui.
  • Updates minimum supported SDK version to Flutter 3.44/Dart 3.12.

v17.5.0

Compare Source

  • Adds route metadata support, including inheritance and override behavior with exposure on GoRouterState.
  • Documents support for regular expression constraints in GoRoute path parameters.

v17.4.0

Compare Source

  • Fixes onExit ignored for GoRoute nested inside ShellRoute
  • Adds BlockedInitialNavigationException (a GoException subtype), raised when the initial navigation is blocked by onEnter with no prior route to restore, so apps can distinguish this case in onException without string matching.

v17.3.0

Compare Source

  • 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.

v17.2.3

Compare Source

  • Fixes an assertion failure when navigating to URLs with hash fragments missing a leading slash.

v17.2.2

Compare Source

  • Fixes pop() restoring stale configuration when route has onExit, which could cause the popped route to reappear with async redirects.

v17.2.1

Compare Source

  • Fixes chained top-level redirects not being fully resolved (e.g. / → /a → /b stopping at /a).
  • Fixes route-level redirects not triggering top-level redirect re-evaluation on the new location.

v17.2.0

Compare Source

  • Fixes Block.then() and Allow.then() navigation callbacks being silently lost when triggered by refreshListenable due to re-entrant route processing.
  • Adds encoder, decoder and compare parameters to TypedQueryParameter annotation for custom encoding, decoding and comparison of query parameters in TypedGoRoute constructors.

v17.1.0

Compare Source

  • Adds TypedQueryParameter annotation to override parameter names in TypedGoRoute constructors.

v17.0.1

Compare Source

  • Fixes an issue where onEnter blocking causes navigation stack loss (stale state restoration).
  • Updates minimum supported SDK version to Flutter 3.32/Dart 3.8.

v17.0.0

Compare Source

  • BREAKING CHANGE
    • ShellRoute's navigating changes notify GoRouter's observers by default.
    • Adds notifyRootObserver to ShellRouteBase, ShellRoute, StatefulShellRoute, ShellRouteData.$route, TypedShellRoute, TypedStatefulShellRoute.

v16.3.0

Compare Source

  • Adds a top-level onEnter callback with access to current and next route states.

v16.2.5

Compare Source

  • Fixes GoRouter.of(context) access inside redirect callbacks by providing router access through Zone-based context tracking.
  • Adds support for using context extension methods (e.g., context.namedLocation(), context.go()) within redirect callbacks.

v16.2.4

Compare Source

  • Fix Android Cold Start deep link with empty path losing scheme and authority.

v16.2.3

Compare Source

  • Fixes an issue where iOS back gesture pops entire ShellRoute instead of the active sub-route.

v16.2.2

Compare Source

  • Fixes broken links in readme.

v16.2.1

Compare Source

  • Adds state restoration topic to documentation.

v16.2.0

Compare Source

  • Adds RelativeGoRouteData and TypedRelativeGoRoute.
  • Updates minimum supported SDK version to Flutter 3.29/Dart 3.7.

v16.1.0

Compare Source

  • Adds annotation for go_router_builder that enable custom string encoder/decoder #​110781. Requires go_router_builder >= 3.1.0.

v16.0.0

Compare Source

  • 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. Requires go_router_builder >= 3.0.0.

v15.1.3

Compare Source

  • Updates minimum supported SDK version to Flutter 3.27/Dart 3.6.
  • Fixes typo in API docs.

v15.1.2

Compare Source

  • Fixes focus request propagation from GoRouter to Navigator by properly handling the requestFocus parameter.

v15.1.1

Compare Source

  • Adds missing caseSensitive to GoRouteData.$route.

v15.1.0

Compare Source

  • Adds caseSensitive to TypedGoRoute.

v15.0.0

Compare Source

  • BREAKING CHANGE
    • URLs are now case sensitive.
    • Adds caseSensitive parameter to GoRouter (default to true).
    • See Migrating to 15.0.0

Configuration

📅 Schedule: (in timezone America/New_York)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate CLI.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants