18 KiB
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
7.1.1 (2020-12-25)
Bug Fixes
7.1.0 (2020-12-18)
Features
- compress assets added later by plugins (5b8b356)
Bug Fixes
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
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
- cache invalidation (2284b0c)
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 thefilename
option should return value with placeholders, please see an example
Features
- added
[fragment]
,[base]
and[path]
placeholders for thefilename
option
Bug Fixes
5.0.2 (2020-09-02)
Bug Fixes
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 forwebpack@5
compatibility, 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
- the
cache
istrue
by default for webpack@4 - the
cache
option is ignored in webpack 5. Please use https://webpack.js.org/configuration/other-options/#cache. - minimum supported Node.js version is
10.13
Features
Bug Fixes
- behaviour in watch mode (e222c4e)
3.1.0 (2020-01-09)
Features
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 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)
Bug Fixes
1.1.11 (2018-03-09)
Performance Improvements
1.1.10 (2018-02-27)
Performance Improvements
1.1.9 (2018-02-26)
Bug Fixes
1.1.8 (2018-02-23)
Bug Fixes
1.1.7 (2018-02-16)
Bug Fixes
1.1.6 (2018-01-29)
1.1.5 (2018-01-29)
Bug Fixes
- package: use
prepare
instead ofprepublish
for release (0b90a71)
1.1.4 (2018-01-29)
Bug Fixes
1.1.3 (2017-12-22)
Bug Fixes
1.1.2 (2017-12-14)
Bug Fixes
1.1.1 (2017-12-14)
Bug Fixes
1.1.0 (2017-12-14)
Features
- add
cache
option (options.cache
) (#86) (49a8a77) - add
include
andexclude
options (options.include|options.exclude
) (#82) (1ce3024)
1.0.1 (2017-09-29)
Code Refactoring
1.0.0 (2017-07-15)
Code Refactoring
BREAKING CHANGES
- 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)
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
1.0.0-beta.0 (2017-06-24)
Code Refactoring
BREAKING CHANGES
- 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)
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
- use webpack RawSource (3c85a2b)