All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
3.0.0 (2019-06-05)
- deps: minimum required nodejs version is
8.9.0
2.0.0 (2018-09-04)
filename
option now accept{String}
value- validation schema for plugin options
- 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 intocompressionOptions
option asset
option was removed (usefilename
option instead)- default value of
filename
option is now[path].gz[query]
1.1.12 (2018-08-29)
1.1.11 (2018-03-09)
1.1.10 (2018-02-27)
1.1.9 (2018-02-26)
1.1.8 (2018-02-23)
1.1.7 (2018-02-16)
1.1.6 (2018-01-29)
1.1.5 (2018-01-29)
- package: use
prepare
instead ofprepublish
for release (0b90a71)
1.1.4 (2018-01-29)
1.1.3 (2017-12-22)
1.1.2 (2017-12-14)
1.1.1 (2017-12-14)
1.1.0 (2017-12-14)
- add
cache
option (options.cache
) (#86) (49a8a77) - add
include
andexclude
options (options.include|options.exclude
) (#82) (1ce3024)
1.0.1 (2017-09-29)
1.0.0 (2017-07-15)
- Enforces
peerDependencies
of"webpack": ">= 3.0.0-rc.0 || ^3.0.0"
. - Enforces
engines
of"node": ">=4.3.0 < 5.0.0 || >= 5.10
- Remove loose dependency on Node Zopfli, which has been extracted to it's own plugin https://github.com/webpack-contrib/zopfli-webpack-plugin
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)
- 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)
- Enforces
peerDependencies
of"webpack": ">= 3.0.0-rc.0 || ^3.0.0"
. - Enforces
engines
of"node": ">=4.3.0 < 5.0.0 || >= 5.10
- Remove loose dependency on Node Zopfli, which has been extracted to it's own plugin https://github.com/webpack-contrib/zopfli-webpack-plugin
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)
- add option to change the filename (#51) (fb7bd81)
- add option to delete original assets (#44) (24f15f2)
- Update node-zopfli version (2d3dd44)
- TypeError Invalid non-strig/buffer chunk (53ec8a9)
- Add compression level option (9d05172)
- Add node-zopfli option (2c22b1c)
- Permit {path} and {query} in asset name (12d167c)
- use webpack RawSource (3c85a2b)