diff --git a/pkg/_fe_analyzer_shared/pubspec.yaml b/pkg/_fe_analyzer_shared/pubspec.yaml index 8845901bede..221f79e3ff1 100644 --- a/pkg/_fe_analyzer_shared/pubspec.yaml +++ b/pkg/_fe_analyzer_shared/pubspec.yaml @@ -1,5 +1,5 @@ name: _fe_analyzer_shared -version: 1.0.0 +version: 1.0.1 author: Dart Team description: Logic that is shared between the front_end and analyzer packages. homepage: https://github.com/dart-lang/sdk/tree/master/pkg/_fe_analyzer_shared diff --git a/pkg/analyzer/CHANGELOG.md b/pkg/analyzer/CHANGELOG.md index 16d19e64c91..f2fa905ff45 100644 --- a/pkg/analyzer/CHANGELOG.md +++ b/pkg/analyzer/CHANGELOG.md @@ -1,3 +1,29 @@ +## 0.39.2 +* Deprecated `AnalysisSession.typeProvider` and `AnalysisSession.typeSystem`. + Please use the corresponding getters in `LibraryElement` instead. +* Added new error codes: AWAIT_IN_LATE_LOCAL_VARIABLE_INITIALIZER, + DEFERRED_IMPORT_OF_EXTENSION, LATE_FINAL_FIELD_WITH_CONST_CONSTRUCTOR, + WRONG_TYPE_PARAMETER_VARIANCE_POSITION, and + WRONG_EXPLICIT_TYPE_PARAMETER_VARIANCE_IN_SUPERINTERFACE. +* Added new hint codes: INVALID_LANGUAGE_VERSION_OVERRIDE_AT_SIGN, + INVALID_LANGUAGE_VERSION_OVERRIDE_EQUALS, + INVALID_LANGUAGE_VERSION_OVERRIDE_LOWER_CASE, + INVALID_LANGUAGE_VERSION_OVERRIDE_NUMBER, + INVALID_LANGUAGE_VERSION_OVERRIDE_PREFIX, + INVALID_LANGUAGE_VERSION_OVERRIDE_TRAILING_CHARACTERS, and + INVALID_LANGUAGE_VERSION_OVERRIDE_TWO_SLASHES. +* Changed error code TYPE_PARAMETER_ON_CONSTRUCTOR from a CompileTimeErrorCode + to a ParserErrorCode. +* Split warning code RETURN_OF_INVALID_TYPE into two warnings: + RETURN_OF_INVALID_TYPE_FROM_FUNCTION and RETURN_OF_INVALID_TYPE_FROM_METHOD. +* Merged warning codes CONST_WITH_ABSTRACT_CLASS and NEW_WITH_ABSTRACT_CLASS + into INSTANTIATE_ABSTRACT_CLASS. +* Removed warning code MIXED_RETURN_TYPES (this is now allowed by the language + spec). +* Bug fixes: 33745, 35677, 35677, 37504, 37936, 38506, 38551, 38734, 38813, + 38878, 38953, 38992, 39051, 39115, 39117, 39120, 39192, 39250, 39267, 39380, + 39389, 39402, 39407, 39476, 39509, 39532, 39563, 39618. + ## 0.39.1 * Deprecated `DartType.substitute2()`. Use `ClassElement.instantiate()` or `FunctionTypeAliasElement.instantiate()` instead. diff --git a/pkg/analyzer/pubspec.yaml b/pkg/analyzer/pubspec.yaml index 816ee391902..010f35afdb7 100644 --- a/pkg/analyzer/pubspec.yaml +++ b/pkg/analyzer/pubspec.yaml @@ -1,5 +1,5 @@ name: analyzer -version: 0.39.1 +version: 0.39.2 author: Dart Team description: This package provides a library that performs static analysis of Dart code. homepage: https://github.com/dart-lang/sdk/tree/master/pkg/analyzer @@ -8,7 +8,7 @@ environment: sdk: '>=2.2.2 <3.0.0' dependencies: - _fe_analyzer_shared: 1.0.0 + _fe_analyzer_shared: 1.0.1 args: '>=0.12.1 <2.0.0' charcode: ^1.1.0 collection: ^1.10.1