Skip to content

Commit 6f4b7e2

Browse files
srawlinsCommit Queue
authored andcommitted
analyzer: bump version constraints of dependant packages
Change-Id: I7fdc0a7b040f96a612434cb5b45995d365717022 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/445104 Reviewed-by: Konstantin Shcheglov <[email protected]> Commit-Queue: Samuel Rawlins <[email protected]> Reviewed-by: Paul Berry <[email protected]>
1 parent 2946328 commit 6f4b7e2

File tree

7 files changed

+40
-18
lines changed

7 files changed

+40
-18
lines changed

pkg/analysis_server_plugin/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
## 0.2.3-dev
2+
3+
- Require version `8.2.0` of the `analyzer` package.
4+
5+
## 0.2.2
6+
7+
- Require version `8.1.1` of the `analyzer` package.
8+
19
## 0.2.1
210

311
- Require version `^8.1.0` of the `analyzer` package.

pkg/analysis_server_plugin/pubspec.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: analysis_server_plugin
22
description: A framework and support code for building plugins for the analysis server.
3-
version: 0.2.1
3+
version: 0.2.3-dev
44
repository: https://github.com/dart-lang/sdk/tree/main/pkg/analysis_server_plugin
55

66
environment:
@@ -11,8 +11,8 @@ resolution: workspace
1111
dependencies:
1212
# See the release policy for managing this dependency at
1313
# pkg/analyzer/doc/implementation/releasing.md.
14-
analyzer: ^8.1.0
15-
analyzer_plugin: ^0.13.2
14+
analyzer: 8.2.0-dev
15+
analyzer_plugin: 0.13.8-dev
1616
meta: ^1.16.0
1717
yaml: ^3.1.0
1818
yaml_edit: ^2.2.0

pkg/analyzer/doc/implementation/releasing.md

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ pub. The policy is to just call _every_ new release of the
3636
`_fe_analyzer_shared` package a breaking release. The `_fe_analyzer_shared`
3737
package must be released each time the `analyzer` package is released, with a
3838
major version bump. The version of the `analyzer` package being released must
39-
then depend on exactly that new version of the `_fe_analyzer_shared` package.
39+
then depend on _exactly_ that new version of the `_fe_analyzer_shared` package.
4040
(Technically a caret dependency, like `_fe_analyzer_shared: ^82.0.0` would
4141
work, but it doesn't really make sense given that we only version the
4242
`_fe_analyzer_shared` package with major version releases.)
@@ -65,9 +65,8 @@ released.
6565
The versioning of the `analyzer_plugin` package can follow basic semantic
6666
versioning based on its own API.
6767

68-
TODO: Should we also have an "exact version dependency" policy for the
69-
`analyzer_plugin` package's dependency on the `analyzer` package? I believe so,
70-
given the "freely use private implementation" situation.
68+
The `analyzer_plugin` package must depend on the `analyzer` package with an
69+
_exact_ version constraint.
7170

7271
## The `analyzer_testing` and `analyzer` packages
7372

@@ -79,9 +78,8 @@ the `analyzer` package is released.
7978
The versioning of the `analyzer_testing` package can follow basic semantic
8079
versioning based on its own API.
8180

82-
TODO: Should we also have an "exact version dependency" policy for the
83-
`analyzer_testing` package's dependency on the `analyzer` package? I believe
84-
so, given the "freely use private implementation" situation.
81+
The `analyzer_testing` package must depend on the `analyzer` package with an
82+
_exact_ version constraint.
8583

8684
## The `analysis_server_plugin` and `analyzer` packages
8785

@@ -93,9 +91,9 @@ released whenever the `analyzer` package is released.
9391
The versioning of the `analysis_server_plugin` package can follow basic
9492
semantic versioning based on its own API.
9593

96-
TODO: Should we also have an "exact version dependency" policy for the
97-
`analysis_server_plugin` package's dependency on the `analyzer` package? I
98-
believe so, given the "freely use private implementation" situation.
94+
The `analysis_server_plugin` package must depend on the `analyzer` package with
95+
an _exact_ version constraint. It must also depend on the `analyzer_plugin`
96+
package with an _exact_ version constraint.
9997

10098
[_fe_analyzer_shared source]: https://github.com/dart-lang/sdk/tree/main/pkg/_fe_analyzer_shared
10199
[_fe_analyzer_shared pub package]: https://pub.dev/packages/_fe_analyzer_shared

pkg/analyzer_plugin/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
## 0.13.8-dev
2+
3+
- Require version `8.2.0` of the `analyzer` package.
4+
5+
## 0.13.7
6+
7+
- Require version `8.1.1` of the `analyzer` package.
8+
19
## 0.13.6
210

311
- Require version `^8.1.0` of the `analyzer` package.

pkg/analyzer_plugin/pubspec.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: analyzer_plugin
22
description: A framework and support code for building plugins for the analysis server.
3-
version: 0.13.6
3+
version: 0.13.8-dev
44
repository: https://github.com/dart-lang/sdk/tree/main/pkg/analyzer_plugin
55

66
environment:
@@ -11,9 +11,9 @@ resolution: workspace
1111
dependencies:
1212
# See the release policy for managing this dependency at
1313
# pkg/analyzer/doc/implementation/releasing.md.
14-
analyzer: ^8.1.0
14+
analyzer: 8.2.0-dev
1515
collection: ^1.15.0
16-
dart_style: '>=2.3.7 <4.0.0'
16+
dart_style: ^3.0.0
1717
pub_semver: ^2.1.0
1818
yaml: ^3.1.0
1919
path: ^1.9.0

pkg/analyzer_testing/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
## 0.1.3-dev
2+
3+
- Require version `8.2.0` of the `analyzer` package.
4+
5+
## 0.1.2
6+
7+
- Require version `8.1.1` of the `analyzer` package.
8+
19
## 0.1.1
210

311
- Require version `^8.1.0` of the `analyzer` package.

pkg/analyzer_testing/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: analyzer_testing
22
description: Testing utilities related to the analyzer and analysis_server_plugin packages.
3-
version: 0.1.1
3+
version: 0.1.3-dev
44
repository: https://github.com/dart-lang/sdk/tree/main/pkg/analyzer_testing
55

66
environment:
@@ -11,7 +11,7 @@ resolution: workspace
1111
dependencies:
1212
# See the release policy for managing this dependency at
1313
# pkg/analyzer/doc/implementation/releasing.md.
14-
analyzer: ^8.1.0
14+
analyzer: 8.2.0-dev
1515
meta: ^1.10.0
1616
path: ^1.9.0
1717
test: ^1.25.0

0 commit comments

Comments
 (0)