Skip to content

4.0.0-alpha.6

Pre-release
Pre-release
Compare
Choose a tag to compare
@jason0x43 jason0x43 released this 12 Jul 01:28
· 425 commits to master since this release

Overview

This release contains several new features as well as some minor behavioral changes. It also updates Intern and its dependencies to support TS 2.4.

New features

  • Allow calling on() with no event (equivalent to using the '*' event)
  • Add back some register/get specializations (register/getInterface, register/getReporter)
  • Loading 'intern' in Node will result in an executor being installed globally (like loading the intern.js script in a browser)
  • Add a new require config property -- specifies scripts or modules that should be loaded just after config resolution but before anything else
  • Explicitly pass the test to test functions, and the suite to suite lifecycle hooks, to improve support for using arrow functions as callbacks

Changes

  • Expose chai directly via the getPlugin system
  • Synchronously install plugins that don't return promises
  • Include HTML reporter CSS in browser bundle
  • Update all dependencies
  • Update typings to satisfy TypeScript 2.4
  • Command line args now override node- and browser-specific config properties

Fixes

  • Fix a bug in plugin registration where resolved plugin values weren't being installed