axios v1.0.0 Release Notes
Release Date: 2022-05-30 // about 1 year ago-
β Added
- β Added stack trace to AxiosError #4624
- β Add AxiosError to AxiosStatic #4654
- π Replaced Rollup as our build runner #4596
- β Added generic TS types for the exposed toFormData helper #4668
- β Added listen callback function #4096
- β Added instructions for installing using PNPM #4207
- β Added generic AxiosAbortSignal TS interface to avoid importing AbortController polyfill #4229
- β Added axios-url-template in ECOSYSTEM.md #4238
- β Added a clear() function to the request and response interceptors object so a user can ensure that all interceptors have been removed from an axios instance #4248
- β Added react hook plugin #4319
- β Adding HTTP status code for transformResponse #4580
- β Added blob to the list of protocols supported by the browser #4678
- Resolving proxy from env on redirect #4436
- β Added enhanced toFormData implementation with additional options 4704
- β Adding Canceler parameters config and request #4711
- β Added automatic payload serialization to application/x-www-form-urlencoded #4714
- β Added the ability for webpack users to overwrite built-ins #4715
- β Added string[] to AxiosRequestHeaders type #4322
- β Added the ability for the url-encoded-form serializer to respect the formSerializer config #4721
- β Added isCancel type assert #4293
- β Added data URL support for node.js #4725
- β Adding types for progress event callbacks #4675
- URL params serializer #4734
- β Added axios.formToJSON method #4735
π Changed
- β‘οΈ Updated AxiosError.config to be optional in the type definition #4665
- β‘οΈ Updated README emphasizing the URLSearchParam built-in interface over other solutions #4590
- Include request and config when creating a CanceledError instance #4659
- π Changed func-names eslint rule to as-needed #4492
- π Replacing deprecated substr() with slice() as substr() is deprecated #4468
- β‘οΈ Updating HTTP links in README.md to use HTTPS #4387
- β‘οΈ Updated to a better trim() polyfill #4072
- β‘οΈ Updated types to allow specifying partial default headers on instance create #4185
- Expanded isAxiosError types #4344
- β‘οΈ Updated type definition for axios instance methods #4224
- β‘οΈ Updated eslint config #4722
- β‘οΈ Updated Docs #4742
π Deprecated
β Removed
- β Removed incorrect argument for NetworkError constructor #4656
- β Removed Webpack #4596
- β Removed function that transform arguments to array #4544
π Fixed
- π Fixed grammar in README #4649
- π Fixed code error in README #4599
- β‘οΈ Optimized the code that checks cancellation #4587
- π Fix url pointing to defaults.js in README #4532
- π Use type alias instead of interface for AxiosPromise #4505
- π Fix some word spelling and lint style in code comments #4500
- β‘οΈ Edited readme with 3 updated browser icons of Chrome, FireFox and Safari #4414
- β¬οΈ Bump follow-redirects from 1.14.9 to 1.15.0 #4673
- π Fixing http tests to avoid hanging when assertions fail #4435
- π Fix TS definition for AxiosRequestTransformer #4201
- π Fix grammatical issues in README #4232
- π Fixing instance.defaults.headers type #4557
- π Fixed race condition on immediate requests cancellation #4261
- Fixing Z_BUF_ERROR when no content #4701
- π Fixing proxy beforeRedirect regression #4708
- π Fixed AxiosError status code type #4717
- π Fixed AxiosError stack capturing #4718
- π Fixing AxiosRequestHeaders typings #4334
- π Fixed max body length defaults #4731
- π Fixed toFormData Blob issue on node>v17 #4728
- β¬οΈ Bump grunt from 1.5.2 to 1.5.3 #4743
- π Fixing content-type header repeated #4745
- π Fixed timeout error message for http 4738
π Security
- β‘οΈ Update SECURITY.md #4687
π Contributors to this release
- Bertrand Marron
- Dmitriy Mozgovoy
- Dan Mooney
- Michael Li
- aong
- Des Preston
- Ted Robertson
- zhoulixiang
- Arthur Fiorette
- Kumar Shanu
- JALAL
- Jingyi Lin
- Philipp Loose
- Alexander Shchukin
- Dave Cardwell
- Cat Scarlet
- Luca Pizzini
- Kai
- Maxime Bargiel
- Brian Helba
- reslear
- Jamie Slome
- Landro3
- rafw87
- Afzal Sayed
- Koki Oyatsu
- Dave
- ζ΄θ΅°θδΈ
- Spencer
- Adrian Wieprzkowicz
- Jamie Telin
- ζ―ε
- Kirill Shakirov
- Rraji Abdelbari
- Jelle Schutter
- Tom Ceuppens
- Johann Cooper
- Dimitris Halatsis
- chenjigeng
- JoΓ£o Gabriel Quaresma
- Victor Augusto