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 🚀 #1238

Merged
merged 1 commit into from Jun 23, 2017
Merged

Conversation

greenkeeper[bot]
Copy link
Contributor

@greenkeeper greenkeeper bot commented Jun 19, 2017

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 and of course you may always ask my humans.


Your Greenkeeper Bot 🌴

@greenkeeper greenkeeper bot added the Type: Dependencies Automatic updates for dependencies, managed by Renovate. label Jun 19, 2017
@astorije
Copy link
Member

Again?!

@xPaw xPaw force-pushed the greenkeeper/webpack-3.0.0 branch from 9464abc to 6f9acb0 Compare June 21, 2017 07:11
@astorije astorije added this to the 2.3.3 milestone Jun 22, 2017
@astorije astorije modified the milestones: 2.3.2, 2.3.3 Jun 23, 2017
@astorije astorije merged commit 74da20a into master Jun 23, 2017
@astorije astorije deleted the greenkeeper/webpack-3.0.0 branch June 23, 2017 05:43
matburnham pushed a commit to matburnham/lounge that referenced this pull request Sep 6, 2017
…3.0.0

Update webpack to the latest version 🚀
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Dependencies Automatic updates for dependencies, managed by Renovate.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants