|
1 |
| -# Change Log |
| 1 | +# Changelog |
2 | 2 |
|
3 | 3 | 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.
|
4 | 4 |
|
| 5 | +## [3.0.0](https://github.com/webpack-contrib/worker-loader/compare/v2.0.0...v3.0.0) (2020-08-01) |
| 6 | + |
| 7 | + |
| 8 | +### ⚠ BREAKING CHANGES |
| 9 | + |
| 10 | +* minimum supported Node.js version is `10.13` |
| 11 | +* minimum supported webpack version is `4` |
| 12 | +* the `name` option was renamed to the `filename` option |
| 13 | +* switch on ES module syntax by default, use the `esModule` option if you need backward compatibility with Common JS modules |
| 14 | +* the `fallback` option was removed in favor the `inline` option, the `inline` option accepts only `fallback` and `no-fallback` values |
| 15 | +* the `publicPath` option default value based on `output.publicPath` |
| 16 | +* the `filename` option default value based on `output.filename` |
| 17 | + |
| 18 | + |
| 19 | +### Features |
| 20 | + |
| 21 | +* added the `worker` option (replaces [#178](https://github.com/webpack-contrib/worker-loader/issues/178)) ([#247](https://github.com/webpack-contrib/worker-loader/issues/247)) ([f03498d](https://github.com/webpack-contrib/worker-loader/commit/f03498d22c6a3737b724c51bdfb56627e33b57b2)) |
| 22 | +* added the `chunkFilename` option, default value based on `output.chunkFilename` ([905ed7b](https://github.com/webpack-contrib/worker-loader/commit/905ed7b028bbcb646050a1d09096dbe2fc1feb42)) |
| 23 | +* added the `esModule` option |
| 24 | +* allow to use any web worker constructor and options for constructor |
| 25 | +* the `publicPath` option can be `Function` |
| 26 | +* the `filename` (previously `name`) option can be `Function` |
| 27 | + |
| 28 | + |
| 29 | +### Bug Fixes |
| 30 | + |
| 31 | +* support `WASM` ([152634c](https://github.com/webpack-contrib/worker-loader/commit/152634c0d8866d248ced3b6e5ac02761c978ae1a)) |
| 32 | +* respect `externals` ([#264](https://github.com/webpack-contrib/worker-loader/issues/264)) ([1e761ed](https://github.com/webpack-contrib/worker-loader/commit/1e761edcbfc8b214ae3a19f44f401f20ab07b718)) |
| 33 | +* memory leak for inline web workers ([#252](https://github.com/webpack-contrib/worker-loader/issues/252)) ([f729e34](https://github.com/webpack-contrib/worker-loader/commit/f729e342922180bf3b375a8d2ea6e1b72ca95d74)) |
| 34 | +* source maps when `inline` using without fallback ([#269](https://github.com/webpack-contrib/worker-loader/issues/269)) ([5047abb](https://github.com/webpack-contrib/worker-loader/commit/5047abb2f9b97ff4706069716df8e718bee9de43)) |
| 35 | +* the `publicPath` options works fine with async web workers chunks |
| 36 | +* compatibility with webpack@5 ([#259](https://github.com/webpack-contrib/worker-loader/issues/259)) ([e0d9887](https://github.com/webpack-contrib/worker-loader/commit/e0d98876c6ee83bc48ea9589b38437590878e9d9)) |
| 37 | +* always use `self` as global object |
| 38 | +* compatibility with `webpack-dev-server` |
| 39 | +* increase performance |
| 40 | + |
| 41 | + |
| 42 | +## [2.0.0](https://github.com/webpack-contrib/worker-loader/compare/v1.1.1...v2.0.0) (2018-05-27) |
| 43 | + |
| 44 | +## Updates |
| 45 | + |
| 46 | +- refactor(index): remove `Tapable.apply` calls (#121) |
| 47 | +- docs: use ES6 import in TypeScript README example (#140) … |
| 48 | +- docs(README): add note about omitted hashes (`options.name`) (#131) |
| 49 | +- fix(package): homepage URL typo (#130) |
| 50 | + |
| 51 | +## Breaking Changes |
| 52 | + |
| 53 | +Drops support for Webpack versions < 3.0.0 |
| 54 | + |
5 | 55 | <a name="1.1.1"></a>
|
6 | 56 | ## [1.1.1](https://github.com/webpack-contrib/worker-loader/compare/v1.1.0...v1.1.1) (2018-02-25)
|
7 | 57 |
|
|
0 commit comments