Skip to content

Update dependency go_router to v17 - #32

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

Update dependency go_router to v17#32
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/go_router-17.x

Conversation

@renovate

@renovate renovate Bot commented Nov 27, 2025

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change Pending
go_router (source) dependencies major ^10.0.0^17.0.0 18.0.1 (+1)

Release Notes

flutter/packages (go_router)

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

v14.8.1

Compare Source

  • Secured canPop method for the lack of matches in routerDelegate's configuration.

v14.8.0

Compare Source

  • Adds preload parameter to StatefulShellBranchData.$branch.

v14.7.2

Compare Source

  • Add missing await keyword to onTap callback in navigation.md.

v14.7.1

Compare Source

  • Fixes return type of current state getter on GoRouter and GoRouterDelegate to be non-nullable.

v14.7.0

Compare Source

  • Adds fragment support to GoRouter, enabling direct specification and automatic handling of fragments in routes.

v14.6.3

Compare Source

  • Updates minimum supported SDK version to Flutter 3.22/Dart 3.4.
  • Updates readme.

v14.6.2

Compare Source

  • Replaces deprecated collection method usage.

v14.6.1

Compare Source

  • Fixed PopScope, and WillPopScop was not handled properly in the Root routes.

v14.6.0

Compare Source

  • Allows going to a path relatively by prefixing ./

v14.5.0

Compare Source

  • Adds preload support to StatefulShellRoute, configurable via preload parameter on StatefulShellBranch.

v14.4.1

Compare Source

  • Adds missing_code_block_language_in_doc_comment lint.

v14.4.0

Compare Source

  • Adds current state getter on GoRouter that returns the current GoRouterState.

v14.3.0

Compare Source

  • Adds missing implementation for the routerNeglect parameter in GoRouter.

v14.2.9

Compare Source

  • Relaxes route path requirements. Both root and child routes can now start with or without '/'.

v14.2.8

Compare Source

  • Updated custom_stateful_shell_route example to better support swiping in TabView as well as demonstration of the use of PageView.

v14.2.7

Compare Source

  • Fixes issue so that the parseRouteInformationWithContext can handle non-http Uris.

v14.2.6

Compare Source

  • Fixes replace and pushReplacement uri when only one route match in current route match list.

v14.2.5

Compare Source

  • Fixes an issue where android back button pops pages in the wrong order.

v14.2.3

Compare Source

  • Fixes redirect example's signature in route.dart.

v14.2.2

Compare Source

  • Adds section for "Stateful nested navigation" to configuration.md.

v14.2.1

Compare Source

  • Makes GoRouterState lookup more robust.

v14.2.0

Compare Source

  • Added proper redirect handling for ShellRoute.$route and StatefulShellRoute.$route for proper redirection handling in case of code generation.

v14.1.4

Compare Source

  • Fixes a URL in navigation.md.

v14.1.3

Compare Source

  • Improves the logging of routes when debugLogDiagnostics is enabled or `debugKnownRoutes() is called. Explains the position of shell routes in the route tree. Prints the widget name of the routes it is building.

v14.1.2

Compare Source

  • Fixes issue that path parameters are not set when using the goBranch.

v14.1.1

Compare Source

  • Fixes correctness of the state provided in the onExit.

v14.1.0

Compare Source

  • Adds route redirect to ShellRoutes

v14.0.2

Compare Source

  • Fixes unwanted logs when hierarchicalLoggingEnabled was set to true.

v14.0.1

Compare Source

  • Updates the redirection documentation for clarity

v14.0.0

Compare Source

  • BREAKING CHANGE
    • GoRouteData's onExit now takes 2 parameters BuildContext context, GoRouterState state.

v13.2.5

Compare Source

v13.2.4

Compare Source

  • Updates examples to use uri.path instead of uri.toString() for accessing the current location.

v13.2.3

Compare Source

  • Fixes an issue where deep links without path caused an exception

v13.2.2

Compare Source

  • Fixes restoreRouteInformation issue when GoRouter.optionURLReflectsImperativeAPIs is true and the last match is ShellRouteMatch

v13.2.1

Compare Source

  • Updates minimum supported SDK version to Flutter 3.16/Dart 3.2.
  • Fixes memory leaks.

v13.2.0

Compare Source

  • Exposes full Uri on GoRouterState in GoRouterRedirect

v13.1.0

Compare Source

  • Adds topRoute to GoRouterState
  • Adds lastOrNull to RouteMatchList

v13.0.1

Compare Source

  • Fixes new lint warnings.

v13.0.0

Compare Source

  • Refactors RouteMatchList and imperative APIs.
  • BREAKING CHANGE:
    • RouteMatchList structure changed.
    • Matching logic updated.

v12.1.3

Compare Source

  • Fixes a typo in navigation.md.

v12.1.1

Compare Source

  • Retains query parameters during refresh and first redirect.

v12.1.0

Compare Source

  • Adds an ability to add a custom codec for serializing/deserializing extra.

v12.0.3

Compare Source

  • Fixes crashes when dynamically updates routing tables with named routes.

v12.0.2

Compare Source

  • Fixes the problem that pathParameters is null in redirect when the Router is recreated.

v12.0.1

Compare Source

  • Fixes deep-link with no path on cold start.

v12.0.0

Compare Source

  • Adds ability to dynamically update routing table.
  • BREAKING CHANGE:
    • The function signature of constructor of RouteConfiguration is updated.
    • Adds a required matchedPath named parameter to RouteMatch.match.

v11.1.4

Compare Source

  • Fixes missing parameters in the type-safe routes topic documentation.

v11.1.3

Compare Source

  • Fixes missing state.extra in onException().

v11.1.2

Compare Source

  • Fixes a bug where the known routes and initial route were logged even when debugLogDiagnostics was set to false.

v11.1.1

Compare Source

  • Fixes a missing {@end-tool} doc directive tag for GoRoute.name.

v11.1.0

Compare Source

  • Adds optional parameter overridePlatformDefaultLocation to override initial route set by platform.

v11.0.1

Compare Source

  • Fixes the Android back button ignores top level route's onExit.

v11.0.0

Compare Source

  • Fixes the GoRouter.goBranch so that it doesn't reset extra to null if extra is not serializable.
  • BREAKING CHANGE:
    • Updates the function signature of GoRouteInformationProvider.restore.
    • Adds NavigationType.restore to NavigationType enum.

Configuration

📅 Schedule: (in timezone Asia/Jerusalem)

  • 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 is behind base branch, 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 was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the renovate label Nov 27, 2025
@renovate
renovate Bot force-pushed the renovate/go_router-17.x branch from c309155 to 56d7ce4 Compare December 31, 2025 23:10
@renovate
renovate Bot force-pushed the renovate/go_router-17.x branch from 56d7ce4 to ff7ac08 Compare February 12, 2026 12:53
@renovate
renovate Bot force-pushed the renovate/go_router-17.x branch from ff7ac08 to e51957c Compare February 24, 2026 11:47
@renovate
renovate Bot force-pushed the renovate/go_router-17.x branch from e51957c to a2ff4d6 Compare March 13, 2026 13:04
@renovate
renovate Bot force-pushed the renovate/go_router-17.x branch from a2ff4d6 to 134dc5f Compare March 31, 2026 11:14
@renovate
renovate Bot force-pushed the renovate/go_router-17.x branch from 134dc5f to 361f44c Compare April 23, 2026 23:51
@renovate
renovate Bot force-pushed the renovate/go_router-17.x branch from 361f44c to d25f0a9 Compare May 4, 2026 23:35
@renovate
renovate Bot force-pushed the renovate/go_router-17.x branch from d25f0a9 to ade1697 Compare May 23, 2026 00:04
@renovate renovate Bot added renovate and removed renovate labels May 23, 2026
@renovate
renovate Bot force-pushed the renovate/go_router-17.x branch from ade1697 to 151dac2 Compare June 5, 2026 20:09
@renovate
renovate Bot force-pushed the renovate/go_router-17.x branch from 151dac2 to 0401e25 Compare August 12, 2026 02:30
Comment thread pubspec.lock
Comment thread pubspec.lock
Comment thread pubspec.lock Fixed
Comment thread pubspec.lock
Comment thread pubspec.lock Fixed
Comment thread pubspec.lock
Comment thread pubspec.lock
Comment thread pubspec.lock
Comment thread pubspec.lock
Comment thread pubspec.lock
@renovate
renovate Bot force-pushed the renovate/go_router-17.x branch from 0401e25 to 4a47077 Compare August 25, 2026 22:47
@renovate
renovate Bot force-pushed the renovate/go_router-17.x branch from 4a47077 to dbe64e8 Compare August 31, 2026 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants