v0.19.0-beta.1
Pre-release
Pre-release
emilyemorehouse
released this
09 Aug 19:06
·
792 commits
to v1.x
since this release
NOTE: 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:
- Add getUri method (#1712)
- Add support for no_proxy env variable (#1693)
- Add toJSON to decorated Axios errors to faciliate serialization (#1625)
- Add second then on axios call (#1623)
- Typings: allow custom return types
- Add option to specify character set in responses (with http adapter)
Fixes:
- Fix Keep defaults local to instance (#385)
- Correctly catch exception in http test (#1475)
- Fix accept header normalization (#1698)
- Fix http adapter to allow HTTPS connections via HTTP (#959)
- Fix Removes usage of deprecated Buffer constructor. (#1555, #1622)
- Fix defaults to use httpAdapter if available (#1285)
- Fixing defaults to use httpAdapter if available
- Use a safer, cross-platform method to detect the Node environment
- Fix Reject promise if request is cancelled by the browser (#537)
- [Typescript] Fix missing type parameters on delete/head methods
- [NS]: Send
false
flag isStandardBrowserEnv for Nativescript - Fix missing type parameters on delete/head
- Fix Default method for an instance always overwritten by get
- Fix type error when socketPath option in AxiosRequestConfig
- Capture errors on request data streams
- Decorate resolve and reject to clear timeout in all cases