From cc889cb27d3fbc032b1b66457bd158c5940ae1b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=CC=88rn=20Zaefferer?= Date: Fri, 8 Aug 2014 17:56:39 +0200 Subject: [PATCH] All: Prepare 1.15.0 release --- AUTHORS.txt | 5 +++++ History.md | 14 ++++++++++++++ README.md | 6 ++++-- bower.json | 1 - package.json | 2 +- 5 files changed, 24 insertions(+), 4 deletions(-) diff --git a/AUTHORS.txt b/AUTHORS.txt index cc335082e..757952b1c 100644 --- a/AUTHORS.txt +++ b/AUTHORS.txt @@ -83,3 +83,8 @@ Michał Gołębiowski XhmikosR Patrick Stapleton DarkPark +Oleg Gaidarenko +Mike Sidorov +Don Kirkby +don +Sean Xu diff --git a/History.md b/History.md index 82df5be30..df60571af 100644 --- a/History.md +++ b/History.md @@ -1,3 +1,17 @@ +1.15.0 / 2014-08-08 +================== + +* Assert: Implement Assert constructor with test context. This heavily improves debugging of async tests, since assertions can't leak into other tests anymore. Use the assert argument in your test callbacks to run assertions to get the full benefit of this. +* Assert: Improved the default message from assert.ok. Now assert.ok() outputs the exact value it received, instead of only saying it wasn't thruthy. +* Assert: Removal of raises, same and equals. These were deprecated a long time ago and finally removed. Use throws, deepEqual and equal instead. +* Core: Pass total amount of tests to QUnit.begin callback as totalTests. Will be used by Karma and other reporters. +* Dump: Move QUnit.jsDump to QUnit.dump. QUnit.jsDump still exists, but will be removed later. Use QUnit.dump. +* Dump: Output non-enumerable properties of TypeError. Makes it easier to compare properties of error objects. +* Reporter: Output only assertion count for green tests. Less visual clutter for passing tests. +* Reporter: Move HTML reporter to a new JS file. The HTML reporter is still bundled, but the code has been refactored to move it to a separate file. +* Test: Remove deprecated QUnit.current_testEnvironment +* Throws: support for oldIE native Error types. Error objects in IE are buggy, this works around those issues. + 1.14.0 / 2014-01-31 ================== diff --git a/README.md b/README.md index c243ec777..8c224c401 100644 --- a/README.md +++ b/README.md @@ -39,9 +39,11 @@ To run `grunt`, you need [Node.js](http://nodejs.org/download/), which includes Use [jquery-release](https://github.com/jquery/jquery-release). The following aren't yet handled there: -Install [git-extras](https://github.com/visionmedia/git-extras) and run `git changelog` to update History.md. Clean up the changelog, removing merge commits or whitespace cleanups. Commit this before using the release script. +* Install [git-extras](https://github.com/visionmedia/git-extras) and run `git changelog` to update History.md. Clean up the changelog, removing merge commits or whitespace cleanups. +* Run `grunt authors` and add any new authors to AUTHORS.txt +* Update the version property in `package.json` to have the right -pre version. Not necessary for patch releases. -Then run the script. +Commit these, then run the script. Update web sites, replacing previous versions with new ones: diff --git a/bower.json b/bower.json index 34ed73c7a..527aaa05a 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,5 @@ { "name": "qunit", - "version": "1.14.1pre", "main": [ "qunit/qunit.js", "qunit/qunit.css" diff --git a/package.json b/package.json index 2ea9f50e8..fc16e65de 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "qunitjs", "title": "QUnit", "description": "An easy-to-use JavaScript Unit Testing framework.", - "version": "1.14.1-pre", + "version": "1.15.0-pre", "homepage": "http://qunitjs.com", "author": { "name": "jQuery Foundation and other contributors",