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

fix(deps): update dependency webpack to v5.43.0 #1113

Merged
merged 1 commit into from Jul 7, 2021

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 1, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
webpack 5.28.0 -> 5.43.0 age adoption passing confidence

Release Notes

webpack/webpack

v5.43.0

Compare Source

Features

  • support runtime: false in entry description to disable runtime chunk
  • support runtime option in ModuleFederationPlugin and ContainerPlugin

Bugfixes

  • fix "module" externals when concatenated

Performance

  • serialize JSON data as buffer and parse on demand for performance and to avoid performance warning

v5.42.1

Compare Source

Bugfixes

  • fix crashes when rebuilding with jsonData or dataUrl of undefined

v5.42.0

Compare Source

Features

  • add cache compression via cache.compression
  • enable cache compression by default for non-development modes

Bugfixes

  • add node-commonjs to schema for externalsType
  • update acorn to fix problems with top level await
  • fix regression for system externals

Performance

  • fix a memory leak in the unsafe cache

v5.41.1

Compare Source

Bugfixes

  • add missing types about experimental esm support to schema
  • avoid slicing large Buffers as that doesn't always work for unknown reasons

Performance

  • avoid slicing Buffers unnecessarily

v5.41.0

Compare Source

Features

  • Persist cache faster when large changes are detected
    • new option cache.idleTimeoutAfterLargeChanges to control that

Bugfixes

  • shutdown lazy compilation server correctly

Experiments

  • EcmaScript modules support (experiments.outputModule: true)
    • output.library.type: "module": very basic support, no live bindings, unnecessary runtime code
    • output.chunkLoading: "import"
    • output.chunkFormat: "module"
    • externalsType: "module" generates now import * as X from "..." (in a module) or import("...") (in a script)
    • Node.js commonjs externals use import { createRequire } from "module" in a module
    • new Worker etc. sets `type: "module"

v5.40.0

Compare Source

Features

  • accept node: prefixed requests as node.js externals
  • avoid instanceof Promise in favor of p && typeof p.then === "function" to allow mixing different Promise implementions

Bugfixes

  • fix usage analysis of class properties

Performance

  • improve LazySet memory usage by shortcircuiting empty sets
  • reduce algorithmic complexity of the structure analysis for plain objects serialization

Developer Experience

  • allow Buffer in this.emitFile typings (loader context)
  • improve reset cli argument description

v5.39.1

Compare Source

Bugfixes

  • reduce memory usage and fix memory leaks

v5.39.0

Compare Source

Features

  • allow lazy compilation for import() context (import with expression)

Bugfixes

  • fix respecting cache.allowCollectingMemory
  • fix cli loading after installing it
  • fix initial list of non-js chunks that are flagged as already loaded

Performance

  • remove unnecessary Error.captureStackTrace from webpack errors

v5.38.1

Compare Source

Performance

  • fix missing increment in sorting optimization from last release

v5.38.0

Compare Source

Features

  • new URL("data:...", import.meta.url) is now supported
  • add module.rules[].scheme as condition to match the request scheme (like data, http, etc.)

Bugfixes

  • fix tracking of changes and removals during watching in some edge cases
  • fix incorrect renaming of class fields in concatenatenated modules
  • fix crash in HMR when removing runtimes from the compilation

Performance

  • lazy import some internal modules only when used
  • allow unsafe caching of the entrypoint
  • improve performance of sorting exports info map
  • update to latest webpack-sources for improved source map performance

v5.37.1

Compare Source

Bugfixes

  • When using multiple configurations in watch mode and calling Watching.invalidate, dependencies and parallelism of the config array is now respected correctly
  • Fix a crash when accessing the stats after the next compilation has started
  • fix collecting changes when using Watching.suspend
  • fix schema of RuleCondition.not and allow passing a condition directly instead of only an array

Developer Experience

  • typings accept a ReadonlyArray of configurations now

Contributing

  • fix coverage reporting for child processes
  • remove outdated loader from readme

v5.37.0

Compare Source

Features

  • add output.trustedTypes

Bugfixes

  • fix inclusion of too many chunk in the filename function when using dependOn
  • allow errors to be null in fs callbacks

Developer Experiences

  • make ESM tracking info message less verbose
  • add typings for loaders

v5.36.2

Compare Source

Bugfixes

  • correctly handle errors thrown during parser/generator creation
    • e. g. validation errors for asset module options
  • use a better automatic runtime name for workers
    • not too long to cause filename problems
  • no longer assume assets do not get removed when the compiler is running
    • Using output.clean is against this assumption
    • It fixes a bug where assets are missing, when removed and readded to the compilation
  • fix a problem when chained dependOn, which causes too many modules being included in entrypoints

v5.36.1

Compare Source

Performance

  • add cache.profile (type: "filesystem" only) flag for more info about (de)serialization timings
  • avoid complex "by exports" splitting for splitChunks in development mode
  • faster hashing for the common case
  • improve algorithmic complexity for merging InitFragments to solve performance in an edge case

v5.36.0

Compare Source

Features
  • add support for class fields (stage 4)
Performance
  • improve (de)serialization performance of dependency locations

v5.35.1

Compare Source

Bugfixes

  • fix an __webpack_exports__ is not defined error with some library types

performance

  • improve stats grouping performance
  • improve providedExports analysis performance
  • improve hashing performance
  • lazy merge dependencies from creating context modules
  • improve dependency parents access performance

v5.35.0

Compare Source

Bugfixes

  • fix handling of build dependencies with # in path

Performance

  • improve memory usage when using the filesystem cache

When reading a file into a Buffer and picking smaller slices of the Buffer
the small slices still keep a reference to the large original Buffer.
The leads to increased memory usage. A fix would be to clone the slice into
a smaller Buffer when wasting too much memory, but this has a performance cost.
There is now a new option cache.allowCollectingMemory which controls that.
For one-off builds you probably want allowCollectingMemory: false and
for watch builds you probably want allowCollectingMemory: true.
It defaults to false in production mode and true in development mode.

v5.34.0

Compare Source

Features
  • add support for empty string in resolve.extensions and handle them in this order
  • add pnpapi as builtin external when using target: "node"
Bugfixes
  • fix a bug where chunks filenames where not included in runtime when using splitChunks and runtimeChunk with target: "node"
  • fix deprecation message from LimitChunkCountPlugin
Performance
  • precompile schemas into functions to avoid schema compilation overhead
  • fix performance regression when storing the cache
  • performance improvement for snapshot file iterators
Developer Experience
  • remove removed store: 'idle' from schema description

v5.33.2

Compare Source

Bugfix

  • handle falsy entry options correctly

v5.33.1

Compare Source

Bugfix

  • fix passing publicPath to this.importModule

v5.33.0

Compare Source

Features

  • adds support for specifying a publicPath per entrypoint
    • add entry.xxx.publicPath option

Bugfix

  • disable injection of chunk loading logic for executeModule

Performance

  • performance improvements for export * and reexports

v5.32.0

Compare Source

Features

  • add support for a pseudo extensions .webpack[type] (e. g. .webpack[javascript/auto]) to specify the default module type when no other module type is specified
    • to be used with !=! inline syntax

Bugfixes

  • fixes incorrect cache invalidation when new properties are added to the DefinePlugin

Experiments

  • add experiments.executeModule to allow build-time execution of modules of the module graph
    • add this.importModule(request, options, [callback]): Promise to the loader context
    • add compilation.executeModule(request, options, callback) for plugins

v5.31.2

Compare Source

Bugfixes
  • revert disposing of CodeGenerationResults since some plugins rely on the fact that they are still accessible after the compilation

v5.31.1

Compare Source

Bugfixes

  • invalid hooks is no longer called twice for a compiler in a MultiCompiler

Memory

  • eliminated some memory leaks
  • dispose code generation results after sealing the compilation

Performance

  • improve performance of cache serialization by reducing number of write syscalls

v5.31.0

Compare Source

Features

  • add a few more options for infrastructure logging:
    • 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.
    • When stream is an TTY colors is enabled and appendOnly is disabled. Otherwise it's flipped.

Bugfixes

  • Persistent Caching
    • fix caching crash when using fsevents in build dependencies
    • improve resolving of build dependencies when exports field is used
    • make problems during resolving build dependencies warnings instead of debug messages
  • prioritize static reexport over runtime reexport for target determination
    • This helps in optimization by no longer opting out of optimization when some other exports any dynamic (from commonjs or empty/type-only modules)
  • fix bug with subtraction of runtimes
    • This fixes a problem with concatenated modules in builds with multiple runtimes and force-merged shared chunks
  • ensure that entrypoints are always re-executed when HMR-updated
    • This fixes no longer updating pages when the entrypoint crashed

v5.30.0

Compare Source

Features

  • add GC to memory cache
    • opt-in via cache.maxGenerations when cache.type: "memory"
    • default for cache.type: "filesystem" and mode: "development"
    • configure via cache.maxMemoryGenerations when cache.type: "filesystem"
    • Generations = Rebuilds
  • add GC for untouched filesystem cache files
  • allow to configurate GC for the filesystem cache via cache.maxAge
  • allow to disable memory cache when using the filesystem cache with cache.maxMemoryGenerations: 0
  • Caches will be cleared on Compiler close resp Cache shutdown (after persisting for the filesystem cache)

Bugfixes

  • add a few workarounds for v8 bug that causes memory leaks in optimized code (only partially fixes it)
  • after serializing filesystem no longer keeps cache items in memory, instead it will read them from disk again when accessed

GC = Garbage Collection

v5.29.0

Compare Source

Bugfixes

  • fix some edge cases for splitChunks.maxSize which cause too large chunks to be created
  • add stats.groupModulesByType to the schema

Developer Experience

  • add resolving trace for error during resolving build dependencies
  • expose Stats-related types
  • exports AsyncDependenciesBlock and Module/Const/NullDependency on the API

Configuration

📅 Schedule: 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 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 changed the title fix(deps): update dependency webpack to v5.29.0 fix(deps): update dependency webpack to v5.30.0 Apr 1, 2021
@renovate renovate bot changed the title fix(deps): update dependency webpack to v5.30.0 fix(deps): update dependency webpack to v5.31.0 Apr 7, 2021
@renovate renovate bot changed the title fix(deps): update dependency webpack to v5.31.0 fix(deps): update dependency webpack to v5.31.1 Apr 9, 2021
@renovate renovate bot force-pushed the renovate/webpack-5.x branch 2 times, most recently from a04d677 to 8c9c703 Compare April 9, 2021 19:21
@renovate renovate bot changed the title fix(deps): update dependency webpack to v5.31.1 fix(deps): update dependency webpack to v5.31.2 Apr 9, 2021
@renovate renovate bot changed the title fix(deps): update dependency webpack to v5.31.2 fix(deps): update dependency webpack to v5.32.0 Apr 12, 2021
@renovate renovate bot changed the title fix(deps): update dependency webpack to v5.32.0 fix(deps): update dependency webpack to v5.33.0 Apr 14, 2021
@renovate renovate bot changed the title fix(deps): update dependency webpack to v5.33.0 fix(deps): update dependency webpack to v5.33.2 Apr 14, 2021
@renovate renovate bot changed the title fix(deps): update dependency webpack to v5.33.2 fix(deps): update dependency webpack to v5.34.0 Apr 19, 2021
@renovate renovate bot changed the title fix(deps): update dependency webpack to v5.34.0 fix(deps): update dependency webpack to v5.35.0 Apr 21, 2021
@renovate renovate bot force-pushed the renovate/webpack-5.x branch 2 times, most recently from 92ad24a to dbf3f98 Compare April 23, 2021 19:25
@renovate renovate bot changed the title fix(deps): update dependency webpack to v5.35.0 fix(deps): update dependency webpack to v5.35.1 Apr 23, 2021
@renovate renovate bot changed the title fix(deps): update dependency webpack to v5.35.1 fix(deps): update dependency webpack to v5.36.0 Apr 27, 2021
@renovate renovate bot changed the title fix(deps): update dependency webpack to v5.36.0 fix(deps): update dependency webpack to v5.36.1 Apr 28, 2021
@renovate renovate bot changed the title fix(deps): update dependency webpack to v5.36.1 fix(deps): update dependency webpack to v5.36.2 Apr 30, 2021
@renovate renovate bot changed the title fix(deps): update dependency webpack to v5.36.2 fix(deps): update dependency webpack to v5.37.0 May 10, 2021
@renovate renovate bot changed the title fix(deps): update dependency webpack to v5.37.0 fix(deps): update dependency webpack to v5.37.1 May 19, 2021
@renovate renovate bot changed the title fix(deps): update dependency webpack to v5.37.1 fix(deps): update dependency webpack to v5.38.0 May 27, 2021
@renovate renovate bot force-pushed the renovate/webpack-5.x branch 2 times, most recently from c7f4433 to a3ca929 Compare May 27, 2021 21:37
@renovate renovate bot changed the title fix(deps): update dependency webpack to v5.38.0 fix(deps): update dependency webpack to v5.38.1 May 27, 2021
@renovate renovate bot changed the title fix(deps): update dependency webpack to v5.38.1 fix(deps): update dependency webpack to v5.39.0 Jun 14, 2021
@renovate renovate bot changed the title fix(deps): update dependency webpack to v5.39.0 fix(deps): update dependency webpack to v5.39.1 Jun 17, 2021
@renovate renovate bot changed the title fix(deps): update dependency webpack to v5.39.1 fix(deps): update dependency webpack to v5.40.0 Jun 21, 2021
@renovate renovate bot force-pushed the renovate/webpack-5.x branch 2 times, most recently from 072762c to b17371b Compare June 25, 2021 12:13
@renovate renovate bot changed the title fix(deps): update dependency webpack to v5.40.0 fix(deps): update dependency webpack to v5.41.0 Jun 28, 2021
@renovate renovate bot changed the title fix(deps): update dependency webpack to v5.41.0 fix(deps): update dependency webpack to v5.41.1 Jun 29, 2021
@renovate renovate bot changed the title fix(deps): update dependency webpack to v5.41.1 fix(deps): update dependency webpack to v5.42.0 Jul 2, 2021
@renovate renovate bot force-pushed the renovate/webpack-5.x branch 2 times, most recently from 9bec14a to f880275 Compare July 5, 2021 15:35
@renovate renovate bot changed the title fix(deps): update dependency webpack to v5.42.0 fix(deps): update dependency webpack to v5.42.1 Jul 5, 2021
@renovate renovate bot changed the title fix(deps): update dependency webpack to v5.42.1 fix(deps): update dependency webpack to v5.43.0 Jul 6, 2021
@kamilmysliwiec kamilmysliwiec merged commit db8932a into master Jul 7, 2021
@delete-merged-branch delete-merged-branch bot deleted the renovate/webpack-5.x branch July 7, 2021 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants