Skip to content
This repository has been archived by the owner on Dec 30, 2019. It is now read-only.

17.0.0

Compare
Choose a tag to compare
@DorianGrey DorianGrey released this 26 Jan 08:26
· 75 commits to master since this release

Another major one, but this time not only due to dependency updates.

A list of the most notable changes is listed below. See the full list of changes in the diff:
16.0.0...17.0.0

Libraries

  • angular was updated to 5.2.2. Just a minor release, so this should not break anything.
  • ngrx was updated to 5.0.1. This is only a major release because the minimal rxjs version was increased to 5.5. This should not break anything in terms of this template, since a matching version was already used before.
    Note that I've had to change the import order of the @ngrx/store related modules due to an issue with the store instrumentation - see here.

Other dependencies

electron was updated to 1.7.11.
❗ I've received a notification that older versions contain a security-critical bug, so this update should not be reverted or omitted!

Behavior changes

Chunk naming

Code splitting using @angular/router does not allow to explicitly provide a name for the particular chunks - as a result, they only get an ID by default. From this release on, those chunks will receive the name of entry file referenced for the splitting process.

rxjs tree-shaking

I've added the path mapping of rxjs as described in the docs to provide better tree-shaking for its imports. This reduces the bundle size quite significantly.

runtime extraction

For production builds, webpack now extracts its whole runtime instead of only the manifest. This is favorable for long term caching.

Service worker revisions

I've faced some bugs regarding the service worker caching that at most appeared when not enough hashing digits have been used. To work around this issue, the revision ID generated by workbox is no longer removed from the generated service worker file. The size increase of the service worker file should be negligible.

Other changes

CI

As already announced a while ago, this template only supports LTS versions of node. The CI configurations have been modified to no longer test against node versions < 8.