Skip to content

Update webpack to the latest version 🚀 #14

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

greenkeeper[bot]
Copy link

@greenkeeper greenkeeper bot commented Jul 6, 2017

Version 3.1.0 of webpack just got published.

Dependency webpack
Current Version 2.3.3
Type devDependency

The version 3.1.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.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 643 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 250 commits in total.

See the full diff

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot 🌴

greenkeeper bot added a commit that referenced this pull request Jul 11, 2017
@greenkeeper
Copy link
Author

greenkeeper bot commented Jul 11, 2017

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 added a commit that referenced this pull request Jul 15, 2017
@greenkeeper
Copy link
Author

greenkeeper bot commented Jul 15, 2017

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 added a commit that referenced this pull request Jul 25, 2017
@greenkeeper
Copy link
Author

greenkeeper bot commented Jul 25, 2017

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 added a commit that referenced this pull request Jul 26, 2017
@greenkeeper
Copy link
Author

greenkeeper bot commented Jul 26, 2017

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 added a commit that referenced this pull request Aug 8, 2017
@greenkeeper
Copy link
Author

greenkeeper bot commented Aug 8, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant