51 lines
1.9 KiB
Markdown
51 lines
1.9 KiB
Markdown
|
# Jasmine-Ajax 2.0.2 Release Notes
|
||
|
|
||
|
## Summary
|
||
|
|
||
|
Release of jasmine-ajax with many fixes to be more compatible with the full XHR spec.
|
||
|
|
||
|
## Changes
|
||
|
|
||
|
- Combine request headers with the same name
|
||
|
- Find response case-insensitively
|
||
|
- Split into multiple files for development
|
||
|
- We use the `getJasmineRequireObj()` for loading dependencies
|
||
|
- CI runs specs against both separate and concatenated files
|
||
|
|
||
|
## Pull Requests and Issues
|
||
|
- Allow progress event callbacks to be null instead of just empty functions.
|
||
|
- Fixes [#85](http://github.com/pivotal/jasmine-ajax/issues/85)
|
||
|
|
||
|
- Support listening to XHR progress events via `addEventListener`
|
||
|
- Fixes [#79](http://github.com/pivotal/jasmine-ajax/issues/79)
|
||
|
|
||
|
- Support all XHR events
|
||
|
- Fixes [#81](http://github.com/pivotal/jasmine-ajax/issues/81)
|
||
|
- Fixes [#82](http://github.com/pivotal/jasmine-ajax/issues/82)
|
||
|
|
||
|
- Parse `responseText` into a `responseXML` if the contentType is xml-ish
|
||
|
- Fixes [#55](http://github.com/pivotal/jasmine-ajax/issues/55)
|
||
|
|
||
|
- Un-pin jasmine dependency from version 2.0.0
|
||
|
- Merges [#76](http://github.com/pivotal/jasmine-ajax/issues/76) from @macroeyes
|
||
|
|
||
|
- added support for multiple headers with same name
|
||
|
- Merges [#72](http://github.com/pivotal/jasmine-ajax/issues/72) from @resident-uhlig
|
||
|
|
||
|
- Record overridden mime types
|
||
|
- Fixes [#74](http://github.com/pivotal/jasmine-ajax/issues/74)
|
||
|
|
||
|
- Throw an error if response() is called more than once on requests
|
||
|
- Fixes [#70](http://github.com/pivotal/jasmine-ajax/issues/70)
|
||
|
- Merges [#71](http://github.com/pivotal/jasmine-ajax/issues/71) from @kmontag
|
||
|
|
||
|
- Allow stubs to match only a particular http method (GET, POST, PUT, etc.)
|
||
|
- Fixes [#36](http://github.com/pivotal/jasmine-ajax/issues/36)
|
||
|
|
||
|
- Add some files to the bower.json ignore list
|
||
|
- Merges [#69](http://github.com/pivotal/jasmine-ajax/issues/69 ) from @lencioni
|
||
|
|
||
|
------
|
||
|
|
||
|
_Release Notes generated with _[Anchorman](http://github.com/infews/anchorman)_
|