Changelog
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
5.0.2 (2020-09-02)
Bug Fixes
 
 
 - do not crash when the algorithmoption return nonBuffer(#190) (81bf601)
5.0.1 (2020-08-22)
Bug Fixes
 
5.0.0 (2020-08-17)
⚠ BREAKING CHANGES
 
 
 - default value of the filenameoption is'[path].gz'
- use processAssetshook forwebpack@5compatibility, it can create incompatibility with plugins that do not supportwebpack@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
 
Bug Fixes
 
3.1.0 (2020-01-09)
Features
 
 
 - add dir,nameandextplaceholders 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
 
 
 - filenameoption now accept- {String}value
- validation schema for plugin options
BREAKING CHANGES
 
 
 - enforces peerDependenciesof"webpack": "^4.3.0"
- enforces enginesof"node": ">= 6.9.0 <7.0.0 || >= 8.9.0
- compressed options (options.level,options.flush,options.dictionaryand etc) grouped intocompressionOptionsoption
- assetoption was removed (use- filenameoption instead)
- default value of filenameoption is now[path].gz[query]
1.1.12 (2018-08-29)
Bug Fixes
 
1.1.11 (2018-03-09)
Performance Improvements
 
 
 - index: switch to md4for 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: tapabledeprecation 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 prepareinstead ofprepublishfor release (0b90a71)
1.1.4 (2018-01-29)
Bug Fixes
 
 
 - missing options includeandexclude(#95) (cc44bcb)
1.1.3 (2017-12-22)
Bug Fixes
 
1.1.2 (2017-12-14)
Bug Fixes
 
 
 - text/include/excludeoption behaviour (#88) (1d0a840)
1.1.1 (2017-12-14)
Bug Fixes
 
 
 - index: don't use JSON.stringify()to serialize thecachedata (options.cache) (#87) (0d22741)
1.1.0 (2017-12-14)
Features
 
 
 - add cacheoption (options.cache) (#86) (49a8a77)
- add includeandexcludeoptions (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.
Code Refactoring
 
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
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)