From a8de95a55a264754a3bb222bf8c8f9a60f8858dc Mon Sep 17 00:00:00 2001 From: Sam Rawlins Date: Wed, 3 Jan 2018 11:05:40 -0800 Subject: [PATCH] Update changelog with analyzer features Change-Id: Ibf8f08d43bd84faad5fad10bf73996273175428b Reviewed-on: https://dart-review.googlesource.com/32144 Reviewed-by: Brian Wilkerson Commit-Queue: Samuel Rawlins --- CHANGELOG.md | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d6c554593cc..087bbe5524d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -112,14 +112,24 @@ * Analyzer -The analyzer will no longer issue a warning when a generic type parameter is -used as the type in an instance check. For example: + * The analyzer will no longer issue a warning when a generic type parameter + is used as the type in an instance check. For example: + ```dart test() { print(3 is T); // No warning } ``` + * New static checking of `@visibleForTesting` elements. Accessing a method, + function, class, etc. annotated with `@visibleForTesting` from a file _not_ + in a `test/` directory will result in a new hint ([issue 28273]). + * Static analysis now respects functions annotated with `@alwaysThrows` + ([issue 31384]). + +[issue 28273]: https://github.com/dart-lang/sdk/issues/28273 +[issue 31384]: https://github.com/dart-lang/sdk/issues/31384 + #### Pub ##### SDK Constraints @@ -232,7 +242,7 @@ the `PUB_ALLOW_PRERELEASE_SDK` environment variable to `false`. * Fix for constructing a new SecurityContext that contains the built-in certificate authority roots - (https://github.com/dart-lang/sdk/issues/24693). + ([issue 24693](https://github.com/dart-lang/sdk/issues/24693)). ### Core library changes @@ -246,9 +256,9 @@ the `PUB_ALLOW_PRERELEASE_SDK` environment variable to `false`. * Fixes for debugging in Dartium. * Fix DevConsole crash with JS - (https://github.com/dart-lang/sdk/issues/29873). + ([issue 29873](https://github.com/dart-lang/sdk/issues/29873)). * Fix debugging in WebStorm, NULL returned for JS objects - (https://github.com/dart-lang/sdk/issues/29854). + ([issue 29854](https://github.com/dart-lang/sdk/issues/29854)). ## 1.24.1 - 14-06-2017 @@ -262,7 +272,7 @@ the `PUB_ALLOW_PRERELEASE_SDK` environment variable to `false`. * Fixed a Safari issue during bootstrapping (note that Safari is still not officially supported but does work for trivial examples). * Fix for a Dartium issue where there was no sound in checked mode - (https://github.com/dart-lang/sdk/issues/29810). + ([issue 29810](https://github.com/dart-lang/sdk/issues/29810)). ## 1.24.0 - 12-06-2017