-
Notifications
You must be signed in to change notification settings - Fork 119
chore(dev-deps): update dependency webpack to v5 #645
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
Conversation
Branch automerge failureThis PR was configured for branch automerge, however this is not possible so it has been raised as a PR instead.
|
7895112 to
f295f32
Compare
Chore
ContributorsCommit-Lint commandsYou can trigger Commit-Lint actions by commenting on this PR:
|
ebc35f1 to
d72f263
Compare
41a459c to
9a7aa66
Compare
eaa38cc to
73ecb48
Compare
97af9ba to
678e7e9
Compare
29e5f4f to
31c87c8
Compare
⚠ Artifact update problemRenovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below: File name: package-lock.json |
a42ddc1 to
4ee6aaa
Compare
4ee6aaa to
f90bb47
Compare
34b06b3 to
bb5ee81
Compare
701d0fe to
3afe5c8
Compare
3afe5c8 to
c69c24f
Compare
Renovate Ignore NotificationBecause you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR. |
This PR contains the following updates:
4.46.0->5.65.0Release Notes
webpack/webpack
v5.65.0Compare Source
Features
undefinednowBugfixes
singletonflag withoutrequiredVersionin Module Federationwatchpackfor context time info bugfixPerformance
Developer Experience
output.globalObjectcontains a non-trival expressionscripttype external with invalid syntaxResolver,StatsOptionsandResolvePluginInstancePreparations for the future
hashDigestLengthwill default to 16 in webpack 6 (experiments.futureDefaults)v5.64.4Compare Source
Bugfixes
Performance
Developer Experience
v5.64.3Compare Source
Performance
Infinityis used in configurationv5.64.2Compare Source
Bugfixes
v5.64.1Compare Source
Bugfixes
require(...).propertyinrequire.ensureoutput.clean: trueunsafeCachewithinmanagedPaths(node_modules)v5.64.0Compare Source
Features
asyncChunks: booleanoption to disable creation of async chunksBugfixes
experiments.backCompat: falsePerformance
v5.63.0Compare Source
Features
chunkLoading: falseto disable on-demand loadingBugfixes
import 'single-quote'in esm build dependenciesv5.62.2Compare Source
Bugfixes
__system_context__injection when using thelibraryoption on entrypointexportsPresence: "error"by default infutureDefaultsexportPresence->exportsPresencetypoexperiments.cacheUnaffectedv5.62.1Compare Source
Bugfix
;v5.62.0Compare Source
Features
parser.javascript.reexportExportsPresence: falseallows to disable warnings for non-existing exports during the migration fromexport ... from "..."toexport type ... from "..."for type reexports in TypeScriptexperiments.backCompat: falseto disable some expensive deprecations for better performanceBugfixes
['catch']instead of.catchfor better ES3 supportnew (require("...")).Something(){ require }object literalssplitChunks.chunksoption is now correctly used forsplitChunks.fallbackCacheGroup.maxSizetoolistenoption, allow to omitportDeveloper Experience
/// <reference types="webpack/module" />to use the typings in typescript modules"types": [..., "webpack/module"]in tsconfigv5.61.0Compare Source
Bugfixes
pathsubmodules in the node.js default externalsPerformance
Contribution
v5.60.0Compare Source
Features
experiments.lazyCompilation. e. g. port, https stuffBugfixes
output.hashFunctionused to persistent caching toobuildDependenciesSet correctly when loaders are added inbeforeLoadershookv5.59.1Compare Source
Bugfixes
experiments.buildHttpv5.59.0Compare Source
Features
/*#__PURE__*/forObject()in generated codemanaged/immutablePathsexperiments.buildHttpsplitChunks.minSizeReductionoptionBugfixes
waitForwhen modules are unsafe cachedv5.58.2Compare Source
Bugfixes
Performance
v5.58.1Compare Source
Bugfixes
.webpack[]suffix to not execute rulesv5.58.0Compare Source
Features
diagnostics_channelto node builtinsPerformance
v5.57.1Compare Source
Bugfix
v5.57.0Compare Source
Performance
Bugfixes
v5.56.1Compare Source
Bugfix
v5.56.0Compare Source
Performance
v5.55.1Compare Source
Bugfixes
experiments.cacheUnaffectedv5.55.0Compare Source
Performance
experiments.cacheUnaffectedmodule.unsafeCachev5.54.0Compare Source
Features
&&||and??output.hashFunctionevalis used in a moduleBugfixes
Performance
output.hashFunction: "xxhash64"for a super fast wasm based hash functionexperiments.cacheUnaffectedwhich caches computations for modules that are unchanged and reference only unchanged modulesv5.53.0Compare Source
Features
node.__dirname/__filename: "warn-mock"which warns on usage (will be enabled in webpack 6 by default)Bugfixes
stream/webto Node.js externalsExperiments
experiments.futureDefaultsto enable defaults for webpack 6v5.52.1Compare Source
Performance
v5.52.0Compare Source
Feature
experiments.executeModuleis enabled by default and the option is removedthis.importModuleBugfixes
__WEBPACK_EXTERNAL_MODULE_null__, which leads to merged externals.webpack[...]extension is not part of matching and module namev5.51.2Compare Source
Bugfixes
[contenthash]is undefined when usingnew Workerv5.51.1Compare Source
Bugfixes
library: "module"propages top-level-await correctlyv5.51.0Compare Source
Bugfixes
yarn linking of dependencies.Compilation.addModuleChainandCompilation.addModuleTreev5.50.0Compare Source
Features
#! ...) are now handled by webpackPerformance
v5.49.0Compare Source
Features
experiments.buildHttpto buildhttp(s)://imports instead of keeping them externalwebpack.lockfile with integrity andwebpack.lock.datawith cached content that should be committed(might be disabled with
experiments.buildHttp.upgrade: false)(exception:
Cache-Control: no-cache).webpack.lock.datapersisting can be disabled withexperiments.buildHttp.cacheLocation: false.That will will introduce a availability risk.
(webpack cache will be used to cache network responses)
Bugfixes
splitChunks.maxSizeintroduces in the last releasebailis setPerformance
v5.48.0Compare Source
Features
Bugfixes
v5.47.1Compare Source
Bugfixes
v5.47.0Compare Source
Performance
Bugfixes
"use strict"s in module modev5.46.0Compare Source
Features
stats.reasonsSpaceandstats.groupReasonsByOriginBugfixes
Performance
v5.45.1Compare Source
Bugfixes
assertin other placesimport(/* webpackPrefetch: true */ ...)no longer breaks library outputv5.45.0Compare Source
Features
Bugfixes
.cjsoutput filesPerformance
Contributing
v5.44.0Compare Source
Features
output.module+optimization.runtimeChunkBugfixes
v5.43.0Compare Source
Features
runtime: falsein entry description to disable runtime chunkruntimeoption in ModuleFederationPlugin and ContainerPluginBugfixes
"module"externals when concatenatedPerformance
v5.42.1Compare Source
Bugfixes
jsonDataordataUrlof undefinedv5.42.0Compare Source
Features
cache.compressionBugfixes
node-commonjsto schema forexternalsTypesystemexternalsPerformance
v5.41.1Compare Source
Bugfixes
Performance
v5.41.0Compare Source
Features
cache.idleTimeoutAfterLargeChangesto control thatBugfixes
Experiments
experiments.outputModule: true)output.library.type: "module": very basic support, no live bindings, unnecessary runtime codeoutput.chunkLoading: "import"output.chunkFormat: "module"externalsType: "module"generates nowimport * as X from "..."(in a module) orimport("...")(in a script)import { createRequire } from "module"in a modulenew Workeretc. sets `type: "module"v5.40.0Compare Source
Features
node:prefixed requests as node.js externalsinstanceof Promisein favor ofp && typeof p.then === "function"to allow mixing different Promise implementionsBugfixes
Performance
Developer Experience
Bufferinthis.emitFiletypings (loader context)resetcli argument descriptionv5.39.1Compare Source
Bugfixes
v5.39.0Compare Source
Features
import()context (import with expression)Bugfixes
cache.allowCollectingMemoryPerformance
Error.captureStackTracefrom webpack errorsv5.38.1Compare Source
Performance
v5.38.0Compare Source
Features
new URL("data:...", import.meta.url)is now supportedmodule.rules[].schemeas condition to match the request scheme (likedata,http, etc.)Bugfixes
Performance
v5.37.1Compare Source
Bugfixes
Watching.invalidate,dependenciesandparallelismof the config array is now respected correctlystatsafter the next compilation has startedWatching.suspendRuleCondition.notand allow passing a condition directly instead of only an arrayDeveloper Experience
Contributing
v5.37.0Compare Source
Features
output.trustedTypesBugfixes
dependOnnullin fs callbacksDeveloper Experiences
v5.36.2Compare Source
Bugfixes
output.cleanis against this assumptionv5.36.1Compare Source
Performance
cache.profile(type: "filesystem"only) flag for more info about (de)serialization timingsv5.36.0Compare Source
Features
Performance
v5.35.1Compare Source
Bugfixes
__webpack_exports__ is not definederror with some library typesperformance
v5.35.0Compare Source
Bugfixes
#in pathPerformance
v5.34.0Compare Source
Features
resolve.extensionsand handle them in this orderpnpapias builtin external when usingtarget: "node"Bugfixes
target: "node"Performance
Developer Experience
store: 'idle'from schema descriptionv5.33.2Compare Source
Bugfix
v5.33.1Compare Source
Bugfix
this.importModulev5.33.0Compare Source
Features
publicPathper entrypointentry.xxx.publicPathoptionBugfix
executeModulePerformance
export *and reexportsv5.32.0Compare Source
Features
.webpack[type](e. g..webpack[javascript/auto]) to specify the default module type when no other module type is specified!=!inline syntaxBugfixes
Experiments
experiments.executeModuleto allow build-time execution of modules of the module graphthis.importModule(request, options, [callback]): Promiseto the loader contextcompilation.executeModule(request, options, callback)for pluginsv5.31.2Compare Source
Bugfixes
v5.31.1Compare Source
Bugfixes
Memory
Performance
v5.31.0Compare Source
Features
infrastructureLogging.colors: Enables/Disables colorful output.infrastructureLogging.appendOnly: Only appends lines to the output. Avoids updating existing output e. g. for status messages.infrastructureLogging.stream: Stream used for logging output. Defaults to process.stderr.infrastructureLogging.console: Custom console used for logging.Bugfixes
exportsfield is usedv5.30.0Compare Source
Features
cache.maxGenerationswhencache.type: "memory"cache.type: "filesystem"andmode: "development"cache.maxMemoryGenerationswhencache.type: "filesystem"cache.maxAgecache.maxMemoryGenerations: 0Bugfixes
GC = Garbage Collection
v5.29.0Compare Source
Bugfixes
splitChunks.maxSizewhich cause too large chunks to be createdstats.groupModulesByTypeto the schemaDeveloper Experience
Module/Const/NullDependencyon the APIv5.28.0Compare Source
Features
module.generator.asset.publicPathto configure a different publicPath for assetsBugfixes
Performance
v5.27.2Compare Source
Bugfixes
beforeLoadershookexperiments.lazyCompilationis used (regression)import()new URL(new URLgenerated by worker handingv5.27.1Compare Source
Bugfix
v5.27.0Compare Source
Features
utils: { contextify(context, absolutePath), absolutify(context, request) }to loader contextBugfixes
importsfield handlingv5.26.3Compare Source
Bugfix
v5.26.2Compare Source
Bugfixes
v5.26.1Compare Source
Bugfixes
Set.addAllpolyfill../when generation the undo path for non-web targetsv5.26.0Compare Source
Features
DefinePlugin.runtimeValue(file/context/missing/buildDependencies, version)Bugfixes
v5.25.1Compare Source
Bugfixes
type: "module"for Workers when generating classic scriptsv5.25.0Compare Source
Features
__webpack_runtime_id__to access the current runtime idoutput.strictModuleErrorHandlingto opt into stricter evaluation error handling semantics according to ESM specnew URL()this will result in an url to a empty file ("data:,")module.generator.asset.emitoption to disable creating assets from asset modules (e. g. for SSR)Bugfixes
splitChunks.maxSizewhere negative indicies are accessedsplitChunks.maxSizein some cases when multiple size types are involvedDeprecations
output.strictModuleExceptionHandling(this is the CommonJS way of handling errors, and the name is weird)v5.24.4Compare Source
Bugfixes
externals"..."in array configuration options when it's not at the startv5.24.3Compare Source
Bugfixes
v5.24.2Compare Source
Bugfixes
modifiedFilesandremovedFileswere undefinedv5.24.1Compare Source
Performance
Developer Experience
v5.24.0Compare Source
Bugfixes
export *that point to the same exportexperiments.lazyCompilation: true. It now has an effect.Developer Experience
WatchingtypeContribution
Performance
v5.23.0Compare Source
Features
parserOptions.url: "relative"optionnew URL(e. g. for SSG/SSR)Bugfixes
Developer Experience
v5.22.0Compare Source
Features
'...'string instead of"..."(only affects output side when not minimized)dependenciesconfiguration option now works for watch builds toodependencieshas changeddependencieshave finishedparallelismconfig option on the array of configurations to limit the compilers that are running in parallelDeveloper Experience
Did you mean ...) to resolve errors whenenforceExtension./depend(s)Onit, webpack no longer crashes with a weird errorBugfixes
"sideEffects": falsethis.loadModule(loader) and the loaded module has errorsoutput.iife: falsedefinefor local modules and arrow functions are supporteddefinefunction, which missed declarations beforeexport { x }is before pure declarationconst x = /*#__PURE__*/ f()Contribution
Experiments
output.library: { type: "module" }(experiments.outputModule: true)export { ... }now, but that can't handle live-bindings yetv5.21.2Compare Source
Bugfixes
constructorproperty now caches correctlylengthproperty now works correctlyv5.21.1Compare Source
Bugfixes
v5.21.0Compare Source
Features
__webpack_base_uri__to change base URI at runtimestats.errorDetails: "auto"to show error details automatically when there are only 1 or 2 errorsBugfixes
Developer Experience
stats.errorDetailsto"auto"when usingtoStringDid you mean ...?and similar hints are shown in greenv5.20.2Compare Source
Bugfixes
undefinedfilesv5.20.1Compare Source
Bugfix
Caching failed for pack: RangeError [ERR_OUT_OF_RANGE]warning when serializing the cachev5.20.0Compare Source
Features
experiments.lazyCompilation.importsto disable lazy compilation ofimport()sexperiments.lazyCompilation.testto allow custom selection of modules that should be lazy compiledprofile: trueresp.--profilewebpack will now print a summary of expensive modules or loadersBugfixes
experiments.lazyCompilation.clientnow works as intended__webpack_require__ is not definedDeveloper Experience
EntryObjecttype in typingspkg-dirdependencyv5.19.0Compare Source
Features
exposesforModuleFederationPluginBugfixes
optionsforProgressPluginoptional in typingsPerformance
v5.18.0Compare Source
Internals
React.createElement)v5.17.0Compare Source
Features
experiments.lazyCompilation: truefor web and node targetsimport()s only when they are accessedwebpack-dev-server/webpack serveopening an entrypoint for the first time, sometimes need a manual refresh.moduletomodule.parser.javascriptand also allow to set them viamodule.rulesmodule.parser.javascript.commonjsMagicCommentsto enable/* webpackIgnore: true */forrequire()callsBugfixes
webpack.debug.ProfilingPluginon Mac when the computer was suspended before.v5.16.0Compare Source
Features
__webpack_is_included__("./some-module")which returns true when the module is bundled and false when notlibrary.type: "assign-properties"which merges all exports into a global variableoptimization.innerGraphfornew URL()Bugfixes
experiments.outputModule: truewithoptimization.runtimeChunksplitChunk.reuseExistingChunkdoesn't work for entrypointsDeveloper Experience
v5.15.0Compare Source
Features
getResolvemethod to data object when using functionexternalsexternalsfunction may return a promise nowBugfixes
define("local-module", expr)generating invalid syntaxchunkModulesSpaceto schemarebuildModuleapiPerformance
v5.14.0Compare Source
Features
Bugfixes
watcher.getContextTimeInfoEntries()memfsand realfsAutomaticPrefetchPluginContribution
v5.13.0Compare Source
Features
resolve.preferAbsoluteflag for compatibility with webpack 4exportsandimportsfieldnameForCondition()as fallback for module namesv5.12.3Compare Source
Bugfixes
@webassembly/*andterser-webpack-plugindependenciesv5.12.2Compare Source
Bugfixes
v5.12.1Compare Source
Bugfixes
varlibraryv5.12.0Compare Source
Features
experiments.layersentry.xxx.layer: "name-of-layer"allows to set the layer for an entrypointmodule.rules[].issuerLayer: RuleConditionallows to filter/match by layer of issuermodule.rules[].layer: "name-of-layer"allows to set the layer of an modulesplitChunks.cacheGroups.xxx.layerallows to select modules by layerexternals.byLayer["name-of-layer"]allows to specify externals by layerexternals.byLayer: (layer) => ...allows to specify externals by layerexternalsfunction has an additional argument propertycontextInfowhich contains info about the issuer (e. g. the layer)module.parserandmodule.generatoroptions to allow to specify parser/generator options globally per module typechunkIdvariable available in script tag hook (like it was with webpack 4)Bugfixes
stats.nestedModulesSpaceto schema to allow to specify this optionnew.targetwith constantssplitChunkminSizeis not handled correctlysplitChunkcacheGroupsis not handled correctlyDeveloper experience
Contributing
v5.11.1Compare Source
Bugfixes
objecttypes in typingsv5.11.0Compare Source
Features
validateSchemafunctionBugfixes
undefinedvalues for rule conditions like empty stringsv5.10.3Compare Source
Bugfixes
v5.10.2Compare Source
Bugfixes
target: "node"v5.10.1Compare Source
Bugfixes
processAssetswithadditionalAssets\in module info header commentv5.10.0Compare Source
Bugfixes
"sideEffects": false) when reexports and concatenated modules are combinedContributing
Performance
output.pathinfo: true(default in development) adds less verbose information (and is faster)output.pathinfo: "verbose"adds more verbose informationoutput.pathinfo: trueis cachedConfiguration
📅 Schedule: "before 3am on Monday" (UTC).
🚦 Automerge: Disabled due to failing status checks.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.