axios v0.19.0-beta.1 Release Notes
Release Date: 2018-08-09 // over 5 years ago-
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 facilitate 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
π Huge thanks to everyone who contributed to this release via code (authors listed below) or via reviews and triaging on GitHub:
- Andrew Scott [email protected]
- Anthony Gauthier [email protected]
- arpit [email protected]
- ascott18
- Benedikt RΓΆtsch [email protected]
- Chance Dickson [email protected]
- Dave Stewart [email protected]
- Deric Cain [email protected]
- Guillaume Briday [email protected]
- Jacob Wejendorp [email protected]
- Jim Lynch [email protected]
- johntron
- Justin Beckwith [email protected]
- Justin Beckwith [email protected]
- Khaled Garbaya [email protected]
- Lim Jing Rong [email protected]
- Mark van den Broek [email protected]
- Martti Laine [email protected]
- mattridley
- mattridley [email protected]
- Nicolas Del Valle [email protected]
- Nilegfx
- pbarbiero
- Rikki Gibson [email protected]
- Sako Hartounian [email protected]
- Shane Fitzpatrick [email protected]
- Stephan Schneider [email protected]
- Steven [email protected]
- Tim Garthwaite [email protected]
- Tim Johns [email protected]
- Yutaro Miyazaki [email protected]