Skip to content

Upgrading karma 0.13 to 1

Breaking0.13.22 → 1.7.1Breaking1Platform3Deprecated1New30Changed8Fixed54Other5

BreakingUpgrade verdict

1 breaking change and 3 platform requirement changes.

  • If you use your own context or debug HTML files, you must rewrite them to match the new structure.
  • Adds support for Node 8.
  • Karma now supports running on Node.js version 7.
  • Adds support for Node 6.
5 items need code or config changes

Node.js requirement changed in 1.7.1: 0.10 || 0.12 || 4 || 5 → 0.10 || 0.12 || 4 || 5 || 6 || 7 || 8.

Adds combine-lists ^1.0.0, qjobs ^1.1.4, range-parser ^1.2.0, safe-buffer ^5.0.1, tmp 0.0.31.

Drops batch.

Installs 322 packages in all (was 317).

Breaking1
Changes context.html and debug.html to rely on context.js and debug.js, requiring customContextFile and customDebugFile updates.
context.htmldebug.htmlcontext.jsdebug.jscustomContextFilecustomDebugFile
Platform3
Adds support for Node 8.
Adds support for Node 7.
Adds support for Node 6.
Deprecated1
Deprecates helper._.
helper._