Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency axios to v1.2.1 #616

Merged
merged 1 commit into from Dec 19, 2022

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 22, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
axios (source) 1.1.3 -> 1.2.1 age adoption passing confidence

Release Notes

axios/axios

v1.2.1

Compare Source

Changed
  • feat(exports): export mergeConfig #​5151
Fixed
  • fix(CancelledError): include config #​4922
  • fix(general): removing multiple/trailing/leading whitespace #​5022
  • fix(headers): decompression for responses without Content-Length header #​5306
  • fix(webWorker): exception to sending form data in web worker #​5139
Refactors
  • refactor(types): AxiosProgressEvent.event type to any #​5308
  • refactor(types): add missing types for static AxiosError.from method #​4956
Chores
  • chore(docs): remove README link to non-existent upgrade guide #​5307
  • chore(docs): typo in issue template name #​5159
Contributors to this release

v1.2.0

Compare Source

Changed
  • changed: refactored module exports #​5162
  • change: re-added support for loading Axios with require('axios').default #​5225
Fixed
  • fix: improve AxiosHeaders class #​5224
  • fix: TypeScript type definitions for commonjs #​5196
  • fix: type definition of use method on AxiosInterceptorManager to match the the README #​5071
  • fix: __dirname is not defined in the sandbox #​5269
  • fix: AxiosError.toJSON method to avoid circular references #​5247
  • fix: Z_BUF_ERROR when content-encoding is set but the response body is empty #​5250
Refactors
  • refactor: allowing adapters to be loaded by name #​5277
Chores
  • chore: force CI restart #​5243
  • chore: update ECOSYSTEM.md #​5077
  • chore: update get/index.html #​5116
  • chore: update Sandbox UI/UX #​5205
  • chore:(actions): remove git credentials after checkout #​5235
  • chore(actions): bump actions/dependency-review-action from 2 to 3 #​5266
  • chore(packages): bump loader-utils from 1.4.1 to 1.4.2 #​5295
  • chore(packages): bump engine.io from 6.2.0 to 6.2.1 #​5294
  • chore(packages): bump socket.io-parser from 4.0.4 to 4.0.5 #​5241
  • chore(packages): bump loader-utils from 1.4.0 to 1.4.1 #​5245
  • chore(docs): update Resources links in README #​5119
  • chore(docs): update the link for JSON url #​5265
  • chore(docs): fix broken links #​5218
  • chore(docs): update and rename UPGRADE_GUIDE.md to MIGRATION_GUIDE.md #​5170
  • chore(docs): typo fix line #​856 and #​920 #​5194
  • chore(docs): typo fix #​800 #​5193
  • chore(docs): fix typos #​5184
  • chore(docs): fix punctuation in README.md #​5197
  • chore(docs): update readme in the Handling Errors section - issue reference #​5260 #​5261
  • chore: remove \b from filename #​5207
  • chore(docs): update CHANGELOG.md #​5137
  • chore: add sideEffects false to package.json #​5025
Contributors to this release

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, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@Shinigami92
Copy link

Why is axios not a peer dependency? And/or has a wider range instead of pinned to a fixed version?

@SalvatorePreviti
Copy link

Please kindly consider to update this package or make it a peerDependency, see this issue: #619

@davidzwa
Copy link

davidzwa commented Dec 5, 2022

Would like to bring the Accept-Encoding regression axios/axios#5328 to your attention. Therefore, I would advise not to upgrade to axios 1.2.0

@renovate renovate bot changed the title fix(deps): update dependency axios to v1.2.0 fix(deps): update dependency axios to v1.2.1 Dec 5, 2022
@adri326
Copy link

adri326 commented Dec 7, 2022

The Accept-Encoding regression was supposedly solved in version 1.2.1

@davidzwa
Copy link

davidzwa commented Dec 7, 2022

The Accept-Encoding regression was supposedly solved in version 1.2.1

I think you might be right: axios/axios#5306. I have not tested this (yet).

@BigGillyStyle
Copy link

FYI...in our codebase we were experiencing issues related to axios/axios#5346. Keeping axios at 1.1.3 for us solved our header-related problem.

@Zwartpet
Copy link

Running into axios/axios#5101, should be fixed in 1.2.1

@davidzwa
Copy link

FYI...in our codebase we were experiencing issues related to axios/axios#5346. Keeping axios at 1.1.3 for us solved our header-related problem.

This is a dupe of 5306 and fixed in 1.2.1 as mentioned above.

@ctsstc
Copy link

ctsstc commented Dec 16, 2022

Been digging into the depths of hell looking for why axios.isAxiosError returns:

TypeError: Cannot read properties of undefined (reading 'isAxiosError')

This looks to be the most related thread at this point, so I'm dropping this here to help SEO and follow this.

Forgive me for opening: #624

@kamilmysliwiec kamilmysliwiec merged commit 78b2785 into master Dec 19, 2022
@delete-merged-branch delete-merged-branch bot deleted the renovate/axios-1.x branch December 19, 2022 08:10
@SchroederSteffen
Copy link

SchroederSteffen commented Dec 19, 2022

Thanks for merging this. Though, why was it released as 0.1.2 while there is already a 1.0.0 release?

@kamilmysliwiec
Copy link
Member

297e937#commitcomment-93533274

@cythb
Copy link

cythb commented Dec 30, 2022

FYI...in our codebase we were experiencing issues related to axios/axios#5346. Keeping axios at 1.1.3 for us solved our header-related problem.

This is a dupe of 5306 and fixed in 1.2.1 as mentioned above.

It doesn't look like the problem is fixed, and I encountered the same problem after upgrading the version today.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

10 participants