Repository URL to install this package:
Version:
4.5.0-1freshup3 ▾
|
Fixes and Functionality:
config.method
after mergeConfig for Axios.prototype.request (#2383)Internal:
Documentation:
Fixes and Functionality:
#
, because client cut everything after #
getUri
signature to TypeScript definition. (#1736) - Alexander TrauzziInternal:
Documentation:
.then
to .finally
in example code (#2090) - Omar CairesponseType: 'blob'
doesn't actually work in Node (when I tried using it, response.data was a string, not a Blob, since Node doesn't have Blobs), so this clarifies that this option should only be used in the browserNOTE: This is a beta version of this release. There may be functionality that is broken in certain browsers, though we suspect that builds are hanging and not erroring. See https://saucelabs.com/u/axios for the most up-to-date information.
New Functionality:
Fixes:
false
flag isStandardBrowserEnv for NativescriptHuge thanks to everyone who contributed to this release via code (authors listed below) or via reviews and triaging on GitHub:
baseURL
and interceptors (#950)buffer
in bundle (#887)method
to lowercase (#930)follow-redirects
dependency (#829)Buffer
in node (#773)Promise
from axios typings in favor of built-in type declarations (#480)options
shortcut method (#461)responseType: 'json'
in browsers incompatible with XHR Level 2 (#654)combineURLs
to support empty relativeURL
(#581)PROTECTION_PREFIX
support (#561)axios.d.ts
to index.d.ts
(#519)get
, head
, and delete
to defaults.headers
(#509)btoa
and IE (#507)http
protocol by default (#493)cancel
after response has been received (#482)file
URI scheme (#440)params
objects that have no prototype (#445)agent
option with httpAgent
and httpsAgent
(#387)progress
event handlers into onUploadProgress
and onDownloadProgress
(#423)http_proxy
and https_proxy
environment variables (#366)auth
config option and Authorization
header (#397)xsrfCookieName
is null
(#406)Promise
(157efd5)withCredentials
not being overwritten (#343)axios.create
to have same API as default axios (#217)FormData
(#325)Axios
class to exports (#321)undefined
instead of null
(#250)onreadystatechange
instead of onload
(#249)maxContentLength
option (#275)withCredentials
(#168)InvalidStateError
in some cases (#174)Buffer
instead of String
in case of responseType === 'arraybuffer'
(#128)paramsSerializer
option (#121)forEach
on arguments
(#127)content-encoding
is set (#149)axios.spread
for chaining (#106)axios(url[, config])
(#116)length
to be used as a parameter (#91)statusText
in response (#46)Content-Type
when using FormData
(#22)ArrayBuffer
and ArrayBufferView
(#10)Content-Type
header (#9)success
/error
in favor of then
/catch
success
and error
to properly receive response data as individual arguments (#8)then
and catch
to receive response data as a single object (#6)all
not working (#7)all
and spread