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

What is the correct version guide of Axios? #6294

Closed
markcorrea opened this issue Mar 13, 2024 · 2 comments
Closed

What is the correct version guide of Axios? #6294

markcorrea opened this issue Mar 13, 2024 · 2 comments

Comments

@markcorrea
Copy link

Describe the issue

I am upgrading all libraries from my project and would like to upgrade Axios as well.
npm shows me that the latest version is 1.6.7, and allows me to install this version.
However, GitHub shows me that the latest version is 0.28.0.
Inside axios-http page, I didn't find any version guides, besides the sentence:

Until axios reaches a 1.0 release, breaking changes will be released with a new minor version. For example 0.5.1, and 0.5.4 will have the same API, but 0.6.0 will have breaking changes.

Can you please enlighten me which is the real latest version, and where can I guide myself about it?

Example Code

No response

Expected behavior

No response

Axios Version

No response

Adapter Version

No response

Browser

No response

Browser Version

No response

Node.js Version

No response

OS

No response

Additional Library Versions

No response

Additional context/Screenshots

No response

@MiladSadeghi
Copy link

@markcorrea You should check npm website to ensure what the latest version of a package is. like for axios is axios-page

@markcorrea
Copy link
Author

@MiladSadeghi thanks for the reply! I just found the mistake I made.
Clicking on the github link inside npm's Axios page brings us to Axios github (of course), but on branch main, which is still on version 0.27.0. Took me a while to find out that there's another branch called v1.x, I switched and voilà!

For anyone else with the same question, here's the link:

https://github.com/axios/axios/blob/v1.x/CHANGELOG.md

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

No branches or pull requests

2 participants