15. ▸ NgIf e NgFor melhorado
▸ Validações para Formulários
▸ Renderer (depreciado)
▸ Novo Módulo de animações (depreciado)
▸ TypeScript 2.1
▸ Angular Universal
▸ Build menor e mais rápido
NOVIDADES E MUDANÇAS
16. TYPESCRIPT 1.8 -> 2.1
▸ Support for Mix-in classes
▸ object type
▸ Support for new.target
▸ Better checking for null/
undefined in operands of
expressions
▸ Dotted property for types with
string index signatures
▸ keyof and Lookup Types
▸ Mapped Types
▸ Partial, Readonly, Record, and
Pick
▸ Object Spread and Rest
▸ Downlevel Async Functions
▸ Support for external helpers
library (tslib)
▸ Untyped imports
▸ Support for --target ES2016, --
target ES2017 and --target
ESNext
▸ Improved any Inference
▸ Implicit any errors
▸ Better inference for literal types
https://github.com/Microsoft/TypeScript/wiki/What%27s-new-in-TypeScript
20. MIGRANDO DO 2.X -> 4.X
> npm install @angular/{common,compiler,compiler-
cli,core,forms,http,platform-browser,platform-
browser-dynamic,platform-server,router,animations}
@latest typescript@latest --save
▸ Linux ou Mac OS
22. SE CRIOU PROJETO COM CLI (BETA)
▸ Criar um branch (git) nova
▸ Criar um projeto com CLI (final) novo
▸ Copiar do antigo projeto para o novo projeto:
▸ diretório src/app
▸ configs de scripts e styles do .angular-cli.json
▸ Verificar index.html para import de css ou fontes
▸ Verificar arquivo styles.css