Skip to content

Commit 8bcd64f

Browse files
scheglovCommit Queue
authored andcommitted
Prepare to publish analyzer 8.0.0 and _fe_analyzer_shared 86.0.0
Change-Id: Ie5b86c1b8b51084e67e7fddc5035695a47462566 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/440840 Reviewed-by: Paul Berry <[email protected]> Commit-Queue: Konstantin Shcheglov <[email protected]>
1 parent f090be0 commit 8bcd64f

File tree

3 files changed

+73
-4
lines changed

3 files changed

+73
-4
lines changed

pkg/_fe_analyzer_shared/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: _fe_analyzer_shared
22
# See the release policy for managing this version number at
33
# pkg/analyzer/doc/implementation/releasing.md.
4-
version: 82.0.0
4+
version: 86.0.0
55
description: Logic that is shared between the front_end and analyzer packages.
66
repository: https://github.com/dart-lang/sdk/tree/main/pkg/_fe_analyzer_shared
77

pkg/analyzer/CHANGELOG.md

Lines changed: 70 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## 8.0.0-dev
1+
## 8.0.0
22
* Remove deprecated element model V1.
33
* Remove deprecated `DartType.isStructurallyEqualTo`.
44
* Remove deprecated `RecordType.positionalTypes`.
@@ -189,6 +189,75 @@
189189
* Deprecate `ScopeLookupResult.getter2`, use `getter` instead.
190190
* Deprecate `ScopeLookupResult.setter2`, use `setter` instead.
191191

192+
## 7.7.0
193+
* Deprecated `HasSinceSdkVersion`, use `Element2.sinceSdkVersion`.
194+
195+
## 7.6.0
196+
* Deprecated `VariableElement.constantInitializer2`, use `constantInitializer` instead.
197+
* Deprecated `VariableFragment.initializer`, use `VariableElement.constantInitializer` instead.
198+
* Deprecated `ConstantInitializer`.
199+
200+
## 7.5.9
201+
* Deprecated `JoinPatternVariableFragment.isConsistent` and `variables2`.
202+
Use corresponding properties of `JoinPatternVariableElement2` instead.
203+
204+
## 7.5.8
205+
* Add a special case for bool.fromEnvironment('dart.library.js_interop')
206+
Cherry-pick https://dart-review.googlesource.com/c/sdk/+/439820
207+
208+
## 7.5.7
209+
* Deprecate `LocalVariableFragment.nameOffset`, use `nameOffset2` instead.
210+
211+
## 7.5.6
212+
* Deprecate `EnumFragment.constants2`, use `EnumElement2.constants2` instead.
213+
214+
## 7.5.5
215+
* Deprecate `LocalVariableElement.hasInitializer` and `LocalVariableFragment.hasInitializer`.
216+
This property is not useful and was not de-facto used.
217+
218+
## 7.5.4
219+
* Deprecate `PromotableFragment` and `PromotableElement`.
220+
These interfaces are implementation details.
221+
222+
## 7.5.3
223+
* Deprecate `AugmentedExpression` and `AugmentedInvocation`.
224+
This feature was removed from the specification.
225+
226+
## 7.5.2
227+
* Deprecate `LibraryElement.identifier`, use `uri` instead.
228+
* Deprecate `LibraryElement2.identifier`, use `uri` instead.
229+
230+
## 7.5.1
231+
* Deprecate `ConstantEvaluationTarget` itself, and its methods.
232+
* Deprecate methods of already deprecated `AnalysisTarget`.
233+
* Generate `api.txt` manifest.
234+
235+
## 7.5.0
236+
* Deprecate methods inherited by `ElementAnnotation` from `ConstantEvaluationTarget`.
237+
* In the next major version `ElementAnnotation` will stop implementing `ConstantEvaluationTarget`.
238+
* Add `ElementAnnotation.libraryFragment`, as the replacement for the
239+
deprecations above. It provides enough information about the location.
240+
241+
## 7.4.6
242+
* Deprecate `PropertyAccessorFragment.variable3`.
243+
Use `PropertyAccessorElement2.variable3` instead.
244+
* Deprecate `PropertyInducingFragment.getter2`.
245+
Use `PropertyInducingElement2.getter2` instead.
246+
* Deprecate `PropertyInducingFragment.setter2`.
247+
Use `PropertyInducingElement2.setter2` instead.
248+
249+
## 7.4.5
250+
* Fix for https://github.com/dart-lang/sdk/issues/60683
251+
252+
## 7.4.4
253+
* Fix for https://github.com/dart-lang/sdk/issues/60553, `LabelElement2`.
254+
255+
## 7.4.3
256+
* Fix for https://github.com/dart-lang/sdk/issues/60591
257+
258+
## 7.4.2
259+
* Fix for https://github.com/dart-lang/sdk/issues/60553, `PrefixElement2`.
260+
192261
## 7.4.1
193262
* Restore `InstanceElement.augmented` getter.
194263
This API was removed in 7.4.0 under the assumption that its removal would

pkg/analyzer/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: analyzer
2-
version: 8.0.0-dev
2+
version: 8.0.0
33
description: >-
44
This package provides a library that performs static analysis of Dart code.
55
repository: https://github.com/dart-lang/sdk/tree/main/pkg/analyzer
@@ -12,7 +12,7 @@ resolution: workspace
1212
dependencies:
1313
# See the release policy for this dependency at
1414
# pkg/analyzer/doc/implementation/releasing.md.
15-
_fe_analyzer_shared: ^82.0.0
15+
_fe_analyzer_shared: ^86.0.0
1616
collection: ^1.19.0
1717
convert: ^3.0.0
1818
crypto: ^3.0.0

0 commit comments

Comments
 (0)