DBCDK / dk5

DK5 Digital
GNU Affero General Public License v3.0
0 stars 0 forks source link

Update webpack to the latest version πŸš€ #274

Closed greenkeeper[bot] closed 7 years ago

greenkeeper[bot] commented 7 years ago

Version 3.0.0 of webpack just got published.

Dependency webpack
Current Version 2.6.1
Type devDependency

The version 3.0.0 is not covered by your current version range.

Without accepting this pull request your project will work just like it did before. There might be a bunch of new features, fixes and perf improvements that the maintainers worked on for you though.

I recommend you look into these changes and try to get onto the latest version of webpack. Given that you have a decent test suite, a passing build is a strong indicator that you can take advantage of these changes by merging the proposed change into your project. Otherwise this branch is a great starting point for you to work on the update.


Release Notes v3.0.0

Changes from 2.6.1 to 3.0.0

Features

  • node_modules no longer mangle to ~ in stats [breaking change]
  • timeout for HMR requests is configurable
  • added experimental Scope Hoisting (webpack.optimize.ModuleConcatenationPlugin)
  • some performance improvements
  • added output.libraryExport to select an export for the library
  • sourceMapFilename now supports [contenthash] [breaking change]
  • module.noParse supports functions
  • add node: false option to disable all node specific additions

Bugfixes

  • add workaround for breakpoints in eval source maps (chrome)
  • avoid creating redundant connections in chunk graph
  • enable chunk modules in stats by default
  • add special behavior when using CommonsChunkPlugin with only async option
  • error is shown when hot-only HMR fails
  • fixed a few issues with weird stats output [breaking change]
  • fixed a bug in occurrence order plugin [breaking change]
  • optimization plugins now only affect the current compilation [breaking change]
  • context now also include index files [breaking change]
  • require.resolve evaluate truthy [breaking change]
  • import order no longer adds to hash
  • Hashing for RawModule fixed

Internal changes

  • child compilations get records and cache assigned (they need a unique name) [breaking change]
  • Set is used for Child.modules, Module.chunks, Reason.chunks [breaking change]
  • uglifyjs-plugin is moved into separate repository

Changes from 3.0.0-rc.2 to 3.0.0

Bugfixes

  • fix duplicate dependencies in ConcatenatedModule
  • Hashing for RawModule fixed

Internal changes

  • uglifyjs-plugin is moved into separate repository
Commits

The new version differs by 176 commits.

  • bf4ec9c 3.0.0
  • 9feda63 Merge pull request #5028 from webpack/feature/externalize_uglify_plugin
  • 49d6e38 Merge pull request #5086 from webpack/ci/node-8
  • 3dcb133 OSX test on node.js 8
  • f4b8785 Merge pull request #5012 from webpack/TheLarkInn-patch-1
  • d26c402 chore(deps): upgrade uglifyjs-webpack-plugin deps to get latest webpack-sources so tests pass
  • 3da4f3e Merge pull request #5085 from jbellenger/jbellenger/rawmodule-hash
  • 8c9dc14 fix RawModule hashing
  • c2c5d73 Update README.md
  • 316d4b9 Merge pull request #5084 from timse/remove-duplicate-code
  • ae18552 update test case with changed hash due to less clutter in dependencies
  • fc20348 unite iteration through modules into one loop
  • 083843e remove code that pushes arrays of dependencies into dependencies
  • ab636b0 Merge pull request #5075 from andreipfeiffer/master
  • 3b3449c Refactor: use const for non reassignable identifier

There are 176 commits in total.

See the full diff

Not sure how things should work exactly? There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html) and of course you may always [ask my humans](https://github.com/greenkeeperio/greenkeeper/issues/new).

Your Greenkeeper Bot :palm_tree:

greenkeeper[bot] commented 7 years ago

Version 3.1.0 just got published.

Update to this version instead πŸš€

Release Notes v3.1.0

Features:

  • Allow different library names for UMD
  • Support for passing a defined identifier as this in a IIFE
  • Use the new resolve performance option cacheWithContext: false by default when it's safe
  • Support array of functions as configuration
  • add sortModules to Chunk which is required in extract-text-plugin to support webpack 3

Bugfixes:

  • ! with truthy webpack identifier will evaluate correctly
  • assets and dependencies are preserved in concatenated modules
  • Fix some internal usage of deprecated APIs
Commits

The new version differs by 95 commits.

  • 4bb3018 3.1.0
  • 7e757cd Merge pull request #5194 from webpack/feature/hoist_regex_literals
  • 2879fb3 Merge pull request #5225 from hulkish/feature/added-chunk-sortModules-method
  • 5f08aa4 removed default params for node 4
  • cadf9f7 added sortModules method to Chunk class
  • 70b7d2f fix(sp): spelling mistake in const name
  • 0ab36c4 Merge pull request #5196 from AndersDJohnson/multi-compiler-functions
  • 2eccb19 Merge pull request #5081 from KTruong888/4099_es6_refactor_lib_hot_module_replacement_plugin
  • e365b2e Merge pull request #5210 from ematipico/master
  • 7913789 Merge pull request #5220 from liuyuanyangscript/master
  • 15becbd README.md bugfix
  • 2ccc1fd Changed statement 'var' to 'const'
  • a589a6c Merge pull request #5183 from kahwee/patch-1
  • c2fa5d4 feat(perf): remove unneded regexp escape
  • 987a9f3 feat(perf): hoist final regexp

There are 95 commits in total.

See the full diff

greenkeeper[bot] commented 7 years ago

Version 3.2.0 just got published.

Update to this version instead πŸš€

Release Notes v3.2.0

Bugfixes:

  • fix duplicate entries in SourceMaps.
  • call imported functions with correct context.
  • support strictThisContextOnImports in ConcatenatedModules.
  • fix a bug which prevents parsing arguments for imported function calls when using strictThisContextOnImports.
  • support nested .call() renames of this.
  • fix typeof with require.resolve(Weak).
  • fix hashing with ConcatenatedModules.
Commits

The new version differs by 27 commits.

  • d005990 3.2.0
  • 67c17a6 Merge pull request #5234 from webpack/bugfix/source-map-duplicate
  • 85ffe1e add test case
  • 5a64498 Merge pull request #5260 from ljqx/iife-nested-this-properties
  • a6c8362 Merge pull request #5261 from webpack/bugfix/import-context-strict-this
  • 6842d50 Call imports with the correct context.
  • 12a1352 [Parser] rename this in .call(this)
  • bcde519 Merge pull request #5082 from KTruong888/4099_es6_refactor_lib_compiler
  • edd6228 fix linting
  • 79926b3 - Edit PR to use normal functions again due to β€˜arguments’ not working with arrow functions
  • 4266ab8 - Fix compiler test as discussed in PR
  • 13bc80b - Put Watching as a property on Compiler rather than a static method
  • 6dffcca - Remove β€˜self’ references from lib/Compiler and use more arrow functions instead
  • 4378c92 - Add more tests
  • bfd5ed9 - Fix linter issues

There are 27 commits in total.

See the full diff

greenkeeper[bot] commented 7 years ago

Version 3.3.0 just got published.

Update to this version instead πŸš€

Release Notes v3.3.0

Features:

  • HMR logging now displays an expandable shorter module id.

Bugfixes:

  • Fix refactoring typo this.compiler.compiler is not a function
  • NormalModule source can be cache between compilations (performance for incremental builds)
  • webpack now also watches when missing directories are added (i. e. when a module was missing and is installed)
Commits

The new version differs by 23 commits.

  • 5b119e7 3.3.0
  • b128db1 Merge pull request #5290 from webpack/bugfix/caching-module
  • a064968 Merge pull request #5297 from webpack/bugfix/watch-missing-directories
  • 329a805 add test case for error recovery while watching
  • b4c74b2 allow watch cases to have errors per step
  • f3ddcdd upgrade watchpack
  • e72c3b2 missing dependencies could be files too
  • c1a0244 store hash in depndencyTemplates Map instead of comparing identify
  • 981fd23 Merge pull request #5253 from rrharvey/feature/hmr-module-names
  • b093f02 only group HMR module updates if name contains loaders
  • 6c5dc1b respect log level in HMR client log groups
  • d312022 Merge pull request #5269 from huangc28/fix-compilerjs-error-undefined-compiler
  • 6c0e452 Fix typo that causes "TypeError: this.compiler.compiler is not a function" since compiler is undefined.
  • 95c7fa4 Merge pull request #3103 from kutyel/master
  • 43f967c Adjust style to es6 :tada:

There are 23 commits in total.

See the full diff

greenkeeper[bot] commented 7 years ago

Version 3.4.0 just got published.

Update to this version instead πŸš€

Release Notes v3.4.0

Features:

  • Improved optimization bailout messages
  • NamedModulesPlugins and HashedModuleIdsPlugin work now properly with delegated modules (DllReferencePlugin) and externals.
  • add --config-name option to choose a config by name for compiling a part of the config
  • Improved error message when parsing in ModuleConcatenationPlugin fails
  • Upgrade a lot of dependencies
  • Child compilation names are not relative in stats

Bugfixes:

  • Fix setting boolean options in configuration (profile, bail)
  • Fix "uncatched" exception in HMR runtime code
  • Fix two cases where ModuleConcatenationPlugin crashes (missing internal name)
    • Concatating delegated modules (from Dlls)
    • reference to the default export of the root module
  • Fix --module-bind-pre and --module-bind-post

Performance:

  • Performance improvements in
    • SourceMapDevToolPlugin
    • AggressiveSplittingPlugin
    • NormalModule variable injection
    • Parser
    • RecordIdsPlugin
    • Stats
Commits

The new version differs by 88 commits.

  • c8732c8 3.4.0
  • d1619d4 Merge pull request #4856 from matthewmeyer/hashDependantModuleIds
  • b159ec2 Merge pull request #5180 from webpack/feature/improve-module-concat-bailout-messages
  • 32264b8 Merge branch 'master' into feature/improve-module-concat-bailout-messages
  • 4b12c56 Merge pull request #5369 from webpack/bugfix/scope-hoisting-dll
  • 440b5df use original request as libIdent for delegated modules
  • 35c8097 Make sure it's a real module when choosing for ModuleConcatenation
  • d4f3bc3 Merge pull request #5150 from webpack/test/benchmark
  • bb0f41a Merge pull request #5362 from webpack/deps/minor-updates
  • 544fee4 fix lint problem
  • 3598359 update stats test for larger file
  • 378ad46 update all dependencies to latest compatible version
  • 008ac78 Merge pull request #5353 from webpack/deps/extract-text-webpack-plugin
  • ee358bd Merge pull request #5351 from webpack/deps/supports-color
  • 91332b6 Merge pull request #5356 from webpack/deps/i18n-webpack-plugin

There are 88 commits in total.

See the full diff

greenkeeper[bot] commented 7 years ago

Version 3.4.1 just got published.

Update to this version instead πŸš€

Release Notes v3.4.1

Bugfixes:

  • fix incorrect warnings about exports when using the DllReferencePlugin
Commits

The new version differs by 3 commits.

  • 1f064bc 3.4.1
  • 8f4a9d2 Merge pull request #5375 from webpack/bugfix/delegated-exports
  • 9dbed73 integrate the delegated module better into the exports flagging process

See the full diff

greenkeeper[bot] commented 7 years ago

Version 3.5.0 just got published.

Update to this version instead πŸš€

Release Notes v3.5.0

Features:

  • add stats.excludeAssets to allow to filter assets in list (@ldrick)
  • add import(/* webpackMode: "weak" */ "module") to try to load a module without network request (@faceyspacey)
  • add 4. argument to require.context which is the context mode. Can be false, "eager", "lazy-once", "weak" and "async-weak". (@faceyspacey)
  • require.resolveWeak now support expressions (@faceyspacey)
  • generate only a single require for modules references in scope-hoisted modules (ModuleConcatenationPlugin)

Bugfixes:

  • keep correct import order when using the ModuleConcatenationPlugin
  • Generate shorter, more readable identifiers in ConcatenatedModule
  • --help output is flushed before process exit (@esbenp)
  • exit code is reliable reported for CLI validation error (@polomsky)
  • stats options are now validated by schema (@esbenp)
  • fixes problem when using the CommonsChunkPlugin in async mode without name argument
  • fixes description of --resolve-extensions (@tomek-d)
  • fixes has no internal name when using dependency variable in root of scope-hoisted modules (ModuleConcatenationPlugin)

Examples:

Commits

The new version differs by 68 commits.

  • 75a8ffe 3.5.0
  • afa28c0 Merge pull request #5453 from webpack/bugfix/import-order-scope-hoisting
  • a569764 Merge pull request #5457 from tomek-d/resolve-extensions-typo
  • 0b8023a fixes #5096
  • 29d1336 Fixed bug in --resolve-extensions parameter documentation
  • 39051df update example
  • 7619c43 generate more pretty names for nested concatenation
  • 6607cfa remove ordering in ModuleConcatenationPlugin
  • 2bbbf50 Merge pull request #5437 from esbenp/fix-help-output-test-5345
  • 9f5bffa beautify
  • 334c1c4 remove unused variable
  • 8835751 fix conflict handling
  • 7099fcc update stats test case
  • b77a52b add reserved words to avoid syntax errors
  • 16a5831 use old new Buffer api for node 4

There are 68 commits in total.

See the full diff

greenkeeper[bot] commented 7 years ago

Version 3.5.1 just got published.

Update to this version instead πŸš€

Release Notes v3.5.1

Bugfixes:

  • fix invalid syntax when using non-number ids with Scope Hoisting
Commits

The new version differs by 3 commits.

  • 5be9593 3.5.1
  • 43d877f Merge pull request #5460 from webpack/bugfix/stringify-concated
  • b05b49b fix invalid generated code with scope hoisting and non-number ids

See the full diff

greenkeeper[bot] commented 7 years ago

Version 3.5.2 just got published.

Update to this version instead πŸš€

Release Notes v3.5.2

Bugfixes:

  • fixes stack overflow with circular dependencies (ModuleConcatenationPlugin)
Commits

The new version differs by 12 commits.

  • 25302e5 3.5.2
  • f04f066 Merge pull request #5471 from webpack/bugfix/stack-overflow-concat
  • 54fbfe0 Merge pull request #5467 from moschan/refactor-entry-option-plugin
  • fb0ca64 Merge pull request #5466 from hzoo/patch-1
  • b06d69f rollback travis to precise dist
  • bc67522 fixes stack overflow with circular dependencies
  • 9a87824 Refactor "EntryOptionPlugin.js"
  • 4805027 add fix command for eslint
  • 0059bcf Merge pull request #5458 from samccone/sjs/remove-function-redeclare
  • a2601c3 update examples
  • 1869688 fix building of examples
  • 8b3772d Remove function redeclaration.

See the full diff

greenkeeper[bot] commented 7 years ago

Version 3.5.3 just got published.

Update to this version instead πŸš€

Release Notes v3.5.3

Bugfixes

  • fixes a name conflict with the ModuleConcatenationPlugin
Commits

The new version differs by 7 commits.

  • 4b2b1ad 3.5.3
  • 4430af4 Merge pull request #5487 from webpack/bugfix/issue-5481
  • b7c3491 Merge pull request #5485 from webpack/bot/inactive
  • e1bfecf Merge pull request #5486 from webpack/bot/pr-pending
  • 0e73a24 also generate a new identifier for interop name
  • 0ad5d21 Wait for CI not pending until reporting CI status
  • 72420fa mark and close inactive issue after half a year

See the full diff

greenkeeper[bot] commented 7 years ago

Version 3.5.4 just got published.

Update to this version instead πŸš€

Release Notes v3.5.4

Bugfixes

  • Warnings and errors contribute to hash, which shows stats on warning-only change
  • HMR: avoid crash when calling accept handler on disposed module
  • HMR: disable Scope Hoisting for modules using HMR
  • restore backwards compatibility of ConcatenatedModule (@kisenka)

Features:

  • Add option to limit the number of parallel processed modules (parallelism)
Commits

The new version differs by 22 commits.

  • 990563f 3.5.4
  • 2475c6a Merge pull request #5506 from webpack/bugfix/concat-hmr
  • 0ea37a5 Disallow Scope Hoisting when using HMR
  • 287d587 Merge pull request #5480 from kisenka/concatenated-module-in-3.5-compat
  • 3d272ac fix: restore modules property of ConcatenatedModule (fixes #5477)
  • 7a36951 Merge branch 'master' of https://github.com/webpack/webpack into concatenated-module-in-3.5-compat
  • 839915c Merge pull request #5501 from webpack/bugfix/hash-watch-warnings-errors
  • 93af585 fix stats tests
  • 3820157 fix lint problem
  • 0925a9d Merge pull request #5502 from webpack/feature/limit-processed-modules
  • 09c34cf remove hash from stats test with error
  • 930c019 fix validation output test
  • f9bf8a9 Limit the number of parallel processed modules
  • 7905bf5 Warnings and Errors contribute to hash
  • f7bcba7 Merge pull request #5500 from webpack/bugfix/hmr-disposed-handler

There are 22 commits in total.

See the full diff

greenkeeper[bot] commented 7 years ago

Version 3.5.5 just got published.

Update to this version instead πŸš€

Release Notes v3.5.5

Bugfixes:

  • fixes a bug where modules where incorrectly removed from chunks resulting in call on undefined errors (can happen when using externals and CommonChunkPlugin)
  • Modules no longer loose __esModule flag on incremental build with ModuleConcatenationPlugin
  • __esModule flag is now only set when needed with the ModuleConcatenationPlugin
Commits

The new version differs by 5 commits.

  • ef6ab68 3.5.5
  • 6bdd9dc Merge pull request #5535 from webpack/bugfix/incremental-concat-compat
  • f75418f Merge pull request #5534 from webpack/bugfix/incorrect-graph
  • c5deb59 set compatiblity flag correctly even after incremental build
  • 99c2706 Ensure that graph structure stay consistent

See the full diff

greenkeeper[bot] commented 7 years ago

Version 3.5.6 just got published.

Update to this version instead πŸš€

Release Notes v3.5.6

Bugfixes

  • --watch-poll also accepts a number now (@civalin)
  • optimization bailout messages are now correctly cleared on incremental compilation (@STRML)
  • (back)slashes in querystring are not correctly handled when making the request relative to context (@donocode)
  • orginalError -> originalError in HMR API (@sokra)
  • fix Cannot read property '0' of undefined in harmony modules (@sokra)
  • Handle require to root of concatenated module correctly and don't generate __webpack_require__(null) (@sokra)
  • No longer use async as variable name (@sokra)
  • Object in options are now cloned when applying defaults (@sokra)

Performance

  • Performance improvements for SourceMap devtool (@filipesilva)
Commits

The new version differs by 31 commits.

  • 92d5c20 3.5.6
  • 978e9f9 Merge pull request #5635 from webpack/bugfix/clone-options
  • 5020104 allow boolean values for node and performance
  • a4cf91f Merge pull request #5633 from webpack/bugfix/indirect-import
  • f04cce8 clone options and don't modify them
  • 1fb9eb1 fixes #5624
  • fb8afe7 Merge pull request #5623 from webpack/bugfix/concat-require-root
  • 1b85726 Merge pull request #5621 from webpack/bugfix/hmr-api
  • af470a5 handle inner non-harmony dependencies correctly in ConcatenatedModule
  • ccc4317 fix typo in HMR API
  • 9d9ac3b Merge pull request #5608 from xekri/patch-1
  • 633eac4 typo fix
  • b75b20b Merge pull request #5595 from filipesilva/fix-deopts
  • c8fd542 Merge pull request #5599 from donocode/master
  • 174fd4e Prevent NormalModule contextify from contextifying query parameters

There are 31 commits in total.

See the full diff

greenkeeper[bot] commented 7 years ago

Version 3.6.0 just got published.

Update to this version instead πŸš€

Release Notes v3.6.0

Bugfixes

  • Using folder names on CLI now correctly uses folder as entry (@gyandeeps)
  • Assign correct cache object to child compiler (@sokra)
Commits

The new version differs by 17 commits.

  • 6226759 3.6.0
  • 2b1046e Merge pull request #5671 from webpack/bugfix/child-cache
  • 3d99168 remove unused code, add todo comment
  • 46432c4 add test for notCacheable in CachePlugin
  • 460e6b6 remove incorrect tests
  • 0975d13 assign correct cache to child compilation
  • cc03d8e fix sponsors list for opencollective API changes
  • f6285d2 Merge pull request #5652 from JLHwung/remove-duplicate-eslintrc-configuration-item
  • 5463c1e add next PR label
  • d87c88e Merge pull request #5517 from webpack/ci/travis
  • 2f428aa CI improvements
  • 9e14196 update to newer travis image
  • 44df871 chore(eslint): remove duplicate configuration item
  • 2206ee0 Merge pull request #5625 from gyandeeps/issue5576
  • 4f5e78b Use statsSync isDirectory to check dir

There are 17 commits in total.

See the full diff