Skip to content

Releases: canjs/can-ajax

Ensure XHR async is always true

13 Dec 21:35
Compare
Choose a tag to compare

Allow beforeSend to be async & allow access to xhrFields

08 Apr 03:59
Compare
Choose a tag to compare

This release covers two issues:

  1. beforeSend is now allowed to run async. If it returns a Promise, it will be waited on before sending.

  2. beforeSend is now invoked after the xhrFields option has been processed such that the following assertion fails

See #52 for more details.

v2.1.1

20 Nov 03:38
Compare
Choose a tag to compare

Handle error thrown when parsing responseText as JSON #47 (thanks @ivospinheiro!)

v2.1.0

06 Jul 18:18
Compare
Choose a tag to compare

Add "use strict" #40

2.0.2

05 Jul 13:37
Compare
Choose a tag to compare

Removes a few items from .npmignore that are needed for the canjs/canjs tests.

2.0.1

05 Jul 13:37
Compare
Choose a tag to compare

Removes a few items from .npmignore that are needed for the canjs/canjs tests.

v1.3.0

04 Jul 02:57
Compare
Choose a tag to compare

Add "use strict" #40

v2.0.0

08 Jun 18:34
Compare
Choose a tag to compare

Features:

  • parse rejected response #32
  • implement beforeSend #34

Let XHR handle FormData object

04 Jun 14:20
Compare
Choose a tag to compare

v1.1.4

01 Dec 21:16
Compare
Choose a tag to compare

Change the can-globals semver range to <2.0.0 #21