analyzer: add CHANGELOG entry regarding doNotSubmit and mustBeConst Change-Id: I368481b88135cd0f9440cfbe10d1b990a7610d13 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/364205 Reviewed-by: Phil Quitslund <pquitslund@google.com> Commit-Queue: Samuel Rawlins <srawlins@google.com>
diff --git a/CHANGELOG.md b/CHANGELOG.md index 7053892..a1244a4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md
@@ -70,9 +70,19 @@ #### Analyzer - Improved code completion. Fixed over 50% of completion correctness bugs, - tagged `analyzer-completion-correctness` in the [issue tracker][analyzer-completion-correction-issues]. + tagged `analyzer-completion-correctness` in the [issue + tracker][analyzer-completion-correction-issues]. +- Support for new annotations introduced in version 1.14.0 of the [meta] + package. + - Support for the [`@doNotSubmit`] annotation, noting that any usage of an + annotated member should not be submitted to source control. + - Support for the [`@mustBeConst`] annotation, which indicates that an + annotated parameter only accepts constant arguments. [analyzer-completion-correction-issues]: https://github.com/dart-lang/sdk/labels/analyzer-completion-correctness +[meta]: https://pub.dev/packages/meta +[`@doNotSubmit`]: https://pub.dev/documentation/meta/latest/meta/doNotSubmit-constant.html +[`@mustBeConst`]: https://pub.dev/documentation/meta/latest/meta/mustBeConst-constant.html #### Compilers
diff --git a/pkg/meta/CHANGELOG.md b/pkg/meta/CHANGELOG.md index cb95e3c..53b3c33 100644 --- a/pkg/meta/CHANGELOG.md +++ b/pkg/meta/CHANGELOG.md
@@ -8,8 +8,8 @@ any enum value declaration. - Introduce `TargetKind.typeParameter`, to indicate that an annotation is valid on any type parameter declaration. -- Introduce `@doNotSubmit` to annotate members that should not be submitted to - source control, typically because they are intended to be used ephemerally +- Introduce `@doNotSubmit` to annotate members that should not be accessed in + checked-in code, typically because they are intended to be used ephemerally during development. One example is `package:test`'s `solo: ...` parameter, which skips all other