While Angular 12 was released on May 12, bringing updated version of Ivy language service to provide improved type checking and tearing down of the test module and environment after every test, which significantly improved test speed. Angular 13, latest beta releases published as of September 24, shows major areas of improvements such as the core, router, and service workers.
Several other new changes are still expected as the framework nears release, besides the router performance improvements, which change proposal is to fix a situation in where the default URL serializer drops everything afterward, including question mark in query parameters.
What's New in Angular 13 Update?
Angular 13 will debut a new type which serves as a union of all possible status strings for form controls, FormControlStatus. And AbstractControl.status will be narrowed from string to FormControlStatus.
Some key changes available in latest Angular 13 betas are as follows:
- Service worker cache is now cleared in the safety worker ensuring stale or broken contents aren't served in future requests.
- Behavior of the SpyLocation employed by the RouterTestingModule now matches the behavior of the browsers.
- Pure annotations have been added to static property initializers, with class properties with initializers that cause code execution having side effects at module evaluation, similar in effect to module level code.
- Platform-browser error message has been improved for missing animation trigger.
Furthermore, most applications should be able to consume the new types introduced seamlessly, hybrid apps relying on navigationId to the router should subscribe to NavigationCancel events and carry out the location.replaceState to add navigationId to the router state.
What is Angular 13 Release Date and How to Get Started with Angular 13?
As Angular releases are targeted for every six months, it makes the release date of version 13 this November, with latest version the Angular 12 released on May 12.
Angular 13 version is still in pre-release state, therefore it is strongly recommended that if you want to update to the latest version (from Angular 10 or 11), you should update your application to Angular 12 before upgrading to Angular 13.
No comments