[go_router_builder] Support the latest pkg:analyzer (#2622)

diff --git a/packages/go_router_builder/CHANGELOG.md b/packages/go_router_builder/CHANGELOG.md
index 2ab6014..9af9754 100644
--- a/packages/go_router_builder/CHANGELOG.md
+++ b/packages/go_router_builder/CHANGELOG.md
@@ -1,10 +1,14 @@
+## 1.0.13
+
+* Support the latest `package:analyzer`.
+
 ## 1.0.12
 
 * Adds support for enhanced enums. [#105876](https://github.com/flutter/flutter/issues/105876).
 
 ## 1.0.11
 
-* Replaces mentions of the deprecated `GoRouteData.buildPage` with `GoRouteData.buildPageWithState`.
+* Replace mentions of the deprecated `GoRouteData.buildPage` with `GoRouteData.buildPageWithState`.
 
 ## 1.0.10
 
diff --git a/packages/go_router_builder/pubspec.yaml b/packages/go_router_builder/pubspec.yaml
index 81781eb..09c9f8d 100644
--- a/packages/go_router_builder/pubspec.yaml
+++ b/packages/go_router_builder/pubspec.yaml
@@ -2,7 +2,7 @@
 description: >-
   A builder that supports generated strongly-typed route helpers for
   package:go_router
-version: 1.0.12
+version: 1.0.13
 repository: https://github.com/flutter/packages/tree/main/packages/go_router_builder
 issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+go_router_builder%22
 
@@ -11,7 +11,7 @@
   flutter: ">=3.0.0"
 
 dependencies:
-  analyzer: '>=4.4.0 <5.0.0'
+  analyzer: '>=4.4.0 <6.0.0'
   async: ^2.8.0
   build: ^2.0.0
   build_config: ^1.0.0