Skip to content

Releases: karma-runner/karma

v0.9.7

04 Aug 09:28
Compare
Choose a tag to compare

Bug Fixes

  • init: install plugin as dev dependency (46b7a40)
  • init: trim the inputs (b72355c), closes #663
  • web-server: correct urlRegex in custom handlers (a641c2c)

Features

  • basic bash/zsh completion (9dc1cf6)
  • runner: allow passing changed/added/removed files (b598106)
  • watcher: make the batching delay configurable (fa13931)

v0.9.6

04 Aug 09:28
Compare
Choose a tag to compare

Features

  • pass command line opts through to browser (00d63d0)
  • web-server: compress responses (gzip/deflate) (8e8a2d4)

v0.9.5

04 Aug 09:28
Compare
Choose a tag to compare

Bug Fixes

  • init: generate config with the new syntax (6b27fee)
  • reporter: prevent throwing exception when null is sent to formatter (3b49c38)
  • watcher: ignore fs.stat errors (74ccc9a)
  • better serialization in dump/console.log (fd46365), closes #640
  • browsers_change event always has collection as arg (42bf787)
  • detect a full page reload, show error and recover (15d80f4), closes #27

Features

  • launcher: normalize quoted paths (f2155e0), closes #491
  • web-server: serve css files (4e30554), closes #431
  • capture window.alert (284c4f5)
  • fail if zero tests executed (5670415), closes #468
  • ship html2js preprocessor as a default plugin (37ecf41)

v0.9.4

04 Aug 09:28
Compare
Choose a tag to compare

Bug Fixes

  • config: allow parsing the config multiple times (78a7094)
  • config: better errors if file invalid or does not exist (74b533b)
  • config: make the config changes backwards compatible (593ad85)
  • launcher: better errors when loading launchers (504e848)
  • preprocessor: better errors when loading preprocessors (3390a00)
  • preprocessor: do not show duplicate warnings (47c641f)
  • reporter: better errors when loading reporters (c645c06)

Features

  • config: pass the config object rather than a wrapper (d2a3c85)

BREAKING CHANGES

  • please update your karma.conf.js as follows:
    // before:
    module.exports = function(karma) {
    karma.configure({port: 123});
    karma.defineLauncher('x', 'Chrome', {
    flags: ['--disable-web-security']
    });
    karma.definePreprocessor('y', 'coffee', {
    bare: false
    });
    karma.defineReporter('z', 'coverage', {
    type: 'html'
    });
    };
    // after:
    module.exports = function(config) {
    config.set({
    port: 123,
    customLaunchers: {
    'x': {
    base: 'Chrome',
    flags: ['--disable-web-security']
    }
    },
    customPreprocessors: {
    'y': {
    base: 'coffee',
    bare: false
    }
    },
    customReporters: {
    'z': {
    base: 'coverage',
    type: 'html'
    }
    }
    });
    };