Skip to content
New issue

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

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

Already on GitHub? # to your account

[SDK-4485] Use native fetch, drop Node 16 support #906

Merged
merged 7 commits into from
Aug 16, 2023
Merged

Conversation

adamjmcgrath
Copy link
Contributor

@adamjmcgrath adamjmcgrath commented Aug 15, 2023

Changes

Use native fetch by default - this has the benefit of working on Vercel Edge / Cloudflare Workers without modification (will also be easier to drop Node 16)

Also, remove dependency on ReadStream api since this is Node only. It does make uploading files a little harder, but this should be ok if we have examples.

@adamjmcgrath adamjmcgrath requested a review from a team as a code owner August 15, 2023 10:31
test/setup.ts Outdated Show resolved Hide resolved
v4_MIGRATION_GUIDE.md Outdated Show resolved Hide resolved
@adamjmcgrath adamjmcgrath changed the title Use native fetch by default [SDK-4485] Use native fetch, drop Node 16 support Aug 16, 2023
@adamjmcgrath adamjmcgrath merged commit 8d85b5e into beta Aug 16, 2023
2 of 4 checks passed
@adamjmcgrath adamjmcgrath deleted the native-fetch branch August 16, 2023 10:22
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants