@sokra sokra released this Feb 15, 2019 · 2 commits to master since this release

Bugfixes

  • update @webassemblyjs for bugfixes
Assets 2
Pre-release

@sokra sokra released this Feb 7, 2019 · 31 commits to master since this release

(based on 4.29.3)

Bugfixes

  • added option optimization.mangleExports (enabled only in production mode, depends on used and provided exports)
  • fix duplicate runtime modules when using runtimeChunk: "single"
  • add runtime requirement for AMD define on module

Refactoring

  • Refactored how information about exports are stored internally

Full Changelog

Feedback

Assets 2

@sokra sokra released this Feb 7, 2019 · 31 commits to master since this release

Bugfixes

  • fixes a bug where import() context uses __webpack_require__.e, but it is not in the runtime
  • WebpackErrors now console.log correctly in node > 10
Assets 2

@sokra sokra released this Feb 6, 2019 · 45 commits to master since this release

Internal changes

  • update dependencies
Assets 2

@sokra sokra released this Feb 4, 2019 · 120 commits to master since this release

Bugfixes

  • add missing __esModule flag when modules are concatenated, but without usage information
Assets 2
Pre-release

@sokra sokra released this Jan 27, 2019 · 134 commits to master since this release

(based on 4.29.0)

Features

  • performance improvements to persitent caching
  • measure size of cache objects to decide if they should be lazy or eagerly loaded
  • remove json-stable-stringify dependency

Bugfixes

  • flag dependencies usage correctly when multiple entries are used

Full Changelog

Feedback

Assets 2

@sokra sokra released this Jan 20, 2019 · 134 commits to master since this release

Important Note for npm users

This release updates some dependencies, which may trigger a npm bug. See here for the webpack issue. The npm bug has been fixed, but a new npm version has not been released yet.

For workarounds see this comment.

Eventually the fix will be to upgrade npm once the bugfix is released.

Features

  • update acorn to v6
  • limit the number of in parallel written output files to 15
  • add output.futureEmitAssets which gives the emitting logic of webpack 5
    • assets are replaced with SizeOnlySources
    • reading assets after emitting is no longer allowed
    • This allows memory to be garbage-collected
Assets 2
Pre-release

@sokra sokra released this Jan 19, 2019 · 144 commits to master since this release

(based on 4.28.4)

Breaking Changes

  • Replace Source in assets with SizeOnlySource after emitting
    • Do no read source or map from assets after emitting
  • upgraded webpack-sources to new major version
  • no longer sort file/context/missingDependencies in Compilation
  • change Cache Plugin API for better performance
    • got hook removed
    • get hook as new argument gotHandlers

Features

  • add cache.idleTimeout and cache.idleTimeoutForIntialStore to delay cache storing while idle
  • log a warning when loglevel is at least warning and serialization in pack fails

Bugfixes

  • improve data reading from cache file and error message when cache file is incomplete

Performance

  • removed .json from extensions in resolveLoader
  • add memory caching for contextify

Full Changelog

Feedback

Assets 2
Pre-release

@sokra sokra released this Feb 7, 2019 · 144 commits to master since this release

Broken see v5.0.0-alpha.8 for changelog

Assets 2
Pre-release

@sokra sokra released this Jan 15, 2019 · 144 commits to master since this release

(based on 4.28.4)

  • fixed a max stack trace crash with very depth module chains
  • write out buffers of the cache file in a streaming way (to avoid duplicating memory)
  • add resolvedModuleId resolvedModuleIdentifier and resolvedModule to reasons in Stats which point to the module before optimizations like scope hoisting
  • show resolvedModule in Stats toString output
  • in bail mode: errors are no longer hidden by a "Queue was stopped" error
  • loader-runner was upgraded: https://github.com/webpack/loader-runner/releases/tag/v3.0.0

Full Changelog

Feedback

Assets 2