@@ -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 `
3737package must be released each time the ` analyzer ` package is released, with a
3838major 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
4141work, 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.
6565The versioning of the ` analyzer_plugin ` package can follow basic semantic
6666versioning 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.
7978The versioning of the ` analyzer_testing ` package can follow basic semantic
8079versioning 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.
9391The versioning of the ` analysis_server_plugin ` package can follow basic
9492semantic 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
0 commit comments