Skip to content

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Apr 2, 2021

WhiteSource Renovate

This PR contains the following updates:

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

Release Notes

webpack/webpack

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: "every weekend" in timezone Asia/Tokyo.

🚦 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 added the deps Pull requests that update a dependency file label Apr 2, 2021
@renovate renovate bot force-pushed the renovate/webpack-5.x branch from 69946e0 to 06042d8 Compare April 7, 2021 18:24
@renovate renovate bot changed the title chore(deps): update dependency webpack to v5.30.0 chore(deps): update dependency webpack to v5.31.0 Apr 7, 2021
@renovate renovate bot force-pushed the renovate/webpack-5.x branch from 06042d8 to 5b2bc81 Compare April 9, 2021 17:49
@renovate renovate bot changed the title chore(deps): update dependency webpack to v5.31.0 chore(deps): update dependency webpack to v5.31.1 Apr 9, 2021
@renovate renovate bot force-pushed the renovate/webpack-5.x branch from 5b2bc81 to 9821726 Compare April 9, 2021 18:49
@renovate renovate bot changed the title chore(deps): update dependency webpack to v5.31.1 chore(deps): update dependency webpack to v5.31.2 Apr 9, 2021
@renovate renovate bot force-pushed the renovate/webpack-5.x branch from 9821726 to 2eff6d9 Compare April 12, 2021 19:56
@renovate renovate bot changed the title chore(deps): update dependency webpack to v5.31.2 chore(deps): update dependency webpack to v5.32.0 Apr 12, 2021
@renovate renovate bot force-pushed the renovate/webpack-5.x branch from 2eff6d9 to 51e67ce Compare April 14, 2021 18:55
@renovate renovate bot changed the title chore(deps): update dependency webpack to v5.32.0 chore(deps): update dependency webpack to v5.33.2 Apr 14, 2021
@renovate renovate bot force-pushed the renovate/webpack-5.x branch from 51e67ce to 6064423 Compare April 19, 2021 17:18
@renovate renovate bot changed the title chore(deps): update dependency webpack to v5.33.2 chore(deps): update dependency webpack to v5.34.0 Apr 19, 2021
@renovate renovate bot force-pushed the renovate/webpack-5.x branch from 6064423 to e821f9a Compare April 21, 2021 09:32
@renovate renovate bot changed the title chore(deps): update dependency webpack to v5.34.0 chore(deps): update dependency webpack to v5.35.0 Apr 21, 2021
ruedap and others added 5 commits April 24, 2021 01:15
chore(deps): update typescript-eslint monorepo to v4.22.0
chore(deps): update dependency eslint to v7.24.0
chore(deps): update dependency webpack-cli to v4.6.0
chore(deps): update dependency ts-loader to v8.1.0
@ruedap ruedap merged commit 996f056 into main Apr 23, 2021
@ruedap ruedap deleted the renovate/webpack-5.x branch April 23, 2021 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deps Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants