Angular 11.0.0-rc.0 released, no longer supports TypeScript 3.9

Angular 11.0.0-rc.0 has been released, the specific updates are as follows:

Bug Fixes

  • common : update the locale with new CLDR data
  • compiler : Promote the constants in the template to Trusted Types
  • core: Protectively read the undefined global ngDevMode
  • language-service : [Ivy] Only create a compiler when the program changes
  • ngcc: Ensure that "inline exports" can be interpreted correctly
  • platform-server : parse absolute URL from baseUrl
  • router:  The signature of createUrlTree is incorrect

Code Refactoring

  • compiler : Remove support for TypeScript 3.9

BREAKING CHANGES

  • platform-server : If you use useAbsoluteUrl to set the platform-server, now you also need to specify baseUrl at the same time. The official stated that it intends to make this a minor version of a major change, because if useAbsoluteUrl is set to true, the behavior of the application may be unpredictable, leading to problems that are difficult to find but may affect the production environment.
  • compiler : TypeScript 3.9 is no longer supported, please upgrade to TypeScript 4.0.

Update instructions: https://github.com/angular/angular/blob/master/CHANGELOG.md#1100-rc0-2020-10-21 

Guess you like

Origin www.oschina.net/news/119370/angular-11-0-0-rc0-released