14.0.0 "service worker"
I've decided to make this a major release instead of a minor one, since the default build and runtime behavior was changed, which might be breaking for some setups, although it's only an addition technically.
Service worker
As a new PWA capability, this release will now always generate a service worker and utilize it if possible. I've set up a particular doc that explains its setup, how it is used and how you might adopt it to your particular requirements:
https://github.com/DorianGrey/ng-webpack-template/blob/master/docs/service_worker.md
Please file an issue if you are facing any problems.
Lighthouse report
A lighthouse report has been added for both AoT and AoT with build optimizer modes and can be found in this directory in both HTML and JSON format:
https://github.com/DorianGrey/ng-webpack-template/tree/master/lighthouse-report
The recently added PWA features improved the ratings a lot, even though there is still room for optimization.
Notable dependency updates
- Angular has been updated to ^4.4.3. This should have any reasonable impact on exisiting code. The changelog can be found here.
- Prettier has been updated to ^1.7.0. This might result in slightly different formatting of your code. Please take a look at the particular release notes: https://github.com/prettier/prettier/releases/tag/1.7.0
- Electron was sticked to 1.7.8 for the moment. During development, I updated it to ^1.8.0, however there does not seem to be a download attached to this release any longer, so CI failed recently.