Prepare for analyzer 0.32.0.
Change-Id: Ica117a443f922c9bb5377c99ff87ce4a7a0bce16 Reviewed-on: https://dart-review.googlesource.com/54741 Reviewed-by: Kevin Moore <kevmoo@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Commit-Queue: Janice Collins <jcollins@google.com>
This commit is contained in:
committed by
commit-bot@chromium.org
parent
98d7796662
commit
90618bdcf3
@@ -1,3 +1,27 @@
|
||||
## 0.32.0
|
||||
|
||||
* Allow annotations on enum constants.
|
||||
* Analyzer fully supports being run on the VM with --preview-dart-2.
|
||||
* Fix heap usage regression by not storing bytes in the file cache.
|
||||
* Add AnalysisSessionHelper.getTopLevelPropertyAccessor().
|
||||
* Don't infer types when there's an irreconcilable type mismatch (#32305)
|
||||
* Many fasta parser improvements.
|
||||
* Use @isTest and @isTestGroup to understand executable element as a
|
||||
test/group. To use, add `@isTest` annotations (from package:meta)
|
||||
to the methods in their package which define a test.
|
||||
```dart
|
||||
@isTest
|
||||
void myMagicTest(String name, FutureOr Function() body) {
|
||||
test(name, body);
|
||||
}
|
||||
```
|
||||
When subscribed to [notifications for outlines of a test file](https://htmlpreview.github.io/?https://github.com/dart-lang/sdk/blob/master/pkg/analysis_server/doc/api.html#notification_analysis.outline),
|
||||
they will include elements for UNIT_TEST_GROUP and UNIT_TEST_TEST.
|
||||
* Improve guess for type name identifier. (#32765)
|
||||
* Fix LineInfo.getOffsetOfLineAfter().
|
||||
* Remove some flutter specific analysis code.
|
||||
* Fix resolution tests when run locally.
|
||||
|
||||
## 0.31.2-alpha.2
|
||||
|
||||
* Refactoring to make element model logic sharable with
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
name: analyzer
|
||||
version: 0.31.2-alpha.2
|
||||
version: 0.32.0
|
||||
author: Dart Team <misc@dartlang.org>
|
||||
description: Static analyzer for Dart.
|
||||
homepage: https://github.com/dart-lang/sdk/tree/master/pkg/analyzer
|
||||
@@ -11,10 +11,10 @@ dependencies:
|
||||
collection: ^1.10.1
|
||||
convert: ^2.0.0
|
||||
crypto: '>=1.1.1 <3.0.0'
|
||||
front_end: 0.1.0-alpha.12
|
||||
front_end: 0.1.0
|
||||
glob: ^1.0.3
|
||||
html: '>=0.12.0 <1.14.0'
|
||||
kernel: 0.3.0-alpha.12
|
||||
kernel: 0.3.0
|
||||
meta: ^1.0.2
|
||||
package_config: '>=0.1.5 <2.0.0'
|
||||
path: '>=0.9.0 <2.0.0'
|
||||
|
||||
@@ -13,4 +13,6 @@ Integrators that want to write tools that analyze Dart code should use the
|
||||
[analyzer] package.
|
||||
|
||||
_Note:_ The APIs in this package are in an early state; developers should be
|
||||
careful about depending on this package.
|
||||
careful about depending on this package. In particular, there is no semver
|
||||
contract for release versions of this package. Please depend directly on individual
|
||||
versions.
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
name: front_end
|
||||
version: 0.1.0-alpha.12
|
||||
# Currently, front_end API is not stable and users should not
|
||||
# depend on semver semantics when depending on this package.
|
||||
version: 0.1.0
|
||||
author: Dart Team <misc@dartlang.org>
|
||||
description: Front end for compilation of Dart code.
|
||||
homepage: https://github.com/dart-lang/sdk/tree/master/pkg/front_end
|
||||
@@ -9,14 +11,14 @@ dependencies:
|
||||
charcode: '^1.1.1'
|
||||
convert: '^2.0.1'
|
||||
crypto: '^2.0.2'
|
||||
kernel: 0.3.0-alpha.12
|
||||
kernel: 0.3.0
|
||||
meta: '^1.1.1'
|
||||
package_config: '^1.0.1'
|
||||
path: '^1.3.9'
|
||||
source_span: '^1.2.3'
|
||||
yaml: '^2.1.12'
|
||||
dev_dependencies:
|
||||
analyzer: '>=0.30.0 <0.32.0'
|
||||
analyzer: '>=0.31.0 <0.33.0'
|
||||
args: '>=0.13.0 <2.0.0'
|
||||
dart_style: '^1.0.7'
|
||||
json_rpc_2: ^2.0.4
|
||||
|
||||
@@ -15,7 +15,9 @@ This package contains the Dart part of the implementation and contains:
|
||||
- Serialization of kernel code
|
||||
|
||||
_Note:_ The APIs in this package are in an early state; developers should be
|
||||
careful about depending on this package.
|
||||
careful about depending on this package. In particular, there is no semver
|
||||
contract for release versions of this package. Please depend directly
|
||||
on individual versions.
|
||||
|
||||
Getting Kernel
|
||||
------------
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
name: kernel
|
||||
version: 0.3.0-alpha.12
|
||||
# Currently, kernel API is not stable and users should
|
||||
# not depend on semver semantics when depending on this package.
|
||||
version: 0.3.0
|
||||
author: Dart Team <misc@dartlang.org>
|
||||
description: Dart IR (Intermediate Representation)
|
||||
homepage: https://github.com/dart-lang/sdk/tree/master/pkg/kernel
|
||||
@@ -11,8 +13,8 @@ dependencies:
|
||||
logging: ^0.11.2
|
||||
package_config: ^1.0.0
|
||||
dev_dependencies:
|
||||
analyzer: '>=0.30.0 <0.32.0'
|
||||
front_end: 0.1.0-alpha.12
|
||||
analyzer: '>=0.31.0 <0.33.0'
|
||||
front_end: 0.1.0
|
||||
test: ^0.12.15+6
|
||||
stack_trace: ^1.6.6
|
||||
ansicolor: ^0.0.9
|
||||
|
||||
Reference in New Issue
Block a user