Removed support for the webpack-subresource-integrity plugin,
because it works not optimized, contains Webpack deprecated code
and the current Release Candidate version not works more without the html-webpack-plugin
what is the BREAKING CHANGE and it will not works with the html-bundler-webpack-plugin plugin.
Added support for subresource integrity independent of other plugins.
It was implemented own very compact, optimized and fast code to generate integrity for link and script tags.
CHANGED behavior: the integrity option defaults is now false (in v2.11.0 was auto using webpack-subresource-integrity plugin).
Extended the integrity option values with the object to pass additional hashFunctions option.
Bug Fixes
Remove comments of node module imported in dynamic imported chunks.
Fixed correct content hash in the output JS filename when license comment is removed.
Added "Auto generate integrity hash for link and script tags" example View in browser | source
v2.9.0
Cumulative Release v2.7.0 - v2.9.0
Features
Added experimental support the Webpack cache.type as filesystem. This is yet an alpha version.
You can try it, but if that doesn't work, just use the default cache.type as memory.
Removes the json5 dependency, take only the parser code from this package, remove unused code from it and optimize it for use with the plugin.
Added watching for changes (add/remove/rename) in handlebars helpers without restarting Webpack.
Added js.inline.chunk and js.inline.source options to inline only js chunks matching regular expressions.
Changed the default value of the hotUpdate option to false. This is not breaking change.
If you already have a js file, this setting should be false as Webpack automatically injects the hot update code into the compiled js file. Enable this option only if you don't have a referenced source file of a script in a html template.
feat: add the integrityHashes hook to allow retrieving the integrity values
test: add tests for the integrityHashes hook
docs: update README
2.13.0 (2023-09-16)
feat: add the beforePreprocessor callback option, called right before the preprocessor
test: add tests for new option beforePreprocessor
docs: update README
2.12.0 (2023-09-15)
feat: remove support for the webpack-subresource-integrity plugin,
because it works not optimized and contains Webpack deprecated code
feat: add support for subresource integrity independent of other plugins.
It was implemented own very compact, optimized and fast code to generate integrity for link and script tags.
feat(changed behavior): the integrity option defaults is now false (in v2.11.0 was auto using webpack-subresource-integrity plugin)
feat: extend the integrity option values with the object to pass additional hashFunctions option
refactor: optimize code and improve performance for html parsing
fix: remove comments of node module imported in dynamic imported chunks
fix: correct content hash in the output JS filename when license comment is removed
test: add tests for integrity
test: remove the test strategy for node 14 on GitHub because the generated hashed test filenames are different from nodes 16, 18, 20
chore: update dev dependencies
docs: update README
2.11.0 (2023-09-05)
feat: add support for the webpack-subresource-integrity plugin to include the subresource integrity hash
feat: add the integrity option to enable/disable the support for webpack-subresource-integrity plugin
2.10.1 (2023-09-02)
fix: avoid generation of empty css files when source styles are imported in TS file
2.10.0 (2023-09-01)
feat: add Handlebars helpers assign, partial and block to extend a template layout with blocks
chore: add handlebars-layout example
docs: update README
2.9.0 (2023-08-27)
feat(experimental): add support the Webpack cache.type as filesystem. This is yet an alpha version of the feature.
You can try it, but if that doesn't work, just use the default cache.type as memory.
feat: remove the json5 dependency, take only the parser code from this package, remove unused code from it and optimize it for use with the plugin
fix: resolve output asset filenames without the needless index .1, like index.1.js, when used the same base filename for template and js files.
For example, if the source files with the same base name src/index.html and src/index.js were used, then dist/index.html and dist/index.1.js were created,
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps html-bundler-webpack-plugin from 1.18.0 to 2.14.0.
Release notes
Sourced from html-bundler-webpack-plugin's releases.
... (truncated)
Changelog
Sourced from html-bundler-webpack-plugin's changelog.
... (truncated)
Commits
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show