Releases: pagekit/vue-resource
Releases · pagekit/vue-resource
0.7.0
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
Changed
- Parse headers in base client
- Set
response.ok
in base client
0.6.0
New
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
0.5.0
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
Added
- Add options parameter to resource
Fixed
- Fix options merge on vm instance
0.1.16
Fixed
- #46 Add XDomainRequest for CORS in IE9
0.1.15
Fixed
- #28 Trailing slash was removed from URL
- #30 Uppercase HTTP methods