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

Replace XMLHttpRequest with Fetch API #2498

Open
3 tasks
dplewis opened this issue Mar 12, 2025 · 1 comment
Open
3 tasks

Replace XMLHttpRequest with Fetch API #2498

dplewis opened this issue Mar 12, 2025 · 1 comment

Comments

@dplewis
Copy link
Member

dplewis commented Mar 12, 2025

New Feature / Enhancement Checklist

Current Limitation

XMLHttpRequest for Node hasn't been updated in 7 years.

Feature / Enhancement Description

The Fetch API is a modern, promise-based approach for making HTTP requests in JavaScript environments. While natively available in browsers, Node.js has integrated the Fetch API as a stable feature since version 18. This eliminates the need for external libraries like node-fetch for basic fetching functionalities. This takes an isomorphic approach to making requests.

Example Use Case

Features that could be added to the SDK

To implement

  • Change Parse.Query.cancel
  • Change Parse.File.cancel
  • Change RESTController
  • Update Tests
  • Remove WeChat XHR
Copy link

parse-github-assistant bot commented Mar 12, 2025

🚀 Thanks for opening this issue! We are excited about your ideas for improvement!

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

1 participant