Angular 6.0.0 Beta 4 Released

Angular 6.0.0 is right around the corner and the latest beta is now available to anyone who wants to kick the tyres.

So what have we got to look forward to?

Webpack 4

Faster, smaller builds are on the way. The angular CLI includes support for Webpack v4.

Bazel

Beta 4 continues to integrate Bazel into the build process.

Bazel is Googles internal build tool. It’s the one they use to build everything at Google HQ. It’s smoking fast and reduces build times by a factor of ten.

Ivy

Work continues apace on Ivy. Ivy is an experimental feature which promises a faster and smaller renderer. You can find out more on GitHub.

Ivy is a new backwards-compatible Angular renderer focused on further speed improvements, size reduction, and increased flexibility.

Ivy is currently not feature complete, but can be tested via enableIvy: trueangularCompilerOptions flag.

We currently expect Ivy to remain behind the flag until it’s feature complete and battle tested at Google. In the meantime you can check out this Hello World demo.

Service Workers

Service Workers can be tricky to work with in production, and sometimes it’s necessary to deactivate them. This can be tricky when clients are pointing to old service worker code.

Angular 6.0.0 adds safety-worker.js. This forces old service workers to unregister before installing new ones. Enabling older clients to safely and gradually update.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.