Skip to content

v3.0.0

Compare
Choose a tag to compare
@vio vio released this 18 May 16:31
· 3340 commits to master since this release

Breaking changes

1. Concatenated modules

Concatenated modules are expanded by default if possible:

Modules Module count
Before (v2) ./main.js + 2 modules

1

After (v2) /main.js
./module-a.js
./module-b.js

3

The change will allow bundle-stats to extract a more realistic list of dependencies

2. Duplicate packages metric is counting all the duplicate instances

Packages Duplicate packages
Before (v2) node_modules/package-a
node_modules/package-a/node_modules/package-c
node_modules/package-b
node_modules/package-b/node_modules/package-a
node_modules/package-b/node_modules/package-c
node_modules/package-c

2

After (v3) node_modules/package-a
node_modules/package-a/node_modules/package-c
node_modules/package-b
node_modules/package-b/node_modules/package-a
node_modules/package-b/node_modules/package-c
node_modules/package-c

3

A metric change will be visible when a duplicate packages occurs no matter if it is already duplicated or not.

3. Dropped support node v10


Breaking changes

  • 3027e35 Merge pull request #1416 from relative-ci/concatenated-modules (GitHub)

    • cfce8a4 refactor: Modules - use flat modules tructure (Vio)
    • 39651ed feat(utils): Webpack - extract concatenated modules (Vio)
    • 309a4bb feat(utils): Webpack validate - allow modules[].modules[] (Vio)
    • 830ae6f Update dependencies (#1443) (GitHub)
  • 2351da2 Merge pull request #1447 from relative-ci/fix-duplicate-packages (GitHub)

    • d9bdba5 fix(utils): DuplicatePackagesCount - count all the duplicate instances (Vio)
    • 36f5397 feat(utils): Packages - store public package name (Vio)
  • cc7ee29 Merge pull request #1448 from relative-ci/drop-node-10-support (GitHub)

  • b8a364b fix: babelrc - use node current config (Vio)

  • 26ab760 build: Drop node v10 support (Vio)

Fixes

  • 8e2bc0c fix(utils): Module chunkId - consistent type with meta.chunks (Vio)
  • 854b290 fix(ui): Popover - text align left (Vio)

Others

  • 5e00d0c build(html-templates): Avoid duplicate dependencies from linked packages (Vio)
  • c40b5d4 build: Remove cssnano postcss plugin (Vio)
  • 81a09e9 Update dependencies (#1384) (GitHub)