html-webpack-plugin breaking changes
html-webpack-plugin 5.6.1 (October 17, 2024) is its newest release with breaking changes. The first: Signature changed Hooks.alterAssetTags. Every breaking API change we have recorded in html-webpack-plugin on npm: 126 breaking changes in 14 versions. Below, its 14 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 5.6.8, released July 25, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
- From 4.4.1 to 5.6.1: 59 breaking changes in 8 versions.
- From 3.0.0 to 5.6.1: 110 breaking changes in 13 versions.
html-webpack-plugin 5.6.1 breaking changes
- Signature changed
Hooks.alterAssetTags
Was alterAssetTags: AsyncSeriesWaterfallHook<{assetTags: {scripts: HtmlTagObject[]; styles: HtmlTagObject[]; meta: HtmlTagObject[];}; publicPath: string, outputName: string; plugin: HtmlWebpackPlugin;}>; now alterAssetTags... npmjs.com
html-webpack-plugin 5.6.0 breaking changes
- Signature changed
Options.scriptLoading
Was scriptLoading?: "blocking" | "defer" | "module"; now scriptLoading?: "blocking" | "defer" | "module" | "systemjs-module". npmjs.com - Signature changed
ProcessedOptions.scriptLoading
Was scriptLoading?: "blocking" | "defer" | "module"; now scriptLoading?: "blocking" | "defer" | "module" | "systemjs-module". npmjs.com
html-webpack-plugin 5.5.4 breaking changes
- Signature changed
Options.templateParameters
Was templateParameters?: | false | ((compilation: any, assets: {publicPath: string; js: Array<string>; css: Array<string>; manifest?: string; favicon?: string;}, assetTags: {headTags: HtmlTagObject[]; bodyTags: HtmlTagObject[];}, options... npmjs.com - Signature changed
ProcessedOptions.templateParameters
Was templateParameters?: | false | ((compilation: any, assets: {publicPath: string; js: Array<string>; css: Array<string>; manifest?: string; favicon?: string;}, assetTags: {headTags: HtmlTagObject[]; bodyTags: HtmlTagObject[];}, options... npmjs.com - Signature changed
TemplateParameter.compilation
Was compilation: any; now compilation: Compilation. npmjs.com
html-webpack-plugin 5.5.3 breaking changes
- Signature changed
Options.chunksSortMode
Was chunksSortMode?: | "auto" | "manual" | ((entryNameA: string, entryNameB: string) => number); now chunksSortMode?: | "auto" | "none" | "manual" | ((entryNameA: string, entryNameB: string) => number). npmjs.com - Signature changed
ProcessedOptions.chunksSortMode
Was chunksSortMode?: | "auto" | "manual" | ((entryNameA: string, entryNameB: string) => number); now chunksSortMode?: | "auto" | "none" | "manual" | ((entryNameA: string, entryNameB: string) => number). npmjs.com
html-webpack-plugin 5.5.0 breaking changes
- Signature changed
Options.scriptLoading
Was scriptLoading?: "blocking" | "defer"; now scriptLoading?: "blocking" | "defer" | "module". npmjs.com - Signature changed
ProcessedOptions.scriptLoading
Was scriptLoading?: "blocking" | "defer"; now scriptLoading?: "blocking" | "defer" | "module". npmjs.com
html-webpack-plugin 5.3.1 breaking changes
- Removed
loader-utils
The plugin no longer depends on loader-utils internally. Code that relied on loader-utils being pulled in transitively through html-webpack-plugin must now install it directly. github.com
Older versions
8 older versions, each with its first changes. Sign up to see every change
Show 8 older versions
html-webpack-plugin 5.1.0 breaking changes
- Behavior changed
Attributes with null, undefined or false values are now left out of generated HTML tags. Check any template code that relied on those attributes being rendered. github.com - Signature changed
HtmlTagObject.attributes
Was attributes: {[attributeName: string]: string | boolean;}; now attributes: {[attributeName: string]: string | boolean | null | undefined;}. npmjs.com
html-webpack-plugin 5.0.0 breaking changes
- Removed
Version 5 no longer supports webpack 4 or Node.js 10 and older. Stay on html-webpack-plugin 4.x if you need them. github.com - Removed
appcache-webpack-plugin
Support for appcache-webpack-plugin has been removed. github.com
And 44 more in this version.
html-webpack-plugin 4.4.1 breaking changes
- Signature changed
createHtmlTagObject
Was static createHtmlTagObject(tagName: string, attributes?: {[attributeName: string]: string | boolean}, innerHTML?: string): HtmlTagObject; now static createHtmlTagObject(tagName: string, attributes?: {[attributeName: string]: string |... npmjs.com
html-webpack-plugin 4.2.2 breaking changes
- Behavior changed
Generated favicon link tags use the modern rel value instead of the older one. Code that matches the old rel attribute in the generated HTML may need updating. github.com
html-webpack-plugin 4.2.0 breaking changes
- Signature changed
Options.templateContent
Was templateContent: | false | string | Promise<string>; now templateContent: | false | string | ((templateParameters: {[option: string]: any}) => (string | Promise<string>)) | Promise<string>. npmjs.com - Signature changed
ProcessedOptions.templateContent
Was templateContent: | false | string | Promise<string>; now templateContent: | false | string | ((templateParameters: {[option: string]: any}) => (string | Promise<string>)) | Promise<string>. npmjs.com
html-webpack-plugin 4.0.2 breaking changes
- Default changed
Trailing slashes on self-closing tags are no longer removed by default. If your build depends on the previous output, you must configure the plugin to remove them yourself. github.com
html-webpack-plugin 4.0.0 breaking changes
- Removed
Use Webpack 4 or later. github.com - Removed
Config
Use Options instead. npmjs.com
And 44 more in this version.
html-webpack-plugin 3.0.0 breaking changes
- Removed
Node.js versions older than 6 are no longer supported. Users on those versions must upgrade Node.js before using this release. github.com - Removed
Chunk
Chunk was removed in html-webpack-plugin 3.0.0 npmjs.com
And 14 more in this version.
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.