What's new in Angular 10.2?
Angular 10.2.0 is here!
This is mostly a maintenance release with bugfixes, but as it contains a potential breaking change, this was turned into a minor release.
The breaking change only impacts those who are using server-side rendering, so it may not even be relevant for you.
Let’s see what the rest of the release brings us.
ng add @angular/localize now adds the package in the
rather than in the
dependencies as it used to.
The reasoning is that, for most applications, localize is only used at build time.
If you still want to use it at runtime, you can add the flag
and the package is added to the
In an existing application, you can of course manually move the
ngcc compiler should be faster after the introduction of some caching mechanisms.
It should also consume less memory.
The commit mentions a 2-4x improvement in a CLI project,
and as I mentioned on Twitter,
I do agree that this makes a difference 🚀.
On a related note, the “linker” project, which will allow to ship and consume Ivy libraries directly
and get rid of
ngcc in the long term, is making some progress 💪.
We’ll have more interesting features in the next major release v11, which should be in November, stay tuned!