Prepare to publish analyzer 0.39.2.
Change-Id: I502e5256eb9f469e2d18a911624a3f8ebf0df972
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/127440
Commit-Queue: Paul Berry <paulberry@google.com>
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: Janice Collins <jcollins@google.com>
diff --git a/pkg/_fe_analyzer_shared/pubspec.yaml b/pkg/_fe_analyzer_shared/pubspec.yaml
index 8845901..221f79e 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 <misc@dartlang.org>
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 16d19e6..f2fa905 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 816ee39..010f35a 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 <misc@dartlang.org>
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 @@
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