Angular 10.0.0-next.2 has been released, the specific updates are as follows:
Bug Fixes
- common:
locales/global/*.js
does not comply with ES5 ( # 36342 ) ( 078b0be ), closes angular / angular-cli # 16394 - compiler: correctly handle type references to namespace symbols ( # 36106 ) ( 4aa4e6f ), closes # 36006
- core: If the base class has no value declaration, the migration of undecorated classes with decorated fields should avoid errors ( # 36543 ) ( ca67748 ), closes # 36522
- ngcc:
node_modules/
correctly detect external files from nesting ( # 36559 ) ( 6ab43d7 ), closes # 36526 - ngcc: display the output of the unlock program on Windows ( # 36569 ) ( e041ac6 )
- ngcc: Don't generate unlock programs on cluster workers ( # 36569 ) ( 66effde ), closes # 35861
- ngcc: If the
paths
mapping does not exist ( # 36525 ) ( 717df13 ), no warning is issued, closes # 36518 - ngcc: force ngcc to exit with error ( # 36622 ) ( 663b768 ), closes # 36616
- router: When using two or more peer router exits, pass the correct component to canDeactivate check ( # 36302 ) ( 80e6c07 ), closes # 34614
- upgrade: update $ locationShim to handle location changes before initialization ( # 36498 ) ( 0cc53fb ), closes # 36492
Performance Improvements
- ngcc: load only when needed ( # 36486 ) ( 3bedfda )
- ngcc: read dependencies from entry-point manifest ( # 36486 ) ( a185efb ), closes # issuecomment-608401834
- ngcc: reduce the size of the entry-point manifest file ( # 36486 ) ( ec0ce60 )
Update instructions: https://github.com/angular/angular/blob/master/CHANGELOG.md