webpack-contrib/html-loader
### [`v2.1.2`](https://togithub.com/webpack-contrib/html-loader/blob/master/CHANGELOG.md#212-httpsgithubcomwebpack-contribhtml-loadercomparev211v212-2021-03-09)
[Compare Source](https://togithub.com/webpack-contrib/html-loader/compare/v2.1.1...v2.1.2)
### [`v2.1.1`](https://togithub.com/webpack-contrib/html-loader/blob/master/CHANGELOG.md#211-httpsgithubcomwebpack-contribhtml-loadercomparev210v211-2021-02-24)
[Compare Source](https://togithub.com/webpack-contrib/html-loader/compare/v2.1.0...v2.1.1)
### [`v2.1.0`](https://togithub.com/webpack-contrib/html-loader/blob/master/CHANGELOG.md#210-httpsgithubcomwebpack-contribhtml-loadercomparev200v210-2021-02-20)
[Compare Source](https://togithub.com/webpack-contrib/html-loader/compare/v2.0.0...v2.1.0)
##### Features
- added support webpackIgnore comment ([#366](https://togithub.com/webpack-contrib/html-loader/issues/366)) ([ab57a28](https://togithub.com/webpack-contrib/html-loader/commit/ab57a28b6e27acfc75ad3f398ef916c780872ca0))
### [`v2.0.0`](https://togithub.com/webpack-contrib/html-loader/blob/master/CHANGELOG.md#200-httpsgithubcomwebpack-contribhtml-loadercomparev132v200-2021-02-14)
[Compare Source](https://togithub.com/webpack-contrib/html-loader/compare/v1.3.2...v2.0.0)
##### ⚠ BREAKING CHANGES
- `new URL('./source.ext', import.meta.url)` syntax is using for importing `sources` (i.e. `src`/`srcset`/etc) and the `esModule` option is `true` by default, you can disable it by setting the `esModule` option to `false`
- rename the `attributes` option to `sources`
- the `attributes.root` option was removed in favor [`resolve.roots`](https://webpack.js.org/configuration/resolve/#resolveroots)
- minimum supported `webpack` version is `5`
- migrate from `htmlparser2` to `parse5`
##### Features
- handle more attribute for `meta` and `link` tags ([348e4f5](https://togithub.com/webpack-contrib/html-loader/commit/348e4f5693d77cd5900e824ec13d730dc16c7e8f))
- allow to disable default sources ([#351](https://togithub.com/webpack-contrib/html-loader/issues/351)) ([480656f](https://togithub.com/webpack-contrib/html-loader/commit/480656f5bdd448cfa043391a0aab67b1cbd84f18))
##### Bug Fixes
- broken `src` with `#hash` ([#342](https://togithub.com/webpack-contrib/html-loader/issues/342)) ([d6590b0](https://togithub.com/webpack-contrib/html-loader/commit/d6590b081cb19ffb1fd397675977dda0b9dd04b9))
- handle `\` character ([#353](https://togithub.com/webpack-contrib/html-loader/issues/353)) ([c124fae](https://togithub.com/webpack-contrib/html-loader/commit/c124faee3b20362b78fed26700c271a4bbe54852))
- pass hash from request to other loaders ([#349](https://togithub.com/webpack-contrib/html-loader/issues/349)) ([e97d3c8](https://togithub.com/webpack-contrib/html-loader/commit/e97d3c858c70b9e13d4818b5f2ef2ac2d15df778))
##### [1.3.2](https://togithub.com/webpack-contrib/html-loader/compare/v1.3.1...v1.3.2) (2020-10-09)
##### Chore
- update `schema-utils`
##### [1.3.1](https://togithub.com/webpack-contrib/html-loader/compare/v1.3.0...v1.3.1) (2020-09-21)
##### Bug Fixes
- avoid removing redundant attributes ([#324](https://togithub.com/webpack-contrib/html-loader/issues/324)) ([ab299ac](https://togithub.com/webpack-contrib/html-loader/commit/ab299acd8784f96f9191988133fb74f72aaf89c8))
### [`v1.3.2`](https://togithub.com/webpack-contrib/html-loader/blob/master/CHANGELOG.md#132-httpsgithubcomwebpack-contribhtml-loadercomparev131v132-2020-10-09)
[Compare Source](https://togithub.com/webpack-contrib/html-loader/compare/v1.3.1...v1.3.2)
### [`v1.3.1`](https://togithub.com/webpack-contrib/html-loader/blob/master/CHANGELOG.md#131-httpsgithubcomwebpack-contribhtml-loadercomparev130v131-2020-09-21)
[Compare Source](https://togithub.com/webpack-contrib/html-loader/compare/v1.3.0...v1.3.1)
### [`v1.3.0`](https://togithub.com/webpack-contrib/html-loader/blob/master/CHANGELOG.md#130-httpsgithubcomwebpack-contribhtml-loadercomparev121v130-2020-08-25)
[Compare Source](https://togithub.com/webpack-contrib/html-loader/compare/v1.2.1...v1.3.0)
##### Features
- `...` syntax to extend default tag and attributes ([#317](https://togithub.com/webpack-contrib/html-loader/issues/317)) ([f02bb48](https://togithub.com/webpack-contrib/html-loader/commit/f02bb48a1124fc567b858234b1cf3d3e68bb6c76))
##### Bug Fixes
- handle `script` tags in SVG ([#315](https://togithub.com/webpack-contrib/html-loader/issues/315)) ([d021e42](https://togithub.com/webpack-contrib/html-loader/commit/d021e42fc830d36cf2ab3e9d483fd5723af23ba8))
##### [1.2.1](https://togithub.com/webpack-contrib/html-loader/compare/v1.2.0...v1.2.1) (2020-08-19)
##### Bug Fixes
- ignore template sources ([#314](https://togithub.com/webpack-contrib/html-loader/issues/314)) ([078d9bd](https://togithub.com/webpack-contrib/html-loader/commit/078d9bdc36d256d6a78ab0ae9b8ccddbef11393c))
### [`v1.2.1`](https://togithub.com/webpack-contrib/html-loader/blob/master/CHANGELOG.md#121-httpsgithubcomwebpack-contribhtml-loadercomparev120v121-2020-08-19)
[Compare Source](https://togithub.com/webpack-contrib/html-loader/compare/v1.2.0...v1.2.1)
### [`v1.2.0`](https://togithub.com/webpack-contrib/html-loader/blob/master/CHANGELOG.md#120-httpsgithubcomwebpack-contribhtml-loadercomparev110v120-2020-08-18)
[Compare Source](https://togithub.com/webpack-contrib/html-loader/compare/v1.1.0...v1.2.0)
##### Features
- support SVG tags ([#302](https://togithub.com/webpack-contrib/html-loader/issues/302)) ([1acd204](https://togithub.com/webpack-contrib/html-loader/commit/1acd20448dbe976b883597b135bb8ac9e1b71d1a))
##### Bug Fixes
- do not handle non standard `script` types ([ddad9f2](https://togithub.com/webpack-contrib/html-loader/commit/ddad9f2d6f5ab75fe2afd247bf55b1646c6e1c31))
- inline syntax for sources ([#310](https://togithub.com/webpack-contrib/html-loader/issues/310)) ([c247cfa](https://togithub.com/webpack-contrib/html-loader/commit/c247cfa9ad66281b28aef5397c8c2d2786f05867))
- linefeed characters in sources ([#311](https://togithub.com/webpack-contrib/html-loader/issues/311)) ([b8ee9ee](https://togithub.com/webpack-contrib/html-loader/commit/b8ee9ee0d60848e84e52fb117c1f3cdc2ebf08d7))
- minimize is more safely ([#304](https://togithub.com/webpack-contrib/html-loader/issues/304)) ([03152b1](https://togithub.com/webpack-contrib/html-loader/commit/03152b1d3b807a287d84302f6a9987ceb22d395c))
- perf ([#300](https://togithub.com/webpack-contrib/html-loader/issues/300)) ([d69f259](https://togithub.com/webpack-contrib/html-loader/commit/d69f259d2a6b4bc9ba9c163fd2d70989c3f3a6ff))
### [`v1.1.0`](https://togithub.com/webpack-contrib/html-loader/blob/master/CHANGELOG.md#110-httpsgithubcomwebpack-contribhtml-loadercomparev100v110-2020-04-02)
[Compare Source](https://togithub.com/webpack-contrib/html-loader/compare/v1.0.0...v1.1.0)
##### Features
- added support for an async functions to the `preprocessor` option ([#272](https://togithub.com/webpack-contrib/html-loader/issues/272)) ([e59324b](https://togithub.com/webpack-contrib/html-loader/commit/e59324b929557a9e1da5e1713748351cf37efdb1))
- allowed to handle an attribute without a tag ([#273](https://togithub.com/webpack-contrib/html-loader/issues/273)) ([c0d6d5b](https://togithub.com/webpack-contrib/html-loader/commit/c0d6d5b9338af219a5cd81779ee2bcd9254420ed))
##### Bug Fixes
- hash processing improved ([#275](https://togithub.com/webpack-contrib/html-loader/issues/275)) ([74d2c60](https://togithub.com/webpack-contrib/html-loader/commit/74d2c607c519bdaad995a51e74b6317c8cfaad14))
### [`v1.0.0`](https://togithub.com/webpack-contrib/html-loader/blob/master/CHANGELOG.md#100-httpsgithubcomryanclarkhtml-loadercomparev055v100-2020-03-19)
[Compare Source](https://togithub.com/webpack-contrib/html-loader/compare/v0.5.5...v1.0.0)
##### ⚠ BREAKING CHANGES
- for parsing HTML now we use `htmlparser2` package
- the `attrs` option was renamed to the `attributes` option
- the `interpolate` option was removed, please consider migration on the [`preprocessor`](https://togithub.com/webpack-contrib/html-loader#preprocessor)
- the `minimize` option is `true` by default in `production` mode. You need to list all options for `html-minifier` if you use `object` notation.
- uppercase tags and uppercase attributes are handled by default
- the `root` option was moved under the `attributes` option, please look at the [documentation](https://togithub.com/webpack-contrib/html-loader#object)
- emit an error on broken HTML syntax when minimization is enabled
- By default, now we process the following tags with attributes:
- the `src` attribute of the `audio` tag
- the `src` attribute of the `embed` tag
- the `src` attribute of the `img` tag
- the `srcset` attribute of the `img` tag
- the `src` attribute of the `input` tag
- the `href` attribute of the `link` tag (only for stylesheets)
- the `data` attribute of the `object` tag
- the `src` attribute of the `script` tag
- the `src` attribute of the `source` tag
- the `srcset` attribute of the `source` tag
- the `src` attribute of the `track` tag
- the `poster` attribute of the `video` tag
- the `src` attribute of the `video` tag
- the `attributes` option should be `Boolean` or `Object`, please look at the [documentation](https://togithub.com/webpack-contrib/html-loader#object)
- the `exportAsDefault` option were removed in favor the `esModules` option
- the `exportAsEs6Default` option were removed in favor the `esModules` option
##### Features
- handle more tags and attributes
- added the `preprocessor` option
- added the `esModule` option
- add the `rulFilter` option for filtering some of urls, please look at the [documentation](https://togithub.com/webpack-contrib/html-loader#urlfilter)
- allow to setup how to handle and filter tags and attributes, please look at the [documentation](https://togithub.com/webpack-contrib/html-loader#list)
- improve error reporting
##### Bug Fixes
- adding quotes when necessary for unquoted sources
- do not handle empty attributes
- escape `\u2028` and `\u2029` characters
- handle only valid srcset tags
- parser tags and attributes according spec
- reduce `import`/`require` count
- reduce size of generated modules
- respect `#hash` in sources
- support ES6 syntax in `script` tags when minimize
- support ES6 import of urls
Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, click this checkbox.
This PR contains the following updates:
^0.5.5
->^2.0.0
Release Notes
webpack-contrib/html-loader
### [`v2.1.2`](https://togithub.com/webpack-contrib/html-loader/blob/master/CHANGELOG.md#212-httpsgithubcomwebpack-contribhtml-loadercomparev211v212-2021-03-09) [Compare Source](https://togithub.com/webpack-contrib/html-loader/compare/v2.1.1...v2.1.2) ### [`v2.1.1`](https://togithub.com/webpack-contrib/html-loader/blob/master/CHANGELOG.md#211-httpsgithubcomwebpack-contribhtml-loadercomparev210v211-2021-02-24) [Compare Source](https://togithub.com/webpack-contrib/html-loader/compare/v2.1.0...v2.1.1) ### [`v2.1.0`](https://togithub.com/webpack-contrib/html-loader/blob/master/CHANGELOG.md#210-httpsgithubcomwebpack-contribhtml-loadercomparev200v210-2021-02-20) [Compare Source](https://togithub.com/webpack-contrib/html-loader/compare/v2.0.0...v2.1.0) ##### Features - added support webpackIgnore comment ([#366](https://togithub.com/webpack-contrib/html-loader/issues/366)) ([ab57a28](https://togithub.com/webpack-contrib/html-loader/commit/ab57a28b6e27acfc75ad3f398ef916c780872ca0)) ### [`v2.0.0`](https://togithub.com/webpack-contrib/html-loader/blob/master/CHANGELOG.md#200-httpsgithubcomwebpack-contribhtml-loadercomparev132v200-2021-02-14) [Compare Source](https://togithub.com/webpack-contrib/html-loader/compare/v1.3.2...v2.0.0) ##### ⚠ BREAKING CHANGES - `new URL('./source.ext', import.meta.url)` syntax is using for importing `sources` (i.e. `src`/`srcset`/etc) and the `esModule` option is `true` by default, you can disable it by setting the `esModule` option to `false` - rename the `attributes` option to `sources` - the `attributes.root` option was removed in favor [`resolve.roots`](https://webpack.js.org/configuration/resolve/#resolveroots) - minimum supported `webpack` version is `5` - migrate from `htmlparser2` to `parse5` ##### Features - handle more attribute for `meta` and `link` tags ([348e4f5](https://togithub.com/webpack-contrib/html-loader/commit/348e4f5693d77cd5900e824ec13d730dc16c7e8f)) - allow to disable default sources ([#351](https://togithub.com/webpack-contrib/html-loader/issues/351)) ([480656f](https://togithub.com/webpack-contrib/html-loader/commit/480656f5bdd448cfa043391a0aab67b1cbd84f18)) ##### Bug Fixes - broken `src` with `#hash` ([#342](https://togithub.com/webpack-contrib/html-loader/issues/342)) ([d6590b0](https://togithub.com/webpack-contrib/html-loader/commit/d6590b081cb19ffb1fd397675977dda0b9dd04b9)) - handle `\` character ([#353](https://togithub.com/webpack-contrib/html-loader/issues/353)) ([c124fae](https://togithub.com/webpack-contrib/html-loader/commit/c124faee3b20362b78fed26700c271a4bbe54852)) - pass hash from request to other loaders ([#349](https://togithub.com/webpack-contrib/html-loader/issues/349)) ([e97d3c8](https://togithub.com/webpack-contrib/html-loader/commit/e97d3c858c70b9e13d4818b5f2ef2ac2d15df778)) ##### [1.3.2](https://togithub.com/webpack-contrib/html-loader/compare/v1.3.1...v1.3.2) (2020-10-09) ##### Chore - update `schema-utils` ##### [1.3.1](https://togithub.com/webpack-contrib/html-loader/compare/v1.3.0...v1.3.1) (2020-09-21) ##### Bug Fixes - avoid removing redundant attributes ([#324](https://togithub.com/webpack-contrib/html-loader/issues/324)) ([ab299ac](https://togithub.com/webpack-contrib/html-loader/commit/ab299acd8784f96f9191988133fb74f72aaf89c8)) ### [`v1.3.2`](https://togithub.com/webpack-contrib/html-loader/blob/master/CHANGELOG.md#132-httpsgithubcomwebpack-contribhtml-loadercomparev131v132-2020-10-09) [Compare Source](https://togithub.com/webpack-contrib/html-loader/compare/v1.3.1...v1.3.2) ### [`v1.3.1`](https://togithub.com/webpack-contrib/html-loader/blob/master/CHANGELOG.md#131-httpsgithubcomwebpack-contribhtml-loadercomparev130v131-2020-09-21) [Compare Source](https://togithub.com/webpack-contrib/html-loader/compare/v1.3.0...v1.3.1) ### [`v1.3.0`](https://togithub.com/webpack-contrib/html-loader/blob/master/CHANGELOG.md#130-httpsgithubcomwebpack-contribhtml-loadercomparev121v130-2020-08-25) [Compare Source](https://togithub.com/webpack-contrib/html-loader/compare/v1.2.1...v1.3.0) ##### Features - `...` syntax to extend default tag and attributes ([#317](https://togithub.com/webpack-contrib/html-loader/issues/317)) ([f02bb48](https://togithub.com/webpack-contrib/html-loader/commit/f02bb48a1124fc567b858234b1cf3d3e68bb6c76)) ##### Bug Fixes - handle `script` tags in SVG ([#315](https://togithub.com/webpack-contrib/html-loader/issues/315)) ([d021e42](https://togithub.com/webpack-contrib/html-loader/commit/d021e42fc830d36cf2ab3e9d483fd5723af23ba8)) ##### [1.2.1](https://togithub.com/webpack-contrib/html-loader/compare/v1.2.0...v1.2.1) (2020-08-19) ##### Bug Fixes - ignore template sources ([#314](https://togithub.com/webpack-contrib/html-loader/issues/314)) ([078d9bd](https://togithub.com/webpack-contrib/html-loader/commit/078d9bdc36d256d6a78ab0ae9b8ccddbef11393c)) ### [`v1.2.1`](https://togithub.com/webpack-contrib/html-loader/blob/master/CHANGELOG.md#121-httpsgithubcomwebpack-contribhtml-loadercomparev120v121-2020-08-19) [Compare Source](https://togithub.com/webpack-contrib/html-loader/compare/v1.2.0...v1.2.1) ### [`v1.2.0`](https://togithub.com/webpack-contrib/html-loader/blob/master/CHANGELOG.md#120-httpsgithubcomwebpack-contribhtml-loadercomparev110v120-2020-08-18) [Compare Source](https://togithub.com/webpack-contrib/html-loader/compare/v1.1.0...v1.2.0) ##### Features - support SVG tags ([#302](https://togithub.com/webpack-contrib/html-loader/issues/302)) ([1acd204](https://togithub.com/webpack-contrib/html-loader/commit/1acd20448dbe976b883597b135bb8ac9e1b71d1a)) ##### Bug Fixes - do not handle non standard `script` types ([ddad9f2](https://togithub.com/webpack-contrib/html-loader/commit/ddad9f2d6f5ab75fe2afd247bf55b1646c6e1c31)) - inline syntax for sources ([#310](https://togithub.com/webpack-contrib/html-loader/issues/310)) ([c247cfa](https://togithub.com/webpack-contrib/html-loader/commit/c247cfa9ad66281b28aef5397c8c2d2786f05867)) - linefeed characters in sources ([#311](https://togithub.com/webpack-contrib/html-loader/issues/311)) ([b8ee9ee](https://togithub.com/webpack-contrib/html-loader/commit/b8ee9ee0d60848e84e52fb117c1f3cdc2ebf08d7)) - minimize is more safely ([#304](https://togithub.com/webpack-contrib/html-loader/issues/304)) ([03152b1](https://togithub.com/webpack-contrib/html-loader/commit/03152b1d3b807a287d84302f6a9987ceb22d395c)) - perf ([#300](https://togithub.com/webpack-contrib/html-loader/issues/300)) ([d69f259](https://togithub.com/webpack-contrib/html-loader/commit/d69f259d2a6b4bc9ba9c163fd2d70989c3f3a6ff)) ### [`v1.1.0`](https://togithub.com/webpack-contrib/html-loader/blob/master/CHANGELOG.md#110-httpsgithubcomwebpack-contribhtml-loadercomparev100v110-2020-04-02) [Compare Source](https://togithub.com/webpack-contrib/html-loader/compare/v1.0.0...v1.1.0) ##### Features - added support for an async functions to the `preprocessor` option ([#272](https://togithub.com/webpack-contrib/html-loader/issues/272)) ([e59324b](https://togithub.com/webpack-contrib/html-loader/commit/e59324b929557a9e1da5e1713748351cf37efdb1)) - allowed to handle an attribute without a tag ([#273](https://togithub.com/webpack-contrib/html-loader/issues/273)) ([c0d6d5b](https://togithub.com/webpack-contrib/html-loader/commit/c0d6d5b9338af219a5cd81779ee2bcd9254420ed)) ##### Bug Fixes - hash processing improved ([#275](https://togithub.com/webpack-contrib/html-loader/issues/275)) ([74d2c60](https://togithub.com/webpack-contrib/html-loader/commit/74d2c607c519bdaad995a51e74b6317c8cfaad14)) ### [`v1.0.0`](https://togithub.com/webpack-contrib/html-loader/blob/master/CHANGELOG.md#100-httpsgithubcomryanclarkhtml-loadercomparev055v100-2020-03-19) [Compare Source](https://togithub.com/webpack-contrib/html-loader/compare/v0.5.5...v1.0.0) ##### ⚠ BREAKING CHANGES - for parsing HTML now we use `htmlparser2` package - the `attrs` option was renamed to the `attributes` option - the `interpolate` option was removed, please consider migration on the [`preprocessor`](https://togithub.com/webpack-contrib/html-loader#preprocessor) - the `minimize` option is `true` by default in `production` mode. You need to list all options for `html-minifier` if you use `object` notation. - uppercase tags and uppercase attributes are handled by default - the `root` option was moved under the `attributes` option, please look at the [documentation](https://togithub.com/webpack-contrib/html-loader#object) - emit an error on broken HTML syntax when minimization is enabled - By default, now we process the following tags with attributes: - the `src` attribute of the `audio` tag - the `src` attribute of the `embed` tag - the `src` attribute of the `img` tag - the `srcset` attribute of the `img` tag - the `src` attribute of the `input` tag - the `href` attribute of the `link` tag (only for stylesheets) - the `data` attribute of the `object` tag - the `src` attribute of the `script` tag - the `src` attribute of the `source` tag - the `srcset` attribute of the `source` tag - the `src` attribute of the `track` tag - the `poster` attribute of the `video` tag - the `src` attribute of the `video` tag - the `attributes` option should be `Boolean` or `Object`, please look at the [documentation](https://togithub.com/webpack-contrib/html-loader#object) - the `exportAsDefault` option were removed in favor the `esModules` option - the `exportAsEs6Default` option were removed in favor the `esModules` option ##### Features - handle more tags and attributes - added the `preprocessor` option - added the `esModule` option - add the `rulFilter` option for filtering some of urls, please look at the [documentation](https://togithub.com/webpack-contrib/html-loader#urlfilter) - allow to setup how to handle and filter tags and attributes, please look at the [documentation](https://togithub.com/webpack-contrib/html-loader#list) - improve error reporting ##### Bug Fixes - adding quotes when necessary for unquoted sources - do not handle empty attributes - escape `\u2028` and `\u2029` characters - handle only valid srcset tags - parser tags and attributes according spec - reduce `import`/`require` count - reduce size of generated modules - respect `#hash` in sources - support ES6 syntax in `script` tags when minimize - support ES6 import of urlsConfiguration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.