tenebrous-dicebot/api/node_modules/compression-webpack-plugin/CHANGELOG.md

18 KiB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

7.1.2 (2021-01-11)

Bug Fixes

  • crash when filename and algorithm options are functions (#241) (f33424a)

7.1.1 (2020-12-25)

Bug Fixes

7.1.0 (2020-12-18)

Features

  • compress assets added later by plugins (5b8b356)

Bug Fixes

  • compatibility with workbox-webpack-plugin (#234) (5d54128)
  • perf

7.0.0 (2020-12-02)

⚠ BREAKING CHANGES

  • minimum supported webpack version is ^5.1.0
  • the cache option was removed, the plugin respects caching from configurations, please read

6.1.1 (2020-11-12)

Bug Fixes

  • compatibility with child compilations (5e3bb95)

6.1.0 (2020-11-09)

Features

  • added the keep-source-maps value to the deleteOriginalAssets option (#216) (bd60650)

6.0.5 (2020-11-02)

Bug Fixes

  • allowed compressed assets to overwrite original assets using the deleteOriginalAssets option (62d3d0a)

6.0.4 (2020-10-26)

Bug Fixes

  • always set compression level to maximum for the custom algorithm (483f328)

6.0.3 (2020-10-09)

Chore

  • update schema-utils

6.0.2 (2020-09-19)

Bug Fixes

6.0.1 (2020-09-16)

Bug Fixes

6.0.0 (2020-09-14)

⚠ BREAKING CHANGES

  • default value of the filename option was changed to "[path][base].gz"
  • removed the [dir] placeholder, please use the [path] placeholder
  • the Function type of the filename option should return value with placeholders, please see an example

Features

  • added [fragment], [base] and [path] placeholders for the filename option

Bug Fixes

  • caching (#194) (9de2a88)
  • respect immutable flag for assets

5.0.2 (2020-09-02)

Bug Fixes

  • do not crash when the algorithm option return non Buffer (#190) (81bf601)

5.0.1 (2020-08-22)

Bug Fixes

  • compatibility with webpack@5 (84e367b)

5.0.0 (2020-08-17)

⚠ BREAKING CHANGES

  • default value of the filename option is '[path].gz'
  • use processAssets hook for webpack@5 compatibility, it can create incompatibility with plugins that do not support webpack@5, please open an issue in their repositories

Features

  • improve compatibility with webpack@5 (1f9674e)
  • improve stats output for webpack@5

Bug Fixes

  • fix persistent cache between builds

4.0.1 (2020-08-12)

Bug Fixes

4.0.0 (2020-05-12)

⚠ BREAKING CHANGES

Features

  • enable cache by default for webpack@4 (#164) (ea33463)

Bug Fixes

  • behaviour in watch mode (e222c4e)

3.1.0 (2020-01-09)

Features

  • add dir, name and ext placeholders in filename option (#144) (bf22024)

Bug Fixes

3.0.0 (2019-06-05)

chore

Tests

BREAKING CHANGES

  • deps: minimum required nodejs version is 8.9.0

2.0.0 (2018-09-04)

Features

  • filename option now accept {String} value
  • validation schema for plugin options

BREAKING CHANGES

  • enforces peerDependencies of "webpack": "^4.3.0"
  • enforces engines of "node": ">= 6.9.0 <7.0.0 || >= 8.9.0
  • compressed options (options.level, options.flush, options.dictionary and etc) grouped into compressionOptions option
  • asset option was removed (use filename option instead)
  • default value of filename option is now [path].gz[query]

1.1.12 (2018-08-29)

Bug Fixes

  • correct handling filename with query (#105) (c8d7757)

1.1.11 (2018-03-09)

Performance Improvements

  • index: switch to md4 for content hashing (#103) (0eebc46)

1.1.10 (2018-02-27)

Performance Improvements

1.1.9 (2018-02-26)

Bug Fixes

  • package: add webpack >= 4 (peerDependencies) (#101) (d3c29e7)

1.1.8 (2018-02-23)

Bug Fixes

  • index: tapable deprecation warnings (webpack >= v4.0.0) (#100) (d6ccdc4)

1.1.7 (2018-02-16)

Bug Fixes

  • index: reduce memory usage (cacheKey.hash) (#97) (3c77d43)

1.1.6 (2018-01-29)

1.1.5 (2018-01-29)

Bug Fixes

  • package: use prepare instead of prepublish for release (0b90a71)

1.1.4 (2018-01-29)

Bug Fixes

  • missing options include and exclude (#95) (cc44bcb)

1.1.3 (2017-12-22)

Bug Fixes

1.1.2 (2017-12-14)

Bug Fixes

  • text/include/exclude option behaviour (#88) (1d0a840)

1.1.1 (2017-12-14)

Bug Fixes

  • index: don't use JSON.stringify() to serialize the cache data (options.cache) (#87) (0d22741)

1.1.0 (2017-12-14)

Features

  • add cache option (options.cache) (#86) (49a8a77)
  • add include and exclude options (options.include|options.exclude) (#82) (1ce3024)

1.0.1 (2017-09-29)

Code Refactoring

  • Use emit event instead of this-compilation (#71) (9ebc852)

1.0.0 (2017-07-15)

Code Refactoring

BREAKING CHANGES

Migration:

  • npm i -D zopfli-webpack-plugin
  • The Zopfli API has remained the same, those who were using the Zopfli option in this plugin should just need to switch plugins.

1.0.0-beta.1 (2017-07-03)

Code Refactoring

  • Drops optional Zopfli dependency (#65) (328048a)

BREAKING CHANGES

  • The optional dependency for Zopfli was causing issues in consumers CI / CD chains, this option has now been removed.

MIGRATION: Zopfli is now in it's own plugin the options have remained the same. For those using the Zopfli option in compression-webpack-plugin swap it out for https://github.com/webpack-contrib/zopfli-webpack-plugin

1.0.0-beta.0 (2017-06-24)

Code Refactoring

BREAKING CHANGES

Migration:

  • npm i -D zopfli-webpack-plugin
  • The Zopfli API has remained the same, those who were using the Zopfli option in this plugin should just need to switch plugins.

0.4.0 (2017-04-08)

Features

  • add option to change the filename (#51) (fb7bd81)
  • add option to delete original assets (#44) (24f15f2)

0.3.2 (2016-09-13)

Chores

  • Update node-zopfli version (2d3dd44)

0.3.1 (2016-03-26)

Bug Fixes

  • TypeError Invalid non-strig/buffer chunk (53ec8a9)

0.3.0 (2016-01-23)

Bug Fixes

Features

  • Add compression level option (9d05172)
  • Add node-zopfli option (2c22b1c)
  • Permit {path} and {query} in asset name (12d167c)

0.2.0 (2015-04-08)

Features

0.1.2 (2015-04-08)

Bug Fixes

  • Double compression on worker-loader bundles (7ce2b32)
  • Remove unneeded module.exports (6f4e60d)