Prepare to publish analyzer 0.39.9 and _fe_analyzer_shared 4.0.0.

Change-Id: Idb30ab930d408423f2865a71ca3da0b3daf464da
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/149742
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Commit-Queue: Paul Berry <paulberry@google.com>
diff --git a/pkg/_fe_analyzer_shared/pubspec.yaml b/pkg/_fe_analyzer_shared/pubspec.yaml
index 8870c1c..61bec90 100644
--- a/pkg/_fe_analyzer_shared/pubspec.yaml
+++ b/pkg/_fe_analyzer_shared/pubspec.yaml
@@ -1,5 +1,5 @@
 name: _fe_analyzer_shared
-version: 3.0.0
+version: 4.0.0
 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 2de4989..fe72e1f 100644
--- a/pkg/analyzer/CHANGELOG.md
+++ b/pkg/analyzer/CHANGELOG.md
@@ -1,8 +1,12 @@
-## 0.39.9-dev
+## 0.39.9
 * Deprecated `DartType.isObject`, use `DartType.isDartCoreObject` for
   consistency with other similar getters.
 * Deprecated `InstanceCreationExpression.staticElement`, use
   `constructorName.staticElement` instead, like for `MethodInvocation`.
+* Added new error code: REDIRECT_TO_ABSTRACT_CLASS_CONSTRUCTOR.
+* Bug fixes: #34370, #35710, #37552, #38676, #38799, #39644, #41151, #41592,
+  #41614, #41724, #41741, #41797, #41803, #41844, #41997, #42077, #42093,
+  and #42122.
 
 ## 0.39.8
 * Deprecated `VariableElement.constantValue`, it does not guarantee that
@@ -19,7 +23,7 @@
 * Added new error codes: ENUM_CONSTANT_SAME_NAME_AS_ENCLOSING and
   THROW_OF_INVALID_TYPE.
 * Changed error code NULLABLE_TYPE_IN_CATCH_CLAUSE to a hint.
-* Bug fixes: #40554, #41378, #41399, #41412, and, #41470.
+* Bug fixes: #40554, #41378, #41399, #41412, and #41470.
 
 ## 0.39.6
 * Added Window and DocumentFragment to analyzer's mock SDK.  These are required
diff --git a/pkg/analyzer/pubspec.yaml b/pkg/analyzer/pubspec.yaml
index a6c70c1..628613e 100644
--- a/pkg/analyzer/pubspec.yaml
+++ b/pkg/analyzer/pubspec.yaml
@@ -1,5 +1,5 @@
 name: analyzer
-version: 0.39.8
+version: 0.39.9
 description: This package provides a library that performs static analysis of Dart code.
 homepage: https://github.com/dart-lang/sdk/tree/master/pkg/analyzer
 
@@ -7,7 +7,7 @@
   sdk: '>=2.6.0 <3.0.0'
 
 dependencies:
-  _fe_analyzer_shared: ^3.0.0
+  _fe_analyzer_shared: ^4.0.0
   args: ^1.0.0
   charcode: ^1.1.0
   collection: ^1.10.1