v2.2.0

@sokra sokra released this Jan 17, 2017 · 41 commits to master since this release

The first webpack 2 release

No changes here. It's equal to the last RC, but with an updated version number.

Here is a migration guide if you want to migrate from webpack 1 to webpack 2.

Here is a blog post about the release.

Here is the documentation for webpack 2. It's new!

Downloads

v2.2.0-rc.7

@sokra sokra released this Jan 16, 2017 · 49 commits to master since this release

Bugfixes:

  • fix watch flag in config with multiple configs
  • hoist export * from correctly to prevent use before define bug

Optimization:

  • remove some properties which are set to the default value

Downloads

v2.2.0-rc.6

@sokra sokra released this Jan 16, 2017 · 58 commits to master since this release

Bugfixes:

  • It's now possible to use var injections (i. e. global, ProvidePlugin) in ESM

Downloads

v2.2.0-rc.5

@sokra sokra released this Jan 15, 2017 · 63 commits to master since this release

Breaking change:

  • Reverted breaking change from last version
  • In ES module (import or export exists in module):
    • exports is undefined
    • define is undefined
    • module.exports is read-only and undefined

Bugfixes:

  • stats are no longer ignored when using the CLI
  • engine excludes now correctly node.js 5
  • export default now inserts the semicolon at the correct position

Downloads

v2.2.0-rc.4

@sokra sokra released this Jan 11, 2017 · 79 commits to master since this release

Node.js dropped support for 0.12, so we do.

Breaking changes:

  • Using CommonJS or AMD export stuff in a ES2015 module will emit errors.

Usablility:

  • performance hints are off by default. It was too annoying, but you can still see the [big] flag by default.

Bugfixes:

  • webpack now exits with non-zero exit code when configuration Promise is rejected.

Features:

  • ProvidePlugin supports passing array to access members of a module
  • renamed NoErrorsPlugin to NoEmitOnErrorsPlugin, NoErrorsPlugin is still working but is deprecated

Development:

  • Migrated many internal classes to ES2015
  • improved tests, linting and CI
  • added testcases for CLI

Final Release

This is probably the last RC. We released it as final test.
If no critial bugs are discovered, we release 2.2.0 in < 10 days.

Downloads

v2.2.0-rc.3

@sokra sokra released this Dec 28, 2016 · 319 commits to master since this release

Bugfixes:

  • fixes chunk loading in old IEs
  • fixes error which prevented using arrow functions in require.ensure (ccfc608)
  • fixes bug when passing function to rules.use (44baa7c)
  • fixes bug for --progress output (0636e7c)
  • fixes bug with export * and non-harmony modules (ee3d53c)
  • fixes bug when removing assets from the compilation (cb4c209)

Downloads

v2.2.0-rc.2

@sokra sokra released this Dec 22, 2016 · 359 commits to master since this release

Features:

  • Stats output now disables only 15 modules by default (see new option stats.maxModules, --display-max-modules)
  • Stats for modules now includes a depth for modules which is the distance to the entry point.
  • add --display-depth for CLI to display the module depth in stats

Bugfixes:

  • Cached modules now correctly reset meta information
  • arrow functions in require.ensure now work correctly

Downloads

v2.2.0-rc.1

@SpaceK33z SpaceK33z released this Dec 17, 2016 · 385 commits to master since this release

Bugfixes:

  • webpack was not able to recover after an error in a file occured in watch mode
  • It was not possible to set UglifyJs screw_ie8 option

Downloads

v2.2.0-rc.0

@sokra sokra released this Dec 14, 2016 · 393 commits to master since this release

This is the first RC for webpack 2. We will try to avoid breaking changes now until webpack 3.

Bugfixes:

  • id in generated code of a context module is correctly escaped
  • context modules are now affected by NamedModulesPlugin, HashedModuleIdsPlugin, DllPlugin
  • performance hints ignore SourceMaps now
  • don't include multiple use stricts
  • imports also mark the module as ES2015 module like exports
  • exit the process correctly when watching and a critical error happens
  • externals are no longer moved by the commons chunk plugin

Features:

  • entrypoints are flagged with [big] if they are over the limit
  • improve validation errors
  • allow to alias loaders to a value with query
  • performance improvements

Downloads