|
| 1 | +## 0.39.0 |
| 2 | +* Removed deprecated `DartType.isEquivalentTo`. |
| 3 | +* Removed `useDart2jsPaths` argument in `FolderBasedDartSdk` constructor. |
| 4 | + Dartium does not exist anymore, so there is just one `dart:html`. |
| 5 | +* Removed several unused members of `SourceFactory`: `context`, |
| 6 | + `localSourcePredicate`, `clone`, `fromEncoding`, `isLocalSource`. |
| 7 | +* Removed deprecated method `Element.computeNode`. |
| 8 | +* Removed deprecated getter `CompilationUnitElement.unit`. |
| 9 | +* Removed deprecated method `Element.computeDocumentationComment`. |
| 10 | +* Removed unused `wrapped.dart` with `WrappedLibraryElement`, etc. |
| 11 | +* Removed deprecated 'bestElement', 'bestType', 'propagatedElement', |
| 12 | + 'propagatedType', etc. Use 'staticElement' and 'staticType' instead. |
| 13 | +* Removed deprecated 'Declaration.element'. |
| 14 | + Use 'Declaration.declaredElement' instead. |
| 15 | +* Removed deprecated 'Expression.precedence2'. Use 'precedence' instead. |
| 16 | +* Removed `ResolutionMap resolutionMap`. Use corresponding accessors |
| 17 | + on AstNode(s) directly to get elements and types. |
| 18 | +* Removed 'InheritanceManager2'. Use 'InheritanceManager3' instead. |
| 19 | +* Removed 'InheritanceManager'. Use 'InheritanceManager3' instead. |
| 20 | +* Removed deprecated methods in `DartType`: `flattenFutures`, |
| 21 | + `isAssignableTo`, `isEquivalentTo`, `isMoreSpecificThan`, |
| 22 | + `isSubtypeOf`, `isSupertypeOf`, `isDirectSupertypeOf`. |
| 23 | + Use corresponding methods of `TypeSystem` instead. |
| 24 | +* Removed deprecated getters for checking a specific annotations on |
| 25 | + 'Element': `isAlwaysThrows`, `isDeprecated`, `isFactory`, `isJS`, |
| 26 | + `isOverride`, `isProtected`, `isRequired`, `isVisibleForTesting`. |
| 27 | + Use corresponding `hasXyz` getters. |
| 28 | +* Removed 'LocalElement.visibleRange'. |
| 29 | + Visible ranges of local variables and functions can be computed when |
| 30 | + AST is available. |
| 31 | +* Removed unused `LibraryElement.libraryCycle`. |
| 32 | +* Removed `ElementHandle` and `ElementResynthesizer`. |
| 33 | +* Remove `ElementBuilder`, `DeclarationResolver`, `DirectiveResolver`, |
| 34 | + `TypeParameterBoundsResolver`, `TypeResolverVisitor`, etc. |
| 35 | + Use `ResolutionVisitor` instead, it combines all these operations. |
| 36 | +* Removed `FunctionTypeAliasElement.instantiate`, use `instantiate2` for now. |
| 37 | + In the next version `instantiate` will be re-introduced with the same |
| 38 | + signature and semantics as `instantiate2`, and `instantiate2` will be |
| 39 | + deprecated and removed in the next breaking change version. |
| 40 | +* Stop setting types for identifiers where they are not expressions. |
| 41 | + Specifically, where a SimpleIdentifier is the name of a declaration, |
| 42 | + or Identifier is the name of the class in a TypeName. |
| 43 | +* Removed transitional `InheritanceManagerBase`. |
| 44 | +* Removed deprecated method `ArgumentList.correspondingPropagatedParameters`. |
| 45 | + Use `ArgumentList.correspondingStaticParameters` instead. |
| 46 | +* Removed deprecated getter `PrefixElement.importedLibraries`. It was never |
| 47 | + implemented. |
| 48 | +* Removed deprecated getter `VariableElement.isPotentiallyMutatedInClosure` and |
| 49 | + `VariableElement.isPotentiallyMutatedInScope`. Please use the corresponding |
| 50 | + methods in `FunctionBody` instead. |
| 51 | +* Bug fixes: 33441, 35777, 35993, 37898, 38560, 38803, 38811, 38900, 38911. |
| 52 | + |
1 | 53 | ## 0.38.5 |
2 | 54 | * Added the interface `PromotableElement`, which representing |
3 | 55 | variables that can be type promoted (local variables and parameters, |
|
0 commit comments