From 9b5c20cc19d4d28a20e88ac5201b06adcebc4cac Mon Sep 17 00:00:00 2001 From: "Davis W. Frank" Date: Mon, 10 Nov 2014 17:15:57 -0800 Subject: [PATCH] Adding first crack at 2.1 release notes --- release_notes/2.1.0.md | 64 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 release_notes/2.1.0.md diff --git a/release_notes/2.1.0.md b/release_notes/2.1.0.md new file mode 100644 index 00000000..f3cc1efd --- /dev/null +++ b/release_notes/2.1.0.md @@ -0,0 +1,64 @@ +# Jasmine Core 2.1.0 Release Notes + +## Summary + +This is the first pre-release of Jasmine 2.1. + +## Features + +- Support for focused specs via `fit` and `fdescribe` +- Support for `beforeAll` and `afterAll` +- Support for an explicit `fail` function +- Allow custom timeout for `beforeEach`, `afterEach`, `beforeAll`, `afterAll` and `it` +- Spies now track return values +- Testing in Node.js via the official Jasmine Node Module +- Spec results now have `suiteResults` method that behaves similarly to to `specResults` +- HtmlReporter shows error alerts for afterAllExceptions + + +## Bugs + +- CI now works for IE8 (this was releated to `ConsoleReporter` below) +- Detect global object properly when getting the jasmine require obj + - Fixes #569 + - [Tracker Story #73684570](http://www.pivotaltracker.com/story/73684570) + +## Deprecations + +- `ConsoleReporter` as part of Jasmine core + +### `ConsoleReporter` + +The Console Reporter exists nearly entirely for the old manner of running Jasmine's own specs in node.js. As we are now supporting node.js officially, this reporter code no longer needs to be in this repo and instead will be in the Jasmine npm. + +For now you will see a deprecation message. It will be removed entirely in Jasmine 3.0. + +## Documentation + +- Release Notes from previous releases now live at [Jasmine's GitHub release page][releases]. See Tracker Story #[54582902][tracker_1] +- Better instructions for releasing new documentation + +[releases]: https://github.com/pivotal/jasmine/releases +[tracker_1]: http://www.pivotaltracker.com/story/54582902 + + +## Pull Requests and Issues + +- Simplification of HTMLtags in SpecRunner.html #700 from @tkrotoff +- `toContain` works with array-like objects (Arguments, HTMLCollections, etc) #699 from @charleshansen +- Fixed isPendingSpecException test title; #691 from @ertrzyiks +- Fixed an issue with example code in the npm; from @akoptsov +- When the Jasmine clock is installed and date is mocked, `new Date() instanceof Date` should equal `true` #678 & #679 from @chernetsov +- Support for an explicit `fail` function + - Fixes #567, #568, and #563 +- Allow custom timeout for `beforeEach`, `afterEach`, `beforeAll`, `afterAll` and `it` + - Fixes #483 +- Spies now track return values + - Fixes #660, Merged #669 from @mkhanal +- Interval handlers can now clear their interval + - Fixes #655, Merged #658 from @tgirardi +- Updated to the latest `json2.js` from @apaladox2015 + +------ + +_Release Notes generated with _[Anchorman](http://github.com/infews/anchorman)_