# html-loader changelog
> Exports HTML as a string and resolves the assets it references.
- Vendor: webpack
- Category: Developer Tools
- Official site: https://github.com/webpack/html-loader
- Tracked by: What's New (https://whatsnew.fyi/product/html-loader)
- Harvested from: GitHub (webpack/html-loader)
- Entries below: 10 (newest first)
What's New is an index, not a publisher: every entry below links to the vendor's own release notes, which are the authoritative source. Entries are labelled where they are hand-curated sample data, pre-releases, or drawn from a secondary source such as a developer blog.
Reuse: the summaries, labels and curation here are © What's New. Quote freely with attribution and a link back; wholesale republication of the corpus is not permitted — terms: https://whatsnew.fyi/terms. The vendors' own release notes remain their publishers'.
## Releases
### v5.1.0
- Date: 2024-07-25
- Version: v5.1.0
- Original notes: https://github.com/webpack/html-loader/releases/tag/v5.1.0
- Permalink: https://whatsnew.fyi/product/html-loader/releases/v5.1.0
- **added** — Add the postprocessor option
- **changed** — Reduce runtime code
- **added** — Support absolute URLs and DataURI
- **changed** — Use template literals in code when supported
##### [5.1.0](https://github.com/webpack-contrib/html-loader/compare/v5.0.0...v5.1.0) (2024-07-25)
###### Features
* added the `postprocessor` option ([#518](https://github.com/webpack-contrib/html-loader/issues/518)) ([536a204](https://github.com/webpack-contrib/html-loader/commit/536a204696c655b500c4805db8e857ac28aab7ed))
* reduce runtime code ([61f9a69](https://github.com/webpack-contrib/html-loader/commit/61f9a69a60196abdc85afaa8658faf7736cf08a9))
* support absolute URLs and DataURI ([#519](https://github.com/webpack-contrib/html-loader/issues/519)) ([cc34b06](https://github.com/webpack-contrib/html-loader/commit/cc34b068accee66d2f8ef10fb03ed90b866395db))
* using template literals in code when it supported ([#520](https://github.com/webpack-contrib/html-loader/issues/520)) ([6fa80d5](https://github.com/webpack-contrib/html-loader/commit/6fa80d51fed22613c39ffb240a0e875c9151b5b6))
### v5.0.0
- Date: 2024-01-16
- Version: v5.0.0
- Original notes: https://github.com/webpack/html-loader/releases/tag/v5.0.0
- Permalink: https://whatsnew.fyi/product/html-loader/releases/v5.0.0
- **changed** — minimum supported Node.js version is 18.12.0
##### [5.0.0](https://github.com/webpack-contrib/html-loader/compare/v4.2.0...v5.0.0) (2024-01-16)
###### ⚠ BREAKING CHANGES
* minimum supported Node.js version is `18.12.0` ([#504](https://github.com/webpack-contrib/html-loader/issues/504)) ([c82cfea](https://github.com/webpack-contrib/html-loader/commit/c82cfea0913aaf303d044c3a16f9b631dce5bc76))
### v4.2.0
- Date: 2022-09-22
- Version: v4.2.0
- Original notes: https://github.com/webpack/html-loader/releases/tag/v4.2.0
- Permalink: https://whatsnew.fyi/product/html-loader/releases/v4.2.0
- **changed** — Update html minifier
##### [4.2.0](https://github.com/webpack-contrib/html-loader/compare/v4.1.0...v4.2.0) (2022-09-22)
###### Features
* update html minifier ([#462](https://github.com/webpack-contrib/html-loader/issues/462)) ([27a6caf](https://github.com/webpack-contrib/html-loader/commit/27a6cafeabbfd506d7e2571ea5918dd8e8cb8d29))
### v4.1.0
- Date: 2022-07-11
- Version: v4.1.0
- Original notes: https://github.com/webpack/html-loader/releases/tag/v4.1.0
- Permalink: https://whatsnew.fyi/product/html-loader/releases/v4.1.0
- **added** — Add the scriptingEnabled option
##### [4.1.0](https://github.com/webpack-contrib/html-loader/compare/v4.0.0...v4.1.0) (2022-07-11)
###### Features
* added the `scriptingEnabled` option ([#448](https://github.com/webpack-contrib/html-loader/issues/448)) ([6ed9f9c](https://github.com/webpack-contrib/html-loader/commit/6ed9f9c8df1e8ac2722bed01a9d28b660d64e744))
### v3.1.2
- Date: 2022-06-15
- Version: v3.1.2
- Original notes: https://github.com/webpack/html-loader/releases/tag/v3.1.2
- Permalink: https://whatsnew.fyi/product/html-loader/releases/v3.1.2
##### Fix
- broken release
### v4.0.0
- Date: 2022-06-15
- Version: v4.0.0
- Original notes: https://github.com/webpack/html-loader/releases/tag/v4.0.0
- Permalink: https://whatsnew.fyi/product/html-loader/releases/v4.0.0
- **changed** — minimum supported Node.js version is 14.15.0
- **changed** — update parse5 to 7.0.0
- **fixed** — handle text with