- Ver 1.10.2
- Return all response when no
success
param. - Bump dependencies version.
- Return all response when no
- Ver 1.9.11
- Fix array response.
- Ver 1.9.10
- Fix cache condition for same request.
- Ver 1.9.8
- Fix json response parse
- Fix body for browsers no native URLSearchParams
- Add eslint in test flow
- Use eslint-config-handsome instead of xo
- Ver 1.9.7
- Fix issue 1
- Ver 1.9.6
- Fix body init type bug
- Ver 1.9.5
- Fix chrome version for send body polyfill
- Ver 1.9.4
- Add
rootUrl
option to set prefix path for all apiurl
.
- Add
- Ver 1.9.3
- Do
toString
forURLSearchParams
when chrome version under 47.
- Do
- Ver 1.9.2
- Force add
x-www-form-urlencoded
forURLSearchParams
body.
- Force add
- Ver 1.9.1
- Add
JSON
format fordataType
option.
- Add
- Ver 1.8.2
- Fix check param bug.
- Ver 1.8.0
- Add
headers
option to add custom request headers. See detail. - Add
dataType
option to format passed data. See detail. - Add
method
option as a alias fortype
. needs
data would be optional if it ends with?
.- Add
blob
in variable type check list. - Deprecated
type
option. Will be removed in 2.0.0. - Deprecated array for
needs
option. Will be removed in 2.0.0.
- Add
- Ver 1.7.0
- Add
errorMessage
option as custom error message which will overwrite default error message. - Use xo instead of eslint for dev js lint.
- Add
- Ver 1.6.0
- Throw response instead of msg when status is not 200.
- Ver 1.5.0
- Support type check for
needs
data. See detail.
- Support type check for
- Ver 1.4.0
- Support variables in url whose value comes from data object.
- Ver 1.3.0
- Support
timeout
for fetch. - The output for
es2015
module option is in es2015 syntax now. - Remove
uglify
option. You should do uglify yourself if you want.
- Support
- Ver 1.2.1
- Auto create dir when output path not exists.
- Ver 1.2.0
- Support request data for GET method.
- Ver 1.1.0
- Add
cache
option.
- Add
- Ver 1.0.2
- Fix
TypeMismatch
error in edge.
- Fix
- Ver 1.0.1
- Fix use URLSearchParams work with fetch polyfill.
- Ver 1.0.0
- Use fetch API instead of XMLHttpRequest.
- Remove global option
jQuery
. - Put
isSuccess
option to every api not only global. - Remove global option
context
. - Add global option
encoding
. - Use
browser
option instead ofbrowserify
option.