Open
Description
New Feature / Enhancement Checklist
- I am not disclosing a vulnerability.
- I am not just asking a question.
- I have searched through existing issues.
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
- File upload and download progress on Node Add support for providing file upload progress. #373 (comment)
- Properly handle 301 redirects and proxy The request in Parse.Object.saveAll() does not have a reverse proxy #1945
- Query intercepter Parse query request interceptor #1449
- Allow for large uploads Parse.File Terminates when Encoding/Decoding Large Media File(s) with URI Constructor #2170
- Cache support Caching in JS SDK #118
To implement
- Change Parse.Query.cancel
- Change Parse.File.cancel
- Change Parse.File.download
- Change RESTController
- Update Tests
- Update WeChat XHR