Skip to content

Commit d8ad4e4

Browse files
chore(release): 6.0.0
1 parent f2dd71b commit d8ad4e4

File tree

4 files changed

+21
-3
lines changed

4 files changed

+21
-3
lines changed

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,24 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
## [6.0.0](https://github.com/webpack-contrib/compression-webpack-plugin/compare/v5.0.2...v6.0.0) (2020-09-14)
6+
7+
8+
### ⚠ BREAKING CHANGES
9+
10+
* default value of the `filename` option was changed to `"[path][base].gz"`
11+
* removed the `[dir]` placeholder, please use the `[path]` placeholder
12+
* the `Function` type of the `filename` option should return value with placeholders, please see an [example](https://github.com/webpack-contrib/compression-webpack-plugin#function-1)
13+
14+
### Features
15+
16+
* added `[fragment]`, `[base]` and `[path]` placeholders for the `filename` option
17+
18+
### Bug Fixes
19+
20+
* caching ([#194](https://github.com/webpack-contrib/compression-webpack-plugin/issues/194)) ([9de2a88](https://github.com/webpack-contrib/compression-webpack-plugin/commit/9de2a88ccb7b16a84a4e1e08ae0889bc589a0089))
21+
* respect `immutable` flag for assets
22+
523
### [5.0.2](https://github.com/webpack-contrib/compression-webpack-plugin/compare/v5.0.1...v5.0.2) (2020-09-02)
624

725

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ module.exports = {
230230
### `filename`
231231

232232
Type: `String|Function`
233-
Default: `[path][base].gz`
233+
Default: `"[path][base].gz"`
234234

235235
The target asset filename.
236236

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "compression-webpack-plugin",
3-
"version": "5.0.2",
3+
"version": "6.0.0",
44
"description": "Prepare compressed versions of assets to serve them with Content-Encoding",
55
"license": "MIT",
66
"repository": "webpack-contrib/compression-webpack-plugin",

0 commit comments

Comments
 (0)