Releases: qunitjs/qunit
Releases · qunitjs/qunit
2.2.1
2.2.0
Added
- Core: Support running in a sandboxed iframe.
- Core: New event emitter. (Trent Willis) #1087
- Core: New
QUnit.todo()
method. (Trent Willis) #1080 - Assert: New
assert.step()
andassert.verifySteps()
methods. (Trent Willis)(Trent Willis) #1075
Changed
- Core: QUnit.onError now expects error or error-like object.
- Core: Include "todo" in assertion event data.
Fixed
- HTML Reporter: Ensure window.onerror return values are correct.
- Core: Fix start on Node when autostart is not set to true. #1105
- Core: Fix double begin when calling start in Node.
- Core: Rewrite QUnit.equiv to be breadth-first.
- Core: Optimize the "set" and "map" callbacks.
- Core: Fix console error in IE9. #1093
2.1.1
- All: Remove deprecated 1.x features
- Assert: Deprecate assert.push
- Build: Remove unnecessary QUnit.load call
- Core: QUnit.start does not require calling QUnit.load
- HTML Reporter: Add an abort button
2.1.0
- All: Update License to JSFoundation
- All: Use Rollup and Babel to build
- Core: Support a predefined QUnit.config
- Core: Fix clearing of storage on done
- Core: Always report if test previously failed
- Core: Introduce config.storage option
- Core: Load the onerror module
- Core: Fix QUnit.equiv object methods comparison
- Core: Support multiple nested modules hooks properly
- Core: Remove jsDump. (#1034)
- Core: Fire moduleStart only when starting module for the first time
- Core: Fire moduleDone when actually finished with module
- HTML Reporter: Decouple from sessionStorage reordering logic
- HTML Reporter: Fix expanding failed tests when collapse is false.
- HTML Reporter: Handle URL params named like Object.prototype properties
- Build: Update Node support versions
- Build: Use SPDX format in bower.json's license
2.0.1
- Core: Add extra guard against multiple begin()s
- Test: Use a single property for tracking all async deferred calls
- Core: Use callback-based pause/resume for better multi-pause isolation
- Core: Better isolate async abstractions
- Core: Improve internal async handling by removing resumed
- HTML Reporter: Fix apply/reset button visibilty
- Core: Ensure runtime for skipped tests is 0
- Dump: Add parser for Symbol
2.0.0
Check out the upgrade guide at https://qunitjs.com/upgrade-guide-2.x/
- All: Remove deprecated features
- All: Remove QUnit.config.autorun
- All: Code cleanup for non-supported browsers
- All: Prevent async tests from having multiple resume timeouts
- All: Decouple Core fixture reset from HTML reporter
- Assert: Remove throws signature with string expected value
- Dump: update typeOf to extract extra complex type definition
- Core: Introduce before/after hooks for modules
- Core: Decode "+" to " " (space) in url params
- Core: Throw error if QUnit is already defined globally
- HTML Reporter: Add reset/apply buttons in the module picker
- HTML Reporter: Improve module picker accessibility
- HTML Reporter: color/background order consistency
- HTML Reporter: Further improve module picker styling
- HTML Reporter: Improve toolbar styles
- HTML Reporter: Multi-select module dropdown
- Test: Refactor test.semaphore usage
- Tests: Test on all Node.js releases supported by upstream
2.0.0-rc1
Check out the upgrade guide at http://qunitjs.com/upgrade-guide-2.x/
- Core: Introduce before/after hooks for modules
- HTML Reporter: Multi-select module dropdown
- Assert: Remove throws signature with string expected value
- All: Remove deprecated features
- All: Remove QUnit.config.autorun
- All: Code cleanup for non-supported browsers
- Test: Refactor test.semaphore usage
1.23.1 - Fix support for Rhino
- Core: Prevents throws keyword from breaking Rhino environments
- Core: Be consistent in function type checks
1.23.0
- Core: Confine URL parameter interactions to browser-specific code
- Core: Reintroduce
QUnit.config.module
- Core: Implement moduleId support for nested modules
- Core: Stop splitting URL parameter values by commas
- Core: Introduce moduleId filtering
- Core: Introduce
QUnit.config.seed
for running tests in pseudo-random order. - Dump: Fix asymmetrical function dump argument spacing.
- HTML Reporter: Fix escaping of diffs
- HTML Reporter: Add message explaining missing diff
- HTML Reporter: DRY out interface initialization
- HTML Reporter: Move module name sort into begin callback
- HTML Reporter: Remove redundant document guards
- HTML Reporter: Fix hidepassed element check
- Assert: Treat Set and Map as unordered in QUnit.equiv