Angular 10 is Available Now

The latest version of the most popular front-end frameworks Angular, Angular 10 is publicly available now. Angular 10 features New Date Range Picker, Warnings about CommonJS imports, Optional Stricter Settings, and New Default Browser Configuration.

Version 10.0.0 of Angular is out. Angular 10.0 is a major release that spans the entire platform, including the framework, Angular Material, and the CLI, says the official angular blog.
 
The latest release features New Date Range Picker, Warnings about CommonJS imports, Optional Stricter Settings, New Default Browser Configuration, Angular Team Fixit, and more.
 
To update to version 10 you can use the command: ng update @angular/cli @angular/core. Or you can also visit update.angular.io for detailed information and guidance.
 
The Angular team said that if developers use a dependency that is packaged with CommonJS, it often results in larger slower applications. Starting with version 10, Angular now warns you when your build pulls in one of these bundles. So, those who have started seeing these warnings for their dependencies should let their dependency know that they would prefer an ECMAScript module (ESM) bundle.
 
 
Source: Angular
 
With the release of version 10, Angular Material now includes a new date range picker. So in situations where you need your users to select a range of dates, instead of a single date, you can use the mat-date-range-input and mat-date-range-picker components. They work very similar to the mat-datepicker and the basic datepicker input.
 
The latest release brings a more strict project setup when you create a new workspace with ng new: ng new --strict.
 
strict flag enables strict mode in TypeScript and turns template type checking to Strict. It reduces default bundle budgets by approx 75% and configures linting rules to prevent declarations of type any. Also, this flag configures your app as side-effect free to allow more advanced tree-shaking.
 
The new release also features few updates to the dependencies of Angular to stay synchronized with the JavaScript ecosystem. TypeScript bumped to TypeScript 3.9. TSLib has been updated to v2.0. TSLint has been updated to v6.
 
Angular has also updated the browser configuration for new projects to exclude older and less used browsers.