Skip to content
This repository has been archived by the owner on Dec 1, 2023. It is now read-only.

Releases: pagekit/vue-resource

0.7.0

25 Jan 12:32
Compare
Choose a tag to compare

New

  • New upload option, to listen to upload progress event
Vue.http.post('/someUrl', {data: {...}}, {
    upload: {
        onprogress: function (event) {
            // progress callback
        }
    }
}).then(...);

0.6.1

13 Jan 17:39
Compare
Choose a tag to compare

Changed

  • Parse headers in base client
  • Set response.ok in base client

0.6.0

04 Jan 14:36
Compare
Choose a tag to compare

New

  • New URL transforms
Vue.url.transforms.push(function (options, next) {

    // modify url options
    options.params.test = 1; 

    // call next url transform
    var url = next(options);

    // return url
    return url;
});

Changed

  • Vue.Promise to uppercase

0.5.1

21 Dec 09:52
Compare
Choose a tag to compare

Fixed

0.5.0

20 Dec 13:04
Compare
Choose a tag to compare

New

  • New timeout option (#27)
  • New request/response interceptors (#5)
  • New URI templating, RFC6570

Fixed

  • Fix cross origin check (#168)

Changed

  • Option beforeSend callback arguments to function (request)

Deprecated

  • Option success, error callbacks.
  • Promise success method. Use the then method instead.
  • Promise error method. Use the catch method instead.
  • Promise always method. Use the finally method instead.
  • URI templating :param syntax. Use the {param} syntax instead.

0.1.17

07 Nov 09:15
Compare
Choose a tag to compare

Added

  • Add options parameter to resource

Fixed

  • Fix options merge on vm instance

0.1.16

13 Sep 18:51
Compare
Choose a tag to compare

Fixed

  • #46 Add XDomainRequest for CORS in IE9

0.1.15

29 Aug 15:39
Compare
Choose a tag to compare

Fixed

  • #28 Trailing slash was removed from URL
  • #30 Uppercase HTTP methods

0.1.14

24 Aug 11:35
Compare
Choose a tag to compare
v0.1.14

0.1.13

11 Aug 16:06
Compare
Choose a tag to compare
v0.1.13