Skip to content

v5.0.0-alpha.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@jscheid jscheid released this 19 Jan 22:03
· 0 commits to master since this release
b7e6371

BREAKING CHANGES

  • Drop compatibility with Webpack < 5.12.0.
  • Drop compatibility with Node < 10.
  • Drop compatibility with html-webpack-plugin < 5.0.0-beta.1.
  • Drop default export, new named export SubresourceIntegrityPlugin.
  • When integrity for an asset cannot be determined this now emits an error. Previously, a warning was emitted.
  • Option enabled now defaults to "auto", which enables the plugin in all Webpack modes except for development. Previously, the plugin was disabled by default in all modes.

Other Changes

  • Compatibility with html-webpack-plugin 5 and new Webpack 5 asset processing pipeline.
  • Option hashFuncNames now has a default: ["sha384"].
  • All code has been rewritten in TypeScript. We now include TypeScript type definitions inside the package.