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

Lock node-fetch to avoid breaking change in 2.6.3 version #2917

Merged
merged 3 commits into from Sep 21, 2021

Conversation

dmichon-msft
Copy link
Contributor

Summary

Version 2.6.3 of node-fetch made a breaking change to the encoding state of URLs that is incompatible with the expectations of @azure/core-http with regards to including SAS tokens in URLs. This locks the version used by Rush to 2.6.2 to avoid breaking customers who use the Azure cloud cache provider.

How it was tested

Verified locally that installing with node-fetch 2.6.2 does not reproduce the authentication error encountered during cloud cache writes. Fresh installs started failing ~7 hours ago, which lines up with when version 2.6.3 of node-fetch was released.

@dmichon-msft dmichon-msft changed the title Lock node-fetch to avoid faulty 2.6.3 version Lock node-fetch to avoid breaking change in 2.6.3 version Sep 21, 2021
@D4N14L
Copy link
Member

D4N14L commented Sep 21, 2021

Should an associated issue be filed with the owners of node-fetch?

@LinusU
Copy link

LinusU commented Sep 21, 2021

Very sorry about this, this is fixed in version 2.6.4 and we have added a test case so that this will not break again in the future!

@dmichon-msft dmichon-msft merged commit 39d22e4 into microsoft:master Sep 21, 2021
@dmichon-msft dmichon-msft deleted the lock-node-fetch branch September 21, 2021 18:00
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

5 participants