Skip to content

Commit ee7092f

Browse files
[go_router_builder] Temporarily restrict build (#9453)
Adds an upper bound of `build` 2.4.x, to work around what seems to have been an accidental breaking change released in `build` 2.5, causing out-of-band build breakage that has closed the tree. This should allow the tree to re-open. See flutter/flutter#170832 ## Pre-Review Checklist [^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.
1 parent 715a0a5 commit ee7092f

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

packages/go_router_builder/CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## NEXT
2+
3+
- Restricts `build` to versions less than 2.5.0.
4+
15
## 3.0.1
26

37
- Updates README.md to use the mixin `with _$RouteName`.
@@ -20,7 +24,7 @@
2024

2125
## 2.8.1
2226

23-
- Fixes an issue when navigate to router with invalid params
27+
- Fixes an issue when navigate to router with invalid params
2428

2529
## 2.8.0
2630

packages/go_router_builder/pubspec.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,10 @@ environment:
1313
dependencies:
1414
analyzer: ">=6.9.0 <8.0.0"
1515
async: ^2.8.0
16-
build: ^2.0.0
16+
# The upper bound is to work around a breaking change in `build` that was not
17+
# versioned according to semver, and broke `build_test` 2.x. See
18+
# https://github.com/flutter/flutter/issues/170832
19+
build: ">=2.0.0 <2.5.0"
1720
build_config: ^1.0.0
1821
collection: ^1.14.0
1922
meta: ^1.7.0

0 commit comments

Comments
 (0)