diff --git a/bower.json b/bower.json index 66d1b8f..86c0fb7 100644 --- a/bower.json +++ b/bower.json @@ -1,7 +1,7 @@ { "name": "jasmine-ajax", "description": "A library for faking Ajax responses in your Jasmine suite.", - "version": "3.3.1", + "version": "3.4.0", "main": "lib/mock-ajax.js", "license": "MIT", @@ -11,7 +11,7 @@ "Gregg Van Hove " ], "dependencies": { - "jasmine" : "~2" + "jasmine" : "~3" }, "moduleType": [ "globals" diff --git a/package.json b/package.json index 5ea3838..af94bba 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "jasmine-ajax", "description": "A library for faking Ajax responses in your Jasmine suite", - "version": "3.3.1", + "version": "3.4.0", "main": "lib/mock-ajax.js", "license": "MIT", "url": "https://github.com/jasmine/jasmine-ajax", diff --git a/release_notes/3.4.0.md b/release_notes/3.4.0.md new file mode 100644 index 0000000..2284da1 --- /dev/null +++ b/release_notes/3.4.0.md @@ -0,0 +1,45 @@ +# Jasmine Ajax 3.4.0 Release Notes + +## Summary +This is a general release with a number of new features for Jasmine-Ajax + +## Changes + +* Stub Requests can pass through `statusText` + - Fixes [#188](https://github.com/jasmine/jasmine-ajax/issues/188) + +* Convert url values to a string to work more like a native XHR + - Fixes [#143](https://github.com/jasmine/jasmine-ajax/issues/143) + +* Check for real XHR instead of mock on install and word error better + - See [#186](https://github.com/jasmine/jasmine-ajax/issues/186) + +* respondWith allows responseJSON property shortcut for stringifing an object + - Merges [#185](https://github.com/jasmine/jasmine-ajax/issues/185) from @k-funk + - Fixes [#177](https://github.com/jasmine/jasmine-ajax/issues/177) + +* Added checklist item for generating the `mock-ajax` file + - See [#184](https://github.com/jasmine/jasmine-ajax/issues/184) + +* Update contributing docs and README to better explain things + - Fixes [#184](https://github.com/jasmine/jasmine-ajax/issues/184) + +* Allow response status 0 for request stubs + - Merges [#182](https://github.com/jasmine/jasmine-ajax/issues/182) from @kiramclean + - Fixes [#141](https://github.com/jasmine/jasmine-ajax/issues/141) + +* Added instructions for contributing. + - Merges [#179](https://github.com/jasmine/jasmine-ajax/issues/179) from @Arthaey + +* Add status and statusText to responseError. Defaults to 500. + - Merges [#176](https://github.com/jasmine/jasmine-ajax/issues/176) from @Arthaey + +* Update readme to suggest creating mock-ajax.js reference in helpers path, not src_files + - Merges [#173](https://github.com/jasmine/jasmine-ajax/issues/173) from @alidaka + +* Add "uninstall" notes to README + - Merges [#169](https://github.com/jasmine/jasmine-ajax/issues/169) from @johnnymugs + +------ + +_Release Notes generated with _[Anchorman](http://github.com/infews/anchorman)_