Skip to content

Commit 804130f

Browse files
stereotype441Commit Queue
authored andcommitted
[analyzer] fix CHANGELOG after versioning mistake.
https://dart-review.googlesource.com/c/sdk/+/444461 deprecated `Diagnostic.data` and added some return types to `DiagnosticReporter` to give clients an alternative to using it. Hence, it should have been accompanied by a minor version bump. When I sent it for review, I failed to realize that analyzer 8.1.0 had already been released, so I didn't do the necessary bump, and I added a note to the CHANGELOG in the wrong place. This change fixes the CHANGELOG. The version bump is no longer needed since it was done in https://dart-review.googlesource.com/c/sdk/+/444863. Change-Id: I6a6a6964c71f5a000aa51a314f5aaef40f92a63f Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/444901 Auto-Submit: Paul Berry <[email protected]> Commit-Queue: Konstantin Shcheglov <[email protected]> Reviewed-by: Konstantin Shcheglov <[email protected]>
1 parent 6a9a1af commit 804130f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/analyzer/CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
## 8.2.0-dev
2+
* Deprecate `Diagnostic.data`. Instead, please use an expando to attach data to
3+
the `Diagnostic` object.
24
* Deprecate `CatchClauseParameter.declaredElement` and `CatchClauseParameter.declaredElement2`.
35
Use `CatchClauseParameter.declaredFragment` instead.
46
* Deprecate `DeclaredIdentifier.declaredElement` and `DeclaredIdentifier.declaredElement2`.
@@ -32,8 +34,6 @@
3234
* Deprecate `ClassElement.isImplementableIn`; use `isImplementableOutside` instead.
3335
* Deprecate `ClassElement.isMixableIn`; use `isMixableOutside` instead.
3436
* Deprecate `MixinElement.isImplementableIn`; use `isImplementableOutside` instead.
35-
* Deprecate `Diagnostic.data`. Instead, please use an expando to attach data to
36-
the `Diagnostic` object.
3737

3838
## 8.0.0
3939
* Remove deprecated element model V1.

0 commit comments

Comments
 (0)