npm webpack-dev-middleware 2.0.0

latest releases: 7.2.1, 7.2.0, 6.1.3...
6 years ago

This major release introduces a comprehensive refactor of the codebase and move to leverage more ES6 as supported by Node 6+. It also introduced a number of breaking changes, as outlined below.

Node Version Support

webpack-dev-middleware version 2 and higher will only support Node 6.x and higher. Active
LTS for Node 4.x ended October 31st, 2017 and entered maintenance on that date.
Likewise, the version 1.x branch of webpack-dev-middleware will enter maintenance on
that date.

Informative Changes

  • logging is now handled by log-level and follows the same patterns as
    webpack-dev-server.

Breaking Changes

  • watchDelay option was previous deprecated and has now been removed.
  • reportTime option renamed to logTime
  • noInfo option removed in favor of setting a logLevel higher than 'info'
  • quiet option removed in favor of logLevel: 'silent'
  • reporter signature changed to reporter(middlewareOptions, reporterOptions)

Don't miss a new webpack-dev-middleware release

NewReleases is sending notifications on new releases.