Skip to content

fix(deps): update dependency webpack to v5 #1874

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

Closed
wants to merge 2 commits into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 16, 2020

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
webpack 4.44.2 -> 5.10.0 age adoption passing confidence

Release Notes

webpack/webpack

v5.10.0

Compare Source

Bugfixes
  • Multiple fixes regarding the side effects optimization ("sideEffects": false) when reexports and concatenated modules are combined
Contributing
  • Typescript major 4
    • Improved internal structure of our typings
Performance
  • output.pathinfo: true (default in development) adds less verbose information (and is faster)
  • output.pathinfo: "verbose" adds more verbose information
  • output.pathinfo: true is cached
  • avoid assets and module stats information generation when they are cached and cached assets/modules are not shown

v5.9.0

Compare Source

Features

  • improve side effects analysis to report imported and reexported symbols as side-effect-free

Bugfixes

  • fix problem when HMR and different runtimes (e. g. with Workers)
    • caused crash with ... has no hash info for runtime ...

v5.8.0

Compare Source

Features

  • add the ability to process assets generated in later stages during processAssets
  • new processAssets stage: PROCESS_ASSETS_STAGE_OPTIMIZE_INLINE
  • add hooks to the RealContentHashPlugin to allow to process custom hashes (e. g. SRI)

Bugfixes

  • fix typing for child compiler plugins
  • SourceMapPlugin will process assets added in later stages during asset processing

v5.7.0

Compare Source

Features

  • CLI supports installing webpack-cli via pnpm

Bugfixes

  • fix problem with ASI detection, causing semicolons inserted after if(...) etc.

v5.6.0

Compare Source

Bugfixes

  • emit warnings/errors for exports in commonjs modules for which we know that they don't exist

v5.5.1

Compare Source

Bugfixes
  • fix crash when __esModule is defined with defineProperty without value

v5.5.0

Compare Source

Bugfixes

  • fix ASI issues that occur between concatenated modules
  • fix incorrect handling of [id] and etc. in SourceMap sources
  • fix side-effect-free handling of exports for concatenated modules that causes an unused export
  • make ESM-CJS interop handling consistent
    • make __esModule flag consistent exposed
    • handle non enumerable exports
    • handle inherited exports
    • handle exported Promises

v5.4.0

Compare Source

Bugfixes

  • fix renaming in super class expression in nested scopes
  • fix parsing and handling of browserlist queries
  • fix a few edge cases with ESM-CJS interop and .mjs
  • fix ASI edge cases

v5.3.2

Compare Source

Bugfixes

  • runtime-dependent concatenated modules can generate code for runtime-dependent execution order of concatenated modules

v5.3.1

Compare Source

Bugfixes

  • fix incorrect concatenation of modules when multiple runtimes are involved
    • fixes a "This should not happen" error
    • fixes a __webpack_require__(null) problem
  • run CLI correctly after installing
  • fixes a huge performance issue when processing minimized code with SourceMap
  • Use string[] types instead of [string, ...string[]] for arrays that must not be empty
    • this is more convinient to use

Performance

  • avoid incorrect store of counts in the ProgressPlugin, which causes unneeded serialization of the Persistent Cache
  • upgrade terser-webpack-plugin for performance improvements
  • upgrade webpack-sources for performance improvements

v5.3.0

Compare Source

Features and Bugfixes

  • generate runtime conditional code when modules are forcefully merged from multiple runtimes
    • This fixes a Cannot read property 'call' of undefined error in webpack runtime, because modules are used that are not in the graph in one runtime
  • disabled source code analysis for side effects in non-production modes
    • this causes unnecessary changes to parent modules in development
    • add optimization.sideEffects: "flag" as option for this

v5.2.1

Compare Source

Bugfixes

  • add watchOptions.followSymlinks option to schema
  • fix hard crash when calling resolve with undefined value
  • fix emit problem when files have hash in query string
  • fix unneeded generation of SourceMaps when no devtool is used
    • fixes a huge performance regression with terser-webpack-plugin

v5.2.0

Compare Source

Features

  • add sourceFilename and javascriptModule to asset info for plugins

Bugfixes

  • fix variable name collision when using module concatenation
  • fix arrow functions in ie 11
  • fix this externals with module concatenation
  • force update for enhanced-resolve for critical bugfixes (see changelog)

v5.1.3

Compare Source

Bugfixes

  • omit unused modules from chunks when modules are only unused in some runtimes
    • fixes Self-reference dependency has unused export name error
  • fix order of asset optimization to fix conflict between compression-plugin and real hash plugin

v5.1.2

Compare Source

Bugfixes

  • revert: omit unused modules from chunk when modules are only unused in some runtimes
    • caused issues with mini-css modules

v5.1.1

Compare Source

Bugfixes

  • fix order of chunk hashing to allow to uses hashes in WebWorkers
  • update to terser-webpack-plugin 5
    • reduces number of dependencies by dropping webpack 4 support
  • omit unused modules from chunk when modules are only unused in some runtimes
    • fixes Self-reference dependency has unused export name error
  • fix hanging production builds because of infinite loop in inner graph optimization
  • Compilation.deleteAsset updates chunk to file mappings

v5.1.0

Compare Source

Features

  • expose webpack property from Compiler
  • expose cleverMerge, EntryOptionPlugin, DynamicEntryPlugin

Bugfixes

  • missing require("..").xxx in try-catch produces a warning instead of an error now
  • handle reexports in concatenated modules correctly when they are side-effect-free
  • fix incorrect deprecation message for ModuleTemplate.hooks.hash

v5.0.0

Compare Source

Announcement and changelog


Renovate configuration

📅 Schedule: "before 3am on Monday" (UTC).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻️ Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


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

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

@renovate renovate bot added the 🤖 Type: Dependencies Dependency updates or something similar label Nov 16, 2020
@changeset-bot
Copy link

changeset-bot bot commented Nov 16, 2020

⚠️ No Changeset found

Latest commit: 0ac1001

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel
Copy link

vercel bot commented Nov 16, 2020

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/commercetools/merchant-center-application-kit/eeues2hhp
✅ Preview: https://merchant-center-application-kit-git-renovate-webpack-5x.commercetools.now.sh

@vercel vercel bot temporarily deployed to Preview November 16, 2020 01:53 Inactive
@renovate renovate bot force-pushed the renovate/webpack-5.x branch from aa95d6c to e1b231f Compare November 16, 2020 17:26
@vercel vercel bot temporarily deployed to Preview November 16, 2020 17:26 Inactive
@adnasa
Copy link
Contributor

adnasa commented Nov 16, 2020

need to do some homework
https://webpack.js.org/migrate/5/

@renovate renovate bot force-pushed the renovate/webpack-5.x branch from e1b231f to 78d3223 Compare November 16, 2020 17:57
@vercel vercel bot temporarily deployed to Preview November 16, 2020 17:57 Inactive
@renovate renovate bot force-pushed the renovate/webpack-5.x branch from 78d3223 to eb28379 Compare November 17, 2020 14:07
@renovate renovate bot force-pushed the renovate/webpack-5.x branch from eb28379 to 62ef990 Compare November 18, 2020 12:57
@vercel vercel bot temporarily deployed to Preview November 18, 2020 12:57 Inactive
@renovate renovate bot force-pushed the renovate/webpack-5.x branch from 62ef990 to 8d64749 Compare November 19, 2020 12:36
@vercel vercel bot temporarily deployed to Preview November 19, 2020 12:36 Inactive
@renovate renovate bot force-pushed the renovate/webpack-5.x branch from 8d64749 to 1bc9c2b Compare November 24, 2020 15:38
@vercel vercel bot temporarily deployed to Preview November 24, 2020 15:38 Inactive
@renovate renovate bot force-pushed the renovate/webpack-5.x branch from 1bc9c2b to 8e280b6 Compare November 26, 2020 06:22
@vercel vercel bot temporarily deployed to Preview November 26, 2020 06:23 Inactive
@renovate renovate bot force-pushed the renovate/webpack-5.x branch from 8e280b6 to b2437dd Compare November 26, 2020 11:12
@vercel vercel bot temporarily deployed to Preview November 26, 2020 11:12 Inactive
@renovate renovate bot force-pushed the renovate/webpack-5.x branch from b2437dd to fd89fc9 Compare November 26, 2020 18:30
@vercel vercel bot temporarily deployed to Preview November 26, 2020 18:30 Inactive
@renovate renovate bot force-pushed the renovate/webpack-5.x branch from fd89fc9 to e45f3fd Compare November 28, 2020 22:04
@vercel vercel bot temporarily deployed to Preview November 28, 2020 22:04 Inactive
@renovate renovate bot force-pushed the renovate/webpack-5.x branch from e45f3fd to 3c429cb Compare December 4, 2020 20:34
@vercel vercel bot temporarily deployed to Preview December 4, 2020 20:34 Inactive
@renovate renovate bot force-pushed the renovate/webpack-5.x branch from 3c429cb to 4b1b6f9 Compare December 8, 2020 13:24
@vercel vercel bot temporarily deployed to Preview December 8, 2020 13:24 Inactive
@renovate renovate bot force-pushed the renovate/webpack-5.x branch from 4b1b6f9 to 079b135 Compare December 8, 2020 14:25
@vercel vercel bot temporarily deployed to Preview December 8, 2020 14:25 Inactive
@emmenko emmenko marked this pull request as draft December 11, 2020 20:33
@vercel vercel bot temporarily deployed to Preview December 11, 2020 20:39 Inactive
@emmenko
Copy link
Member

emmenko commented Dec 15, 2020

FYI: we have to wait for some webpack plugins to catch up before being able to upgrade.

@renovate
Copy link
Contributor Author

renovate bot commented Jan 5, 2021

Autoclosing Skipped

This PR has been flagged for autoclosing, however it is being skipped due to the branch being already modified. Please close/delete it manually or report a bug if you think this is in error.

@emmenko emmenko closed this Feb 2, 2021
@emmenko emmenko deleted the renovate/webpack-5.x branch February 2, 2021 16:21
@renovate
Copy link
Contributor Author

renovate bot commented Feb 2, 2021

Renovate Ignore Notification

As this PR has been closed unmerged, Renovate will ignore this upgrade and you will not receive PRs for any future 5.x releases. However, if you upgrade to 5.x manually then Renovate will then reenable updates for minor and patch updates automatically.

If this PR was closed by mistake or you changed your mind, you can simply rename this PR and you will soon get a fresh replacement PR opened.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🖐 Status: On Hold 🚧 Status: WIP Work in progress 🤖 Type: Dependencies Dependency updates or something similar
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants