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

Update webpack to the latest version 🚀 #4219

Merged
merged 1 commit into from
Mar 23, 2017
Merged

Conversation

greenkeeper[bot]
Copy link
Contributor

@greenkeeper greenkeeper bot commented Mar 22, 2017

Version 2.3.0 of webpack just got published.

Dependency webpack
Current Version 1.14.0
Type devDependency

The version 2.3.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 v2.3.0

Features:

  • add extensions option to DllReferencePlugin
  • add warningsFilter to UglifyJsPlugin to hide warnings selectively
  • add extractComments to UglifyJsPlugin to move kept comments into separate file (i. e. LICENSE file)
  • validate relative and absolute paths in configuration
  • validate stats options
  • allow to match on compiler (name in configuration) in rules
    • i. e. allows to specify different rules for extract-text-webpack-plugin or html-webpack-plugin
  • Allow to pass multiple entries via CLI
  • Performance improvements
  • CommonsChunkPlugin give errors on incorrect options
  • add module.strictExportPresence to make missing export an error instead of warning
  • Compiler emits watch-close event when the watcher is closed
  • Allow additional compress options in UglifyJsPlugin
  • empty chunk numbers are not flags in every chunk, this improves caching invalidation

Bugfixes:

  • OccurrenceOrderPlugin now counts occurrences correctly
  • Fix cheap-source-maps when combined with ES Modules (lines were offset)
  • Watcher now detects file deleting correctly
  • Resolve output path if relative output path is given via CLI
  • Handle stack traces in errors correctly
  • Some usages of System now generate valid code i. e. System.global
  • Dynamic property names are now parsed and can contain webpack stuff (i. e. imports)
  • Empty enviroment variables are now supported in the EnvironmentPlugin
  • (Maybe) Fixes chunk loading in IE when script is cached
Commits

The new version differs by 2046 commits (ahead by 2046, behind by 66).

  • 46dc08e 2.3.0
  • 01c06de Merge pull request #4527 from webpack/bugfix/issue-4472
  • 23e1f7c install Promise early in chunk cache
  • 0c137cb Merge pull request #4521 from chicoxyzzy/patch-1
  • 98ea823 Merge pull request #4503 from eirikurn/empty-env-variables
  • 0058a2e Use ts-loader instead of deprecated typescript-loader
  • 3e787ea Merge pull request #4502 from webpack/TheLarkInn-patch-1
  • 335ce5f Merge pull request #4471 from SteveMieskoski/increase-coverage-for-AutomaticPrefetchPlugin
  • fadafb2 Merge pull request #4504 from timse/do-not-merge-empty-chunks
  • a9972a3 Merge pull request #4505 from rouzbeh84/hotfix/hotlinking-examples-index
  • a5272e8 hotlink examples in readme
  • d67e125 fix up tests
  • d7ae9ad do not incorporate chunks without modules
  • 003cef9 EnvironmentPlugin: Support empty env variables
  • 7db849d Update README.md

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
Copy link
Contributor Author

greenkeeper bot commented Mar 22, 2017

Version 2.3.1 just got published.

Update to this version instead 🚀

Commits

The new version differs by 9 commits .

  • 4b9b660 2.3.1
  • d1cf8b4 Merge pull request #4538 from webpack/feature/error-emit-warning
  • ec46a0d Merge pull request #4539 from mp4096/master
  • 18566a1 Fixed link to the Traceur repo in README
  • 751fd9b add stack to non-Error error emitted
  • b1acb2e Merge pull request #4537 from webpack/bugfix/newline-validation
  • 49ccf44 Merge pull request #4536 from webpack/bugfix/issue-4532
  • 10c44e5 fix extra newline in validation
  • 915c150 fix bug in MinChunkSizePlugin

See the full diff.

@gkatsev gkatsev merged commit 0223057 into master Mar 23, 2017
@gkatsev gkatsev deleted the greenkeeper/webpack-2.3.0 branch March 23, 2017 20:21
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.

1 participant