Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update webpack to v5 (major) #27

Open
wants to merge 1 commit into
base: development
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented May 3, 2020

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
html-webpack-plugin 3.2.0 -> 5.6.0 age adoption passing confidence
webpack 4.41.2 -> 5.91.0 age adoption passing confidence
webpack-cli (source) 3.3.10 -> 5.1.4 age adoption passing confidence
webpack-dev-server 3.9.0 -> 5.0.4 age adoption passing confidence

Release Notes

jantimon/html-webpack-plugin (html-webpack-plugin)

v5.6.0

Compare Source

Features
  • add @rspack/core as an optional peer dependency (#​1829) (56ff3ae)
  • Added support type=systemjs-module via the scriptLoading option (#​1822) (7effc30)
Bug Fixes
5.5.4 (2023-12-06)
Bug Fixes
5.5.3 (2023-06-10)
Bug Fixes
5.5.2 (2023-06-08)
Bug Fixes
5.5.1 (2023-04-15)
Bug Fixes
  • perf: defer loading of pretty-error to improve startup time (#​1789) (988709d)

v5.5.4

Compare Source

v5.5.3

Compare Source

v5.5.2

Compare Source

v5.5.1

Compare Source

v5.5.0

Compare Source

Features
5.4.0 (2021-10-15)
Features
5.3.2 (2021-06-22)
Bug Fixes
  • update lodash and pretty error (9c7fba0
5.3.1 (2021-03-09)
Bug Fixes
  • remove loader-utils from plugin core (82d0ee8)

v5.4.0

Compare Source

v5.3.2

Compare Source

v5.3.1

Compare Source

v5.3.0

Compare Source

Features
  • allow to modify the interpolation options in webpack config (d654f5b)
  • drop loader-utils dependency (41d7a50)

v5.2.0

Compare Source

Features

v5.1.0

Compare Source

Features
  • omit html tag attribute with null/undefined/false value (aa6e78d), closes #​1598

v5.0.0

Compare Source

⚠ BREAKING CHANGES
  • Drop support for webpack 4 and node <= 10 - For older webpack or node versions please use html-webpack-plugin 4.x
  • Entry javascript resources are now being loaded deferred in the <head> tag to improve the page load performance by default - You can set the scriptLoading option to 'blocking' to keep the previous behaviour
  • Setting publicPath to '' (an empty string) will no longer calculate a relative path from the html file to the assets anymore - You can set the publicPath option to 'auto' to keep the previous behaviour
  • Plugins for html-webpack-plugin which add additional assetTags should provide a meta attribute
  • Drop support for appcache-webpack-plugin
Features
  • drop webpack 4 and node <= 10 support to make use of the latest APIs (b7a9e8f)
  • use the new webpack 5 APIs and create html files during the new webpack.Compilation.PROCESS_ASSETS_STAGE_ADDITIONS compilation stage (8964bc4, b6895cb, a97234e, 1b59e09, 4fca596, ed64a6b, 86245db, 50b3bec, c697725)
  • allow generating one file per chunk with the new '[name]' placeholder for the filename option (cd5bd2a, 3d9ff48)
  • the filename option can now be a function (c5beb4b)
  • add support for 'auto' public paths inside templates (a059fcf, b09b439)
  • use defer as default script loading mechanism (35b6b87)
  • allow to set publicPath to an empty string '' (5ea7de4)
  • improve typings (197ddd8)
  • provide public path to the alterAssetTagGroups hook (1b54dfb)
  • provide public path to the alterAssetTags hook (b754626)
  • use thisCompilation in child compiler for faster builds (1d59e9a)
  • export new major in static property (8b692bd)
  • reduce dependencies (8c28aaa, 56e633f)
Bug Fixes
  • emit files on every build to work properly with plugins like the
    clean-webpack-plugin (6b3d087)
  • generate html files even if no webpack entry exists (2693dfa)
  • keep binary format when adding assets (7e2b208), closes #​1537

v4.5.2

Compare Source

Bug Fixes
  • more robust variable value extraction to add support for webpack >= 5.22.0 (1aabaf9)
4.5.1 (2021-01-03)
Bug Fixes
  • inject javascripts in the tag for inject:true and scriptLoading:'defer' (4f7064e)

v4.5.1

Compare Source

v4.5.0

Compare Source

Features
  • Add publicPath option to overrule the default path generation (#​1516) (19b5122)
  • update webpack dependency range to allow installing webpack 5 beta (f3ccdd5), closes #​1504

4.4.1 (2020-08-30)

Bug Fixes

v4.4.1

Compare Source

Bug Fixes

v4.4.0

Compare Source

Bug Fixes
Features
  • added v5 compilation support and deleted depreciation warnings (4ae7be8), closes #​1454

v4.3.0

Compare Source

Features
  • Allow to use console.log inside templates (c3f2fdc)

4.2.2 (2020-04-30)

Bug Fixes
  • Prevent "cannot read property info of undefined" when reading meta information from assets (253ce30)
  • use modern icon tag rel attribute for favicons (c40dd85)

4.2.1 (2020-04-28)

Bug Fixes
  • don't add dependencies twice to the webpack 5 watcher api (ceafe14)
  • prevent scripts marked as hotModuleReplacement from being added to the html file (119252a)

v4.2.2

Compare Source

Bug Fixes
  • Prevent "cannot read property info of undefined" when reading meta information from assets (253ce30)
  • use modern icon tag rel attribute for favicons (c40dd85)

v4.2.1

Compare Source

Bug Fixes
  • don't add dependencies twice to the webpack 5 watcher api (ceafe14)
  • prevent scripts marked as hotModuleReplacement from being added to the html file (119252a)

v4.2.0

Compare Source

Features

v4.1.0

Compare Source

Features
  • Add webpack 5 support (39c38a4)
  • Allow webpack 5 as peer dependency (9c571e2)

4.0.4 (2020-04-01)

Bug Fixes

4.0.3 (2020-03-28)

Bug Fixes
  • add webpack, tapable and html-minifier-terser as dependencies because of types.d.ts (238da81)

4.0.2 (2020-03-26)

Bug Fixes
  • don't remove trailing slashes from self closing tags by default (2281e4b)

4.0.1 (2020-03-23)

Bug Fixes
  • update typedefs to match with html-minifier-terser (2698c7e)

v4.0.4

Compare Source

Bug Fixes

v4.0.3

Compare Source

Bug Fixes
  • add webpack, tapable and html-minifier-terser as dependencies because of types.d.ts (238da81)

v4.0.2

Compare Source

Bug Fixes
  • don't remove trailing slashes from self closing tags by default (2281e4b)

v4.0.1

Compare Source

Bug Fixes
  • update typedefs to match with html-minifier-terser (2698c7e)

v4.0.0

Compare Source

The summary can be found in the release blog post.

Bug Fixes
  • Add dependencies from the child compilation to the main compilation (27c3e72)
  • Add typing for assets(Close jantimon#​1243) (9fef060)
  • allow contenthash along with templatehash (049d4d3), closes #​1033
  • Catch and ignore pretty-error errors (2056139), closes #​921
  • Drop @​types/webpack dependency (d4eb1c7)
  • Ignore foreign child compilers (1422664)
  • Improve perfomance for appcache files (b94e043)
  • load script files before style files files in defer script loading mode (97f9fb9)
  • Prevent chunks from beeing added multiple times (d65b37d)
  • Prevent lodash from being inlined to work around a babel-loader incompatibility (7f21910), closes #​1223
  • Remove compilation.getStats() call for performance reasons (7005a55)
  • remove useless links for options (#​1153) (267e0e0)
  • Update references to html-minifier (24bf1b5), closes #​1311
  • typings.d.ts: added apply method type to HtmlWwbpackPlugin class definitoin (8b7255f), closes jantimon#1244
  • rename contenthash to templatehash (4c11c5d)
  • Repair typings (#​1166) (f4cb241)
  • small type. minifcation instead of minification (#​1154) (56037a6)
  • Use src/index.ejs by default if present (#​1167) (c27e5e4)
  • chunksorter: Don't sort chunks by default (22fb03f)
  • loader: switch to loaderUtils.getOptions (a0a0f0d)
  • README: adds a link to template option documentation (f40aeae)
  • tests: Upgrade webpack-recompilation-simulator (dfe1d10)
  • Update lodash to 4.17.10 (cc3bf49)
Code Refactoring
  • Change the structure of the internal assets object (37db086)
  • Changed hook names and arguments - the hook order is 'beforeAssetTagGeneration', 'alterAssetTags', 'alterAssetTagGroups', 'afterTemplateExecution', 'beforeEmit', 'afterEmit' (14b4456)
  • Use Webpack 4 APIs (47efdea)
Features
  • add .toString implementation to htmlTags to allow easier rendering (34d8aa5)
  • Add default viewport meta tag for default template (302e39e), closes #​897 #​978
  • Add defer script loading (de315eb)
  • Add support for relative publicPath (dbbdd81)
  • Add support for tag (#​1160) (c5d4b86)
  • Add support for minifying inline ES6 inside html templates (c66766c), closes #​1262
  • Add support for the [contenthash] placeholder inside htm file names (ae8233a)
  • Add typings to package.json (a524e8f), closes #​1132
  • Allow to return async template parameters (99f9362)
  • drop workaround for "Uncaught TypeError: webpack_require(...) is not a function" to be compatible with webpack 5 (15ad0d2)
  • Export major version of this plugin (6ae6f48)
  • merge templateParameters with default template parameters (1d66e53)
  • Provide a verbose error message if html minification failed (7df269f)
  • compiler: Add file dependencies (bbc07a3)
  • compiler: Use a single compiler for multiple plugin instances (f29ae88)
  • compiler: Use timestamps to verify cache validity (0ebcd17)
  • Remove selfClosingTag (5d3d8e4)
  • Remove type="text/javascript" from injected script tags (b46bf67)
  • Replace jade with pug in examples (d7ec407)
  • Switch from jasmine to jest (ae1f435)
  • hooks: Add a helper for easier hook access (b6dec4b)
  • hooks: Provide static getHook method for access to all html-webpack-plugin hooks (#​995) (82b34a1)
  • Simplify element and charset attribute (55313be)
  • support ES6 template string in default loader (d6b65dd), closes #​950
  • Use jsdoc for static typing (a6b8d2d)
  • Use webpack 4 entries api to extract asset information (342867e)
  • html-tags: Add a helper to create html-tags (ee6a165)
BREAKING CHANGES
  • defaults: Use src/index.ejs if no template option is set.
  • defaults: The default template has now a predefined viewport meta tag
  • defaults: The default meta utf-8 declaration was changed to
  • hooks: Renamed beforeHtmlGeneration hook to beforeAssetTagGeneration
  • hooks: Renamed beforeHtmlProcessing hook to alterAssetTags
  • hooks: Renamed afterHtmlProcessing hook to beforeEmit
  • hooks: The html-webpack-plugin doesn't add its hooks to the compilation object anymore
  • The assets object which is used for the template parameters and inside hooks was changed. The chunks property was removed and the js and css property was converted from a string into an object { entryName: string, path: string}
  • The mimetype information "text/javascript" is removed from all generated script
    tags
  • Remove selfClosingTag attribute
  • Template strings inside templates are now disabled by default
  • Dropped support for Webpack 1 - 3
  • Template variable webpack was removed
  • chunksorter: Chunks aren't sorted anymore by default
webpack/webpack (webpack)

v5.91.0

Compare Source

Bug Fixes

  • Deserializer for ignored modules doesn't crash
  • Allow the unsafeCache option to be a proxy object
  • Normalize the snapshot.unmanagedPaths option
  • Fixed fs types
  • Fixed resolve's plugins types
  • Fixed wrongly calculate postOrderIndex
  • Fixed watching types
  • Output import attrbiutes/import assertions for external JS imports
  • Throw an error when DllPlugin needs to generate multiple manifest files, but the path is the same
  • [CSS] Output layer/supports/media for external CSS imports

New Features

  • Allow to customize the stage of BannerPlugin
  • [CSS] Support CSS exports convention
  • [CSS] support CSS local ident name
  • [CSS] Support __webpack_nonce__ for CSS chunks
  • [CSS] Support fetchPriority for CSS chunks
  • [CSS] Allow to use LZW to compress css head meta (enabled in the production mode by default)
  • [CSS] Support prefetch/preload for CSS chunks

v5.90.3

Compare Source

Bug Fixes

  • don't mangle when destructuring a reexport
  • types for Stats.toJson() and Stats.toString()
  • many internal types
  • [CSS] clean up export css local vars

Perf

  • simplify and optimize chunk graph creation

v5.90.2

Compare Source

Bug Fixes

  • use Math.imul in fnv1a32 to avoid loss of precision, directly hash UTF16 values
  • the setStatus() of the HMR module should not return an array, which may cause infinite recursion
  • __webpack_exports_info__.xxx.canMangle shouldn't always same as default
  • mangle export with destructuring
  • use new runtime to reconsider skipped connections activeState
  • make dynamic import optional in try/catch
  • improve auto publicPath detection

Dependencies & Maintenance

  • improve CI setup and include Node.js@21

v5.90.1

Compare Source

Bug Fixes

  • set unmanagedPaths in defaults
  • correct preOrderIndex and postOrderIndex
  • add fallback for MIME mismatch error in async wasm loading
  • browsers versions of ECMA features

Performance

  • optimize compareStringsNumeric
  • optimize numberHash using 32-bit FNV1a for small ranges, 64-bit for larger
  • reuse VM context across webpack magic comments

v5.90.0

Compare Source

Bug Fixes

  • Fixed inner graph for classes
  • Optimized RemoveParentModulesPlugin via bigint arithmetic
  • Fixed worklet detection in production mode
  • Fixed an error for cyclic importModule
  • Fixed types for Server and Dirent
  • Added the fetchPriority to hmr runtime's ensureChunk function
  • Don't warn about dynamic import for build dependencies
  • External module generation respects the output.environment.arrowFunction option
  • Fixed consumimng shared runtime module logic
  • Fixed a runtime logic of multiple chunks
  • Fixed destructing assignment of dynamic import json file
  • Passing errors array for a module hash
  • Added /*#__PURE__*/ to generated JSON.parse()
  • Generated a library manifest after clean plugin
  • Fixed non amd externals and amd library
  • Fixed a bug in SideEffectsFlagPlugin with namespace re-exports
  • Fixed an error message for condition or
  • The strictModuleErrorHandling is now working
  • Clean up child compilation chunk graph to avoid memory leak
  • [CSS] - Fixed CSS import prefer relative resolution
  • [CSS] - Fixed CSS runtime chunk loading error message

New Features

  • Allow to set false for dev server in webpack.config.js
  • Added a warning for async external when not supported
  • Added a warning for async module when not supported
  • Added the node-module option for the node.__filename/__dirname and enable it by default for ESM target
  • Added the snapshot.unmanagedPaths option
  • Exposed the MultiCompilerOptions type
  • [CSS] - Added CSS parser options to enable/disable named exports
  • [CSS] - Moved CSS the exportsOnly option to CSS generator options

Dependencies & Maintenance

  • use node.js LTS version for lint
  • bump actions/cache from 3 to 4
  • bump prettier from 3.2.1 to 3.2.3
  • bump assemblyscript
  • bump actions/checkout from 3 to 4

Full Changelog: webpack/webpack@v5.89.0...v5.90.0

v5.89.0

Compare Source

New Features

Dependencies & Maintenance

Full Changelog: webpack/webpack@v5.88.2...v5.89.0

v5.88.2

Compare Source

Bug Fixes

Full Changelog: webpack/webpack@v5.88.1...v5.88.2

v5.88.1

Compare Source

Developer Experience

Full Changelog: webpack/webpack@v5.88.0...v5.88.1

v5.88.0

Compare Source

New Features

Bug Fixes

Developer Experience

Dependencies & Maintenance

New Contributors

Full Changelog: webpack/webpack@v5.87.0...v5.88.0

v5.87.0

Compare Source

New Features

Bug Fixes

Developer Experience

Dependencies & Maintenance

New Contributors

@​aboktor made their first contribution in #​16991 #​16989
@​silverwind made their first contribution in #​17339 via #​17329

Full Changelog: webpack/webpack@v5.86.0...v5.87.0

v5.86.0

Compare Source

New Features

Bug Fixes

Developer Experience

Dependencies & Maintenance

New Contributors

Full Changelog: webpack/webpack@v5.85.1...v5.86.0

v5.85.1

Compare Source

Bug Fixes

Dependencies & Maintenance

Full Changelog: webpack/webpack@v5.85.0...v5.85.1

v5.85.0

Compare Source

New Features

Bug Fixes

Developer Experience

Dependencies & Maintenance


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - 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 these updates again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot changed the title Update dependency html-webpack-plugin to v4 chore(deps): update webpack (major) Oct 27, 2020
@renovate renovate bot force-pushed the renovate/major-webpack branch 2 times, most recently from 3cd9265 to d85a8ac Compare January 10, 2021 00:58
@renovate renovate bot force-pushed the renovate/major-webpack branch 2 times, most recently from e89b811 to bb54ecd Compare May 15, 2021 19:34
@renovate renovate bot force-pushed the renovate/major-webpack branch from bb54ecd to 31d62b5 Compare June 6, 2021 21:05
@renovate renovate bot force-pushed the renovate/major-webpack branch from d18bca6 to 51b9027 Compare May 15, 2022 21:24
@renovate renovate bot force-pushed the renovate/major-webpack branch 2 times, most recently from 650d17b to a339909 Compare March 30, 2023 01:20
@renovate renovate bot force-pushed the renovate/major-webpack branch 2 times, most recently from cc56a4f to 1d697b2 Compare May 31, 2023 21:36
@renovate renovate bot force-pushed the renovate/major-webpack branch 8 times, most recently from 04c5e42 to dd00fff Compare June 10, 2023 21:30
@renovate renovate bot force-pushed the renovate/major-webpack branch 2 times, most recently from 024afd0 to 23e25c7 Compare June 21, 2023 19:02
@renovate renovate bot changed the title chore(deps): update webpack (major) chore(deps): update webpack to v5 (major) Feb 12, 2024
@renovate renovate bot force-pushed the renovate/major-webpack branch 4 times, most recently from 528a679 to e181a42 Compare February 19, 2024 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants