SlideShare a Scribd company logo
AngularVersion10is
Here:Checkoutthe
NewFeatures,Notable
Changes,Deprecations
andRemovals
www.bacancytechnology.com
On 24th June 2020, Angular introduced the
latest version – Angular 10.0.0. This is the
latest release, but the team has mostly
focused on the ecosystem and quality tools,
instead of introducing new features
Four months back in February, the
community has paved its way for the newer
version. Ever since the Angular IVY was
introduced, the community was keeping
close tabs on the frequent updates. Angular
9.1 was introduced in April with some minor
updates, including Support for TypeScript
3.8, bug fixes, and performance
improvements.
Just like every other Angular developer, I
found this update very exciting and
followed the news to find out what Angular
10 has bought for all of us. I checkout
numbers of articles, but to my surprise,
they have mostly focused on quick
highlights, so I thought of writing a
comprehensive blog post explaining what’s
new in Angular 10.
Let’s get started.
Major
Changes
Angular 9 was introduced with TypeScript
3.7 support. Later, TypeScript introduced
3.8, so to offer hassle-free Support Angular
released v9.1. Angular’s team has always
ensured to keep the framework up-to-date
and relevant, so to respond to the latest
version of TypeScript 3.9, Angular
introduced v10 along with introducing
TSLib and TSLint.
The faster Angular builds, TypeScript fixes,
and updated features are available for
Angular developers. Angular programmers
will have access to the more intricate
TypeScript configuration. TypeScript has
stopped offering Support to the earlier
versions, so you will be required to install
v3.9 in your project.
TypeScript v3.9 Support
TSLib – The runtime library for TypeScript
comprising all the TypeScript helper
functions, has been updated to TSlib 2.0.
TSLint – The static analysis tool for
TypeScript has been updated to TSLint
6.The Angular team has updated the project
layout with v10. We will have a
tsconfig.base.json and additional
tsconfig.json for package configuration and
support IDEs.
TSLib v2.0 and TSLint v6
Before:
{
"files": [],
"references": [
{
"path": "./tsconfig.app.json"
},
{
"path": "./tsconfig.spec.json"
},
{
"path": "./e2e/tsconfig.json"
}
]
}
After:
"files": [],
"references": [
{
"path": "./tsconfig.app.json"
},
{
"path": "./tsconfig.spec.json"
},
{
"path": "./e2e/tsconfig.json"
},
{
"path":
"./projects/core/tsconfig.lib.json"
},
{
"path":
"./projects/core/tsconfig.spec.json"
}
]
}
Default
Browser
Configuration
The browser configuration has been
introduced to eliminate older and less-
updated bowsers. Internet Explorer 9, IE 10,
and IE mobile will not get any official
support from now onwards. Microsoft has
also stopped offering Support for these
browsers. Check out the updated
supportive Browser list file here.
Before:
After::
v10 Defaults
Executing the following code will also get
you the list of supported web browsers.
npx browsers list
To find out more on this go through
this link
Warnings for
CommonJS
Imports
There are chances that Angular application
may become slower when we import
dependencies, which are packaged with
CommonJS. CommonJS module is
introduced to structure and organize your
JavaScript code that is heavily influenced by
Node’s module management. Read more
about CommonJS here.
From Angular V10, developers will be
notified with a warning when dependency
packaged could result in a slower and larger
application. ECMAScript module bundle is
available as a substitute.
Angular Material UI now officially includes
To make use of the new date range picker,
use the mat-date-range-input and mat-
date-range-picker components.
Please refer to the official documents to
find out more.
New Date Range Picker
To improve the maintainability, catch bugs
and allow CLI to do advanced
optimizations, you can enable the flag
initializes with ng new, via ng new –strict
from the optional stricter settings.
Optional Stricter Settings
{
...
"budgets": [
{
"type": "initial",
"maximumWarning": "500kb",
"maximumError": "1mb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "2kb",
"maximumError": "4kb"
}
]
...
}
Default bundle budgets are reduced by ~75%
Enable strict mode in TypeScript
Turns template type checking to Strict
Configure lint to suppress warnings to prevent
declarations of type any
Enable more advanced tree-shaking to configure
your app as a side-effect
The Strict flag does the listed
below things,
Here you need to make sure that you have a post-
install script in your “package.json” file to execute
NGCC after an installation:
{
"scripts": {
"postinstall": "ngcc"
}
}
With this release, NGCC is more robust. Earlier it
wasn’t capable if recovery worker processes get
crashed; however, issues with NGCC handing can
now be fixed. Significant performance
enhancements have been made to NGCC.
NGCC
Unfortunately, Angular Bazel has left Angular labs,
and it won’t be the default tool in Angular CLI. So
you won’t get any official support, and if you are
wondering about the reasons why the Angular team
has discontinued it, then check them out here.
However Angular team has referred Monorepo if you
are interested in building Angular with Bazel.
Bazel
Changes in Package Format
Changes and esm5/fesm5
Angular’s new package format does not include esm5
and fesm5. The default language level consumed by
Angular tooling is the reason behind these
mandatory changes.
Before:
{
...
"main": "bundles/abp-ng.core.umd.js",
"module": "fesm5/abp-ng.core.js",
"es2015": "fesm2015/abp-ng.core.js",
"esm5": "esm5/abp-ng.core.js",
"esm2015": "esm2015/abp-ng.core.js",
"fesm5": "fesm5/abp-ng.core.js",
"fesm2015": "fesm2015/abp-ng.core.js",
...
}
After:
{
...
"main": "bundles/abp-ng.core.umd.js",
"module": "fesm2015/abp-ng.core.js",
"es2015": "fesm2015/abp-ng.core.js",
"esm2015": "esm2015/abp-ng.core.js",
"fesm2015": "fesm2015/abp-ng.core.js",
...
}
If your existing applications depend on
esm5/fesm5, don’t worry; the system still
accepts them. Understand it in a similar
way; if your Angular library does not ship to
esm2015 or fesm2015, then still you don’t
worry because you know that CLI will take
care of it. In favor of build speed and bundle
optimization, it is suggested to deliver
ES2015 outputs.
Browse list
Usually, Angular generates bundles based
on the Browserlist configuration suggested
in the root app folder. Angular v10 will
search for .browserlistrc in your
application; if they don’t find it in the
browser list, then ng update command will
help you with the file rename.
Some Notable Changes:
Resolvers that return will cancel the
navigation. So to continue the
navigation to route, you will be required
to add some value defaultIfEmpty(…),
of(…)
Service worker implementations with
Vary headers will not work similarly.
They will simply be ignored. So it is
advisable to avoid caching such
resources as they can have
unpredictable behavior depending on
the user agents.
Because of this, cache match options are
now be configured in NGSW’s config file
Unknown property bindings in
templates or similar elements have been
increased “error” levels; earlier, it was a
warning.
formatDate() and DatePipe format codes
have been changed, as the previous
behavior was not correct for the day
span.
MinLength, as well as maxLength
validators, will only authenticate the
value if there’s a numeric length
property.
Angular has stopped sanitizing the style
property bindings because of the drop
of Support for IE6 and IE7 and the
performance cost.
Transplanted views had change
detection issues.; however, the issue is
fixed now.
Here’s a complete Angular 9 to Angular 10
update guideline.
ng update @angular/cli @angular/core
If you are upgrading manually using the
protractor, then it is advisable to update
protractor to 7.0.0+ as pervious introduced
versions had vulnerabilities.
How to update to version 10?
It is advisable to update to the one
significant version once at a time. If you are
currently using Angular v8 and want to
upgrade to Angular v10, then instead of
upgrading from Angular v8 to 10, first
upgrade from v8 to v9 and then v9 to v10.
I have tried to cover all the possible new
features, removals, notable changes, and
deprecations of Angular v10. Google-
developed framework v10 has not earth-
shattering release, but the features and
breaking changes it has brought can’t be
even ignored.
Suggestion:
If you are looking for well-versed Angular
developers who can help you upgrade your
existing application with minimum
disruption, then get in touch with us today.
Our Angular developers have successfully
performed many upgrades for numbers of
our clients to take their existing application
from an out-of-date to an up-to-date tech
stack with a cost-effective approach. Hire
Angular developers from us to leverage our
Angular upgrade service.
We are a globally renowned AngularJS
development company that can help you
perform routine maintenance, patch
security vulnerabilities, and implement the
latest features. You have landed on the right
page. We will stay one step ahead of your
competitors.
Wrapping Up
Thank You

More Related Content

What's hot (20)

PDF
Test Driven Development with JavaFX
Hendrik Ebbers
 
PDF
React table tutorial use filter (part 2)
Katy Slemon
 
PDF
AngularJS Unit Test
Chiew Carol
 
PDF
Go swagger tutorial how to create golang api documentation using go swagger (1)
Katy Slemon
 
PPTX
DevRock #01 What's new ASP.net 5
Chaowlert Chaisrichalermpol
 
PPTX
Angular 2 Migration - JHipster Meetup 6
William Marques
 
PDF
Serverless Angular, Material, Firebase and Google Cloud applications
Loiane Groner
 
PPTX
React 101
AndryRajohnson
 
PDF
Intro to JavaScript
Yakov Fain
 
PDF
Intermediate/Compliance training Guide
Chef
 
PDF
Introduction of React.js
Jyaasa Technologies
 
KEY
Enterprise Build And Test In The Cloud
Carlos Sanchez
 
PDF
React custom renderers
Giovanni Jiayi Hu
 
PDF
Vitaliy Makogon: Migration to ivy. Angular component libraries with IVY support.
VitaliyMakogon
 
PDF
No more waiting for API - Android Stub Server
Sylwester Madej
 
PDF
Serverless functions with Micronaut
Alvaro Sanchez-Mariscal
 
PPT
Maven, Eclipse And OSGi Working Together
Carlos Sanchez
 
PDF
[Fevr] Can't live if livin' is without rendering
Giovanni Jiayi Hu
 
PDF
Using CI for continuous delivery Part 4
Vishal Biyani
 
PDF
Eclipse RCP outside of Eclipse IDE - Gradle to the rescue!
Michał Ćmil
 
Test Driven Development with JavaFX
Hendrik Ebbers
 
React table tutorial use filter (part 2)
Katy Slemon
 
AngularJS Unit Test
Chiew Carol
 
Go swagger tutorial how to create golang api documentation using go swagger (1)
Katy Slemon
 
DevRock #01 What's new ASP.net 5
Chaowlert Chaisrichalermpol
 
Angular 2 Migration - JHipster Meetup 6
William Marques
 
Serverless Angular, Material, Firebase and Google Cloud applications
Loiane Groner
 
React 101
AndryRajohnson
 
Intro to JavaScript
Yakov Fain
 
Intermediate/Compliance training Guide
Chef
 
Introduction of React.js
Jyaasa Technologies
 
Enterprise Build And Test In The Cloud
Carlos Sanchez
 
React custom renderers
Giovanni Jiayi Hu
 
Vitaliy Makogon: Migration to ivy. Angular component libraries with IVY support.
VitaliyMakogon
 
No more waiting for API - Android Stub Server
Sylwester Madej
 
Serverless functions with Micronaut
Alvaro Sanchez-Mariscal
 
Maven, Eclipse And OSGi Working Together
Carlos Sanchez
 
[Fevr] Can't live if livin' is without rendering
Giovanni Jiayi Hu
 
Using CI for continuous delivery Part 4
Vishal Biyani
 
Eclipse RCP outside of Eclipse IDE - Gradle to the rescue!
Michał Ćmil
 

Similar to Angular version 10 is here check out the new features, notable changes, deprecations and removals (20)

PPTX
Angular 2.0
Mallikarjuna G D
 
PPTX
Angular 9 New features
Ahmed Bouchefra
 
PPTX
Angular 7: Everything You Need to Know!
Helios Solutions
 
PDF
Angular, the New Angular JS
Kenzan
 
ODP
A Glimpse on Angular 4
Sam Dias
 
PPTX
Angular2.0@Shanghai0319
Bibby Chung
 
PPTX
Angular
TejinderMakkar
 
PDF
Evolution and History of Angular as Web Development Platform.pdf
iFour Technolab Pvt. Ltd.
 
ODP
Angular 6 - The Complete Guide
Sam Dias
 
PPTX
Angular intro
Janarthan Paramanandam
 
PDF
Ng-Conf 2015 Report : AngularJS 1 & 2
Nicolas PENNEC
 
PPTX
What’s New in Angular 15.pptx
Albiorix Technology
 
PPTX
AngularConf2016 - A leap of faith !?
Alessandro Giorgetti
 
PDF
Angular JS 2_0 BCS CTO_in_Res V3
Bruce Pentreath
 
PDF
26 top angular 8 interview questions to know in 2020 [www.full stack.cafe]
Alex Ershov
 
PDF
Myths of Angular 2: What Angular Really Is
DevFest DC
 
PDF
Angular 2 overview
Jesse Warden
 
PPTX
Angular 2
Travis van der Font
 
PDF
5 Key Benefits of Migration
Happiest Minds Technologies
 
PPTX
4 Anguadasdfasdasdfasdfsdfasdfaslar (1).pptx
tilejak773
 
Angular 2.0
Mallikarjuna G D
 
Angular 9 New features
Ahmed Bouchefra
 
Angular 7: Everything You Need to Know!
Helios Solutions
 
Angular, the New Angular JS
Kenzan
 
A Glimpse on Angular 4
Sam Dias
 
Angular2.0@Shanghai0319
Bibby Chung
 
Evolution and History of Angular as Web Development Platform.pdf
iFour Technolab Pvt. Ltd.
 
Angular 6 - The Complete Guide
Sam Dias
 
Angular intro
Janarthan Paramanandam
 
Ng-Conf 2015 Report : AngularJS 1 & 2
Nicolas PENNEC
 
What’s New in Angular 15.pptx
Albiorix Technology
 
AngularConf2016 - A leap of faith !?
Alessandro Giorgetti
 
Angular JS 2_0 BCS CTO_in_Res V3
Bruce Pentreath
 
26 top angular 8 interview questions to know in 2020 [www.full stack.cafe]
Alex Ershov
 
Myths of Angular 2: What Angular Really Is
DevFest DC
 
Angular 2 overview
Jesse Warden
 
5 Key Benefits of Migration
Happiest Minds Technologies
 
4 Anguadasdfasdasdfasdfsdfasdfaslar (1).pptx
tilejak773
 
Ad

More from Katy Slemon (20)

PDF
React Alternatives Frameworks- Lightweight Javascript Libraries.pdf
Katy Slemon
 
PDF
Data Science Use Cases in Retail & Healthcare Industries.pdf
Katy Slemon
 
PDF
How Much Does It Cost To Hire Golang Developer.pdf
Katy Slemon
 
PDF
What’s New in Flutter 3.pdf
Katy Slemon
 
PDF
Why Use Ruby On Rails.pdf
Katy Slemon
 
PDF
How Much Does It Cost To Hire Full Stack Developer In 2022.pdf
Katy Slemon
 
PDF
How to Implement Middleware Pipeline in VueJS.pdf
Katy Slemon
 
PDF
How to Build Laravel Package Using Composer.pdf
Katy Slemon
 
PDF
Sure Shot Ways To Improve And Scale Your Node js Performance.pdf
Katy Slemon
 
PDF
How to Develop Slack Bot Using Golang.pdf
Katy Slemon
 
PDF
IoT Based Battery Management System in Electric Vehicles.pdf
Katy Slemon
 
PDF
Understanding Flexbox Layout in React Native.pdf
Katy Slemon
 
PDF
The Ultimate Guide to Laravel Performance Optimization in 2022.pdf
Katy Slemon
 
PDF
New Features in iOS 15 and Swift 5.5.pdf
Katy Slemon
 
PDF
How to Hire & Manage Dedicated Team For Your Next Product Development.pdf
Katy Slemon
 
PDF
Choose the Right Battery Management System for Lithium Ion Batteries.pdf
Katy Slemon
 
PDF
Flutter Performance Tuning Best Practices From the Pros.pdf
Katy Slemon
 
PDF
Angular Universal How to Build Angular SEO Friendly App.pdf
Katy Slemon
 
PDF
How to Set Up and Send Mails Using SendGrid in NodeJs App.pdf
Katy Slemon
 
PDF
Ruby On Rails Performance Tuning Guide.pdf
Katy Slemon
 
React Alternatives Frameworks- Lightweight Javascript Libraries.pdf
Katy Slemon
 
Data Science Use Cases in Retail & Healthcare Industries.pdf
Katy Slemon
 
How Much Does It Cost To Hire Golang Developer.pdf
Katy Slemon
 
What’s New in Flutter 3.pdf
Katy Slemon
 
Why Use Ruby On Rails.pdf
Katy Slemon
 
How Much Does It Cost To Hire Full Stack Developer In 2022.pdf
Katy Slemon
 
How to Implement Middleware Pipeline in VueJS.pdf
Katy Slemon
 
How to Build Laravel Package Using Composer.pdf
Katy Slemon
 
Sure Shot Ways To Improve And Scale Your Node js Performance.pdf
Katy Slemon
 
How to Develop Slack Bot Using Golang.pdf
Katy Slemon
 
IoT Based Battery Management System in Electric Vehicles.pdf
Katy Slemon
 
Understanding Flexbox Layout in React Native.pdf
Katy Slemon
 
The Ultimate Guide to Laravel Performance Optimization in 2022.pdf
Katy Slemon
 
New Features in iOS 15 and Swift 5.5.pdf
Katy Slemon
 
How to Hire & Manage Dedicated Team For Your Next Product Development.pdf
Katy Slemon
 
Choose the Right Battery Management System for Lithium Ion Batteries.pdf
Katy Slemon
 
Flutter Performance Tuning Best Practices From the Pros.pdf
Katy Slemon
 
Angular Universal How to Build Angular SEO Friendly App.pdf
Katy Slemon
 
How to Set Up and Send Mails Using SendGrid in NodeJs App.pdf
Katy Slemon
 
Ruby On Rails Performance Tuning Guide.pdf
Katy Slemon
 
Ad

Recently uploaded (20)

PPTX
Securing Model Context Protocol with Keycloak: AuthN/AuthZ for MCP Servers
Hitachi, Ltd. OSS Solution Center.
 
PDF
TrustArc Webinar - Navigating APAC Data Privacy Laws: Compliance & Challenges
TrustArc
 
PDF
Enhancing Environmental Monitoring with Real-Time Data Integration: Leveragin...
Safe Software
 
PDF
Pipeline Industry IoT - Real Time Data Monitoring
Safe Software
 
PPTX
Agentforce World Tour Toronto '25 - MCP with MuleSoft
Alexandra N. Martinez
 
PDF
DoS Attack vs DDoS Attack_ The Silent Wars of the Internet.pdf
CyberPro Magazine
 
PPTX
Agentforce World Tour Toronto '25 - Supercharge MuleSoft Development with Mod...
Alexandra N. Martinez
 
PPTX
Paycifi - Programmable Trust_Breakfast_PPTXT
FinTech Belgium
 
PDF
Optimizing the trajectory of a wheel loader working in short loading cycles
Reno Filla
 
PDF
How to Visualize the ​Spatio-Temporal Data Using CesiumJS​
SANGHEE SHIN
 
PDF
GDG Cloud Southlake #44: Eyal Bukchin: Tightening the Kubernetes Feedback Loo...
James Anderson
 
PPTX
MuleSoft MCP Support (Model Context Protocol) and Use Case Demo
shyamraj55
 
PDF
Modern Decentralized Application Architectures.pdf
Kalema Edgar
 
PDF
Draugnet: Anonymous Threat Reporting for a World on Fire
treyka
 
PDF
Kubernetes - Architecture & Components.pdf
geethak285
 
PDF
Darley - FIRST Copenhagen Lightning Talk (2025-06-26) Epochalypse 2038 - Time...
treyka
 
PPTX
Enabling the Digital Artisan – keynote at ICOCI 2025
Alan Dix
 
PDF
NLJUG Speaker academy 2025 - first session
Bert Jan Schrijver
 
PDF
Java 25 and Beyond - A Roadmap of Innovations
Ana-Maria Mihalceanu
 
PPTX
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
Securing Model Context Protocol with Keycloak: AuthN/AuthZ for MCP Servers
Hitachi, Ltd. OSS Solution Center.
 
TrustArc Webinar - Navigating APAC Data Privacy Laws: Compliance & Challenges
TrustArc
 
Enhancing Environmental Monitoring with Real-Time Data Integration: Leveragin...
Safe Software
 
Pipeline Industry IoT - Real Time Data Monitoring
Safe Software
 
Agentforce World Tour Toronto '25 - MCP with MuleSoft
Alexandra N. Martinez
 
DoS Attack vs DDoS Attack_ The Silent Wars of the Internet.pdf
CyberPro Magazine
 
Agentforce World Tour Toronto '25 - Supercharge MuleSoft Development with Mod...
Alexandra N. Martinez
 
Paycifi - Programmable Trust_Breakfast_PPTXT
FinTech Belgium
 
Optimizing the trajectory of a wheel loader working in short loading cycles
Reno Filla
 
How to Visualize the ​Spatio-Temporal Data Using CesiumJS​
SANGHEE SHIN
 
GDG Cloud Southlake #44: Eyal Bukchin: Tightening the Kubernetes Feedback Loo...
James Anderson
 
MuleSoft MCP Support (Model Context Protocol) and Use Case Demo
shyamraj55
 
Modern Decentralized Application Architectures.pdf
Kalema Edgar
 
Draugnet: Anonymous Threat Reporting for a World on Fire
treyka
 
Kubernetes - Architecture & Components.pdf
geethak285
 
Darley - FIRST Copenhagen Lightning Talk (2025-06-26) Epochalypse 2038 - Time...
treyka
 
Enabling the Digital Artisan – keynote at ICOCI 2025
Alan Dix
 
NLJUG Speaker academy 2025 - first session
Bert Jan Schrijver
 
Java 25 and Beyond - A Roadmap of Innovations
Ana-Maria Mihalceanu
 
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 

Angular version 10 is here check out the new features, notable changes, deprecations and removals

  • 2. On 24th June 2020, Angular introduced the latest version – Angular 10.0.0. This is the latest release, but the team has mostly focused on the ecosystem and quality tools, instead of introducing new features Four months back in February, the community has paved its way for the newer version. Ever since the Angular IVY was introduced, the community was keeping close tabs on the frequent updates. Angular 9.1 was introduced in April with some minor updates, including Support for TypeScript 3.8, bug fixes, and performance improvements.
  • 3. Just like every other Angular developer, I found this update very exciting and followed the news to find out what Angular 10 has bought for all of us. I checkout numbers of articles, but to my surprise, they have mostly focused on quick highlights, so I thought of writing a comprehensive blog post explaining what’s new in Angular 10. Let’s get started.
  • 5. Angular 9 was introduced with TypeScript 3.7 support. Later, TypeScript introduced 3.8, so to offer hassle-free Support Angular released v9.1. Angular’s team has always ensured to keep the framework up-to-date and relevant, so to respond to the latest version of TypeScript 3.9, Angular introduced v10 along with introducing TSLib and TSLint. The faster Angular builds, TypeScript fixes, and updated features are available for Angular developers. Angular programmers will have access to the more intricate TypeScript configuration. TypeScript has stopped offering Support to the earlier versions, so you will be required to install v3.9 in your project. TypeScript v3.9 Support
  • 6. TSLib – The runtime library for TypeScript comprising all the TypeScript helper functions, has been updated to TSlib 2.0. TSLint – The static analysis tool for TypeScript has been updated to TSLint 6.The Angular team has updated the project layout with v10. We will have a tsconfig.base.json and additional tsconfig.json for package configuration and support IDEs. TSLib v2.0 and TSLint v6
  • 7. Before: { "files": [], "references": [ { "path": "./tsconfig.app.json" }, { "path": "./tsconfig.spec.json" }, { "path": "./e2e/tsconfig.json" } ] }
  • 8. After: "files": [], "references": [ { "path": "./tsconfig.app.json" }, { "path": "./tsconfig.spec.json" }, { "path": "./e2e/tsconfig.json" }, { "path": "./projects/core/tsconfig.lib.json" }, { "path": "./projects/core/tsconfig.spec.json" } ] }
  • 10. The browser configuration has been introduced to eliminate older and less- updated bowsers. Internet Explorer 9, IE 10, and IE mobile will not get any official support from now onwards. Microsoft has also stopped offering Support for these browsers. Check out the updated supportive Browser list file here.
  • 12. After:: v10 Defaults Executing the following code will also get you the list of supported web browsers. npx browsers list To find out more on this go through this link
  • 14. There are chances that Angular application may become slower when we import dependencies, which are packaged with CommonJS. CommonJS module is introduced to structure and organize your JavaScript code that is heavily influenced by Node’s module management. Read more about CommonJS here. From Angular V10, developers will be notified with a warning when dependency packaged could result in a slower and larger application. ECMAScript module bundle is available as a substitute.
  • 15. Angular Material UI now officially includes To make use of the new date range picker, use the mat-date-range-input and mat- date-range-picker components. Please refer to the official documents to find out more. New Date Range Picker
  • 16. To improve the maintainability, catch bugs and allow CLI to do advanced optimizations, you can enable the flag initializes with ng new, via ng new –strict from the optional stricter settings. Optional Stricter Settings
  • 17. { ... "budgets": [ { "type": "initial", "maximumWarning": "500kb", "maximumError": "1mb" }, { "type": "anyComponentStyle", "maximumWarning": "2kb", "maximumError": "4kb" } ] ... }
  • 18. Default bundle budgets are reduced by ~75% Enable strict mode in TypeScript Turns template type checking to Strict Configure lint to suppress warnings to prevent declarations of type any Enable more advanced tree-shaking to configure your app as a side-effect The Strict flag does the listed below things,
  • 19. Here you need to make sure that you have a post- install script in your “package.json” file to execute NGCC after an installation: { "scripts": { "postinstall": "ngcc" } } With this release, NGCC is more robust. Earlier it wasn’t capable if recovery worker processes get crashed; however, issues with NGCC handing can now be fixed. Significant performance enhancements have been made to NGCC. NGCC
  • 20. Unfortunately, Angular Bazel has left Angular labs, and it won’t be the default tool in Angular CLI. So you won’t get any official support, and if you are wondering about the reasons why the Angular team has discontinued it, then check them out here. However Angular team has referred Monorepo if you are interested in building Angular with Bazel. Bazel Changes in Package Format Changes and esm5/fesm5 Angular’s new package format does not include esm5 and fesm5. The default language level consumed by Angular tooling is the reason behind these mandatory changes.
  • 21. Before: { ... "main": "bundles/abp-ng.core.umd.js", "module": "fesm5/abp-ng.core.js", "es2015": "fesm2015/abp-ng.core.js", "esm5": "esm5/abp-ng.core.js", "esm2015": "esm2015/abp-ng.core.js", "fesm5": "fesm5/abp-ng.core.js", "fesm2015": "fesm2015/abp-ng.core.js", ... }
  • 22. After: { ... "main": "bundles/abp-ng.core.umd.js", "module": "fesm2015/abp-ng.core.js", "es2015": "fesm2015/abp-ng.core.js", "esm2015": "esm2015/abp-ng.core.js", "fesm2015": "fesm2015/abp-ng.core.js", ... } If your existing applications depend on esm5/fesm5, don’t worry; the system still accepts them. Understand it in a similar way; if your Angular library does not ship to esm2015 or fesm2015, then still you don’t worry because you know that CLI will take care of it. In favor of build speed and bundle optimization, it is suggested to deliver ES2015 outputs.
  • 23. Browse list Usually, Angular generates bundles based on the Browserlist configuration suggested in the root app folder. Angular v10 will search for .browserlistrc in your application; if they don’t find it in the browser list, then ng update command will help you with the file rename. Some Notable Changes: Resolvers that return will cancel the navigation. So to continue the navigation to route, you will be required to add some value defaultIfEmpty(…), of(…)
  • 24. Service worker implementations with Vary headers will not work similarly. They will simply be ignored. So it is advisable to avoid caching such resources as they can have unpredictable behavior depending on the user agents. Because of this, cache match options are now be configured in NGSW’s config file Unknown property bindings in templates or similar elements have been increased “error” levels; earlier, it was a warning. formatDate() and DatePipe format codes have been changed, as the previous behavior was not correct for the day span. MinLength, as well as maxLength validators, will only authenticate the value if there’s a numeric length property.
  • 25. Angular has stopped sanitizing the style property bindings because of the drop of Support for IE6 and IE7 and the performance cost. Transplanted views had change detection issues.; however, the issue is fixed now.
  • 26. Here’s a complete Angular 9 to Angular 10 update guideline. ng update @angular/cli @angular/core If you are upgrading manually using the protractor, then it is advisable to update protractor to 7.0.0+ as pervious introduced versions had vulnerabilities. How to update to version 10?
  • 27. It is advisable to update to the one significant version once at a time. If you are currently using Angular v8 and want to upgrade to Angular v10, then instead of upgrading from Angular v8 to 10, first upgrade from v8 to v9 and then v9 to v10. I have tried to cover all the possible new features, removals, notable changes, and deprecations of Angular v10. Google- developed framework v10 has not earth- shattering release, but the features and breaking changes it has brought can’t be even ignored. Suggestion:
  • 28. If you are looking for well-versed Angular developers who can help you upgrade your existing application with minimum disruption, then get in touch with us today. Our Angular developers have successfully performed many upgrades for numbers of our clients to take their existing application from an out-of-date to an up-to-date tech stack with a cost-effective approach. Hire Angular developers from us to leverage our Angular upgrade service. We are a globally renowned AngularJS development company that can help you perform routine maintenance, patch security vulnerabilities, and implement the latest features. You have landed on the right page. We will stay one step ahead of your competitors. Wrapping Up