axios v0.19.1 Release Notes

Release Date: 2020-01-07 // 12 days ago
  • πŸ›  Fixes and Functionality:

    • πŸ›  Fixing invalid agent issue (#1904)
    • πŸ›  Fix ignore set withCredentials false (#2582)
    • βœ‚ Delete useless default to hash (#2458)
    • πŸ›  Fix HTTP/HTTPs agents passing to follow-redirect (#1904)
    • πŸ›  Fix ignore set withCredentials false (#2582)
    • πŸ›  Fix CI build failure (#2570)
    • βœ‚ Remove dependency on is-buffer from package.json (#1816)
    • βž• Adding options typings (#2341)
    • βž• Adding Typescript HTTP method definition for LINK and UNLINK. (#2444)
    • ⚑️ Update dist with newest changes, fixes Custom Attributes issue
    • πŸ”„ Change syntax to see if build passes (#2488)
    • ⚑️ Update Webpack + deps, remove now unnecessary polyfills (#2410)
    • πŸ›  Fix to prevent XSS, throw an error when the URL contains a JS script (#2464)
    • βž• Add custom timeout error copy in config (#2275)
    • βž• Add error toJSON example (#2466)
    • πŸ›  Fixing Vulnerability A Fortify Scan finds a critical Cross-Site Scrip… (#2451)
    • πŸ›  Fixing subdomain handling on no_proxy (#2442)
    • πŸ‘‰ Make redirection from HTTP to HTTPS work ([#2426]([https://github.com/axios/axios/pull/2426]](https://github.com/axios/axios/pull/2426%5D) and (#2547)
    • βž• Add toJSON property to AxiosError type (#2427)
    • πŸ›  Fixing socket hang up error on node side for slow response. (#1752)
    • Alternative syntax to send data into the body (#2317)
    • πŸ›  Fixing custom config options (#2207)
    • πŸ›  Fixing set config.method after mergeConfig for Axios.prototype.request (#2383)
    • Axios create url bug (#2290)
    • Do not modify config.url when using a relative baseURL (resolves #1628) (#2391)
    • βž• Add typescript HTTP method definition for LINK and UNLINK (#2444)

    Internal:

    • ⚑️ Revert "Update Webpack + deps, remove now unnecessary polyfills" (#2479)
    • βœ… Order of if/else blocks is causing unit tests mocking XHR. (#2201)
    • βž• Add license badge (#2446)
    • πŸ›  Fix travis CI build #2386
    • πŸ›  Fix cancellation error on build master. #2290 #2207 (#2407)

    πŸ“š Documentation:

    • πŸ›  Fixing typo in CHANGELOG.md: s/Functionallity/Functionality (#2639)
    • πŸ›  Fix badge, use master branch (#2538)
    • πŸ›  Fix typo in changelog #2193
    • Document fix (#2514)
    • ⚑️ Update docs with no_proxy change, issue #2484 (#2513)
    • πŸ›  Fixing missing words in docs template (#2259)
    • πŸ“š πŸ›Fix request finally documentation in README (#2189)
    • ⚑️ updating spelling and adding link to docs (#2212)
    • πŸ“„ docs: minor tweak (#2404)
    • ⚑️ Update response interceptor docs (#2399)
    • ⚑️ Update README.md (#2504)
    • πŸ›  Fix word 'sintaxe' to 'syntax' in README.md (#2432)
    • upadating README: notes on CommonJS autocomplete (#2256)
    • πŸ›  Fix grammar in README.md (#2271)
    • πŸ›  Doc fixes, minor examples cleanup (#2198)

Previous changes from v0.19.0

  • πŸ›  Fixes and Functionality:

    • βž• Added support for no_proxy env variable (#1693) - Chance Dickson
    • Unzip response body only for statuses != 204 (#1129) - drawski
    • πŸ›  Destroy stream on exceeding maxContentLength (fixes #1098) (#1485) - Gadzhi Gadzhiev
    • πŸ‘‰ Makes Axios error generic to use AxiosResponse (#1738) - Suman Lama
    • πŸ›  Fixing Mocha tests by locking follow-redirects version to 1.5.10 (#1993) - grumblerchester
    • πŸ‘ Allow uppercase methods in typings. (#1781) - Ken Powers
    • πŸ›  Fixing building url with hash mark (#1771) - Anatoly Ryabov
    • πŸ— This commit fix building url with hash map (fragment identifier) when parameters are present: they must not be added after #, because client cut everything after #
    • Preserve HTTP method when following redirect (#1758) - Rikki Gibson
    • βž• Add getUri signature to TypeScript definition. (#1736) - Alexander Trauzzi
    • βž• Adding isAxiosError flag to errors thrown by axios (#1419) - Ayush Gupta

    Internal:

    • πŸ›  Fixing .eslintrc without extension (#1789) - Manoel
    • πŸ›  Fix failing SauceLabs tests by updating configuration - Emily Morehouse
    • βž• Add issue templates - Emily Morehouse

    πŸ“š Documentation:

    • πŸ’… Consistent coding style in README (#1787) - Ali Servet Donmez
    • βž• Add information about auth parameter to README (#2166) - xlaguna
    • βž• Add DELETE to list of methods that allow data as a config option (#2169) - Daniela Borges Matos de Carvalho
    • ⚑️ Update ECOSYSTEM.md - Add Axios Endpoints (#2176) - Renan
    • βž• Add r2curl in ECOSYSTEM (#2141) - 유용우 / CX
    • ⚑️ Update README.md - Add instructions for installing with yarn (#2036) - Victor Hermes
    • πŸ›  Fixing spacing for README.md (#2066) - Josh McCarty
    • ⚑️ Update README.md. - Change .then to .finally in example code (#2090) - Omar Cai
    • Clarify what values responseType can have in Node (#2121) - Tyler Breisacher
    • πŸ“„ docs(ECOSYSTEM): add axios-api-versioning (#2020) - Weffe
    • πŸ‘€ It seems that responseType: '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 browser
    • ⚑️ Update README.md. - Add Querystring library note (#1896) - Dmitriy Eroshenko
    • βž• Add react-hooks-axios to Libraries section of ECOSYSTEM.md (#1925) - Cody Chan
    • 0️⃣ Clarify in README that default timeout is 0 (no timeout) (#1750) - Ben Standefer