jasmine-ajax/release_notes/2.0.2.md
2014-11-19 12:55:23 -08:00

1.9 KiB

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.

  • Support listening to XHR progress events via addEventListener

  • Support all XHR events

  • Parse responseText into a responseXML if the contentType is xml-ish

  • Un-pin jasmine dependency from version 2.0.0

    • Merges #76 from @macroeyes
  • added support for multiple headers with same name

    • Merges #72 from @resident-uhlig
  • Record overridden mime types

  • Throw an error if response() is called more than once on requests

    • Fixes #70
    • Merges #71 from @kmontag
  • Allow stubs to match only a particular http method (GET, POST, PUT, etc.)

  • Add some files to the bower.json ignore list

    • Merges #69 from @lencioni

_Release Notes generated with Anchorman