npm i -g @angular/cli
ng update @angular/cli @angular/core
October 18!
ng new or ng add @angular/material
CLI Prompts have been added to Schematics, so any package publishing Schematics can take advantage of them by adding an x-prompt key to a Schematics collection.
the update remove reflect-metadata of polyfills.ts file in producction
"budgets": [{
"type": "initial",
"maximumWarning": "2mb",
"maximumError": "5mb"
}]You can configure the size in the angular.json
Allows you to do runtime reflection on types.
The native (non reflect-metadata) version of type inference is much poorer than reflect-metadataand consists only of typeof and instanceof.
Component Dev Kit (CDK)
Virtual Scrolling . <cdk-virtual-scroll-viewport>
- Drag and Drop
Typescript 3.1
Rxjs 6.3
Node 10 support
Angular Elements now supports content projection using web standards for custom elements.
<my-custom-element>This content can be projected!</my-custom-element>
ng new myApp --experimentalIvy=true
ng new myApp --experimentalIvy=true