axios
axios copied to clipboard
fix(deps): update dependency axios to v1
This PR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
axios (source) | 0.27.2 -> 1.1.3 |
Release Notes
axios/axios
v1.1.3
Added
Added custom params serializer support #β5113
Fixed
Fixed top-level export to keep them in-line with static properties #β5109 Stopped including null values to query string. #β5108 Restored proxy config backwards compatibility with 0.x #β5097 Added back AxiosHeaders in AxiosHeaderValue #β5103 Pin CDN install instructions to a specific version #β5060 Handling of array values fixed for AxiosHeaders #β5085
Chores
docs: match badge style, add link to them #β5046 chore: fixing comments typo #β5054 chore: update issue template #β5061 chore: added progress capturing section to the docs; #β5084
Contributors to this release
- Jason Saayman
- scarf
- Lenz Weber-Tronic
- Arvindh
- FΓ©lix Legrelle
- Patrick Petrovic
- Dmitriy Mozgovoy
- littledian
- ChronosMasterOfAllTime
- Salman Shaikh
v1.1.2
Fixed
- Fixed broken exports for UMD builds.
Contributors to this release
v1.1.1
Fixed
- Fixed broken exports for common js. This fix breaks a prior fix, I will fix both issues ASAP but the commonJS use is more impactful.
Contributors to this release
v1.1.0
Fixed
- Fixed missing exports in type definition index.d.ts #β5003
- Fixed query params composing #β5018
- Fixed GenericAbortSignal interface by making it more generic #β5021
- Fixed adding "clear" to AxiosInterceptorManager #β5010
- Fixed commonjs & umd exports #β5030
- Fixed inability to access response headers when using axios 1.x with Jest #β5036
Contributors to this release
v1.0.0
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
- Bower platform add data protocol #β4804
- Use WHATWG URL API instead of url.parse() #β4852
- Add ENUM containing Http Status Codes to typings #β4903
- Improve typing of timeout in index.d.ts #β4934
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
- Refactored Axios to use ES2017 #β4787
Deprecated
- There are multiple deprecations, refactors and fixes provided in this release. Please read through the full release notes to see how this may impact your project and use case.
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
- Request ignores false, 0 and empty string as body values #β4785
- Added back missing minified builds #β4805
- Fixed a type error #β4815
- Fixed a regression bug with unsubscribing from cancel token; #β4819
- Remove repeated compression algorithm #β4820
- The error of calling extend to pass parameters #β4857
- SerializerOptions.indexes allows boolean | null | undefined #β4862
- Require interceptors to return values #β4874
- Removed unused imports #β4949
- Allow null indexes on formSerializer and paramsSerializer #β4960
Chores
- Set permissions for GitHub actions #β4765
- Included githubactions in the dependabot config #β4770
- Included dependency review #β4771
- Update security.md #β4784
- Remove unnecessary spaces #β4854
- Simplify the import path of AxiosError #β4875
- Fix Gitpod dead link #β4941
- Enable syntax highlighting for a code block #β4970
- Using Logo Axios in Readme.md #β4993
- Fix markup for note in README #β4825
- Fix typo and formatting, add colons #β4853
- Fix typo in readme #β4942
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
- neilnaveen
- Pavlos
- Kiryl Valkovich
- Naveen
- wenzheng
- hcwhan
- Bassel Rachid
- GrΓ©goire Pineau
- felipedamin
- Karl Horky
- Yue JIN
- Usman Ali Siddiqui
- WD
- GΓΌnther Foidl
- Stephen Jennings
- C.T.Lin
- mia-z
- Parth Banathia
- parth0105pluang
- Marco Weber
- Luca Pizzini
- Willian Agostini
- Huyen Nguyen
Configuration
π Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, click this checkbox.
This PR has been generated by Mend Renovate. View repository job log here.
Anything preventing this PR being merged? We would like to upgrade to Axios V1 but have this as a dependency
Any news about this PR ? Same as @erichardson30, we're waiting to update axios
dependency in our project
Oops! I created a PR for this too > #579 Sorry
Whats the state? Around 2 weeks past now π
Are there any breaking changes?
There were breaking changes, improves etc... in axios so not sure why we're waiting for v1 of nestjs/axios package. It's the easiest way to unblock everyone who is interested in and not block others by minor (?) update which could lead to situation when someone will notice that it contains major/breaking change and v1 will be inevitable π
@Dzixxx I'm just wondering if there are any changes needed in the @nestjs/axios
package (hence, the question about the breaking changes). If not, I'd be more than happy to merge this PR
@kamilmysliwiec I guess that patches for v1 will be the easiest way because of lack of tests in the package π Probably each of us (interested in axios update in this repo) will be more than happy to create PR with some fixes instead of waiting (at least me π). From typings perspective seems to be fine (IDE was not screaming) π
PRs are more than welcome @Dzixxx π
So far so good, npm build script works so ... v1 then? π