Skip to content

refactor: upgrade parse from 3.4.2 to 3.4.3 #8113

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

Closed
wants to merge 3 commits into from

Conversation

dblythy
Copy link
Member

@dblythy dblythy commented Jul 26, 2022

New Pull Request Checklist

Issue Description

Following the update to Parse JS which is mainly the improvement of https://github.com/parse-community/Parse-SDK-JS/pull/1467/files, stricter regex is required for creating a file from base64.

Parse Server internally creates a file to pass to triggers, using req.body.toString("base64") and then creates a file from base64. This can cause the new regex to fail.

Related issue: #8110

Approach

This PR instead creates a Parse File from the data array from Buffer, rather than converting to base64.

TODOs before merging

  • A changelog entry is created automatically using the pull request title (do not manually add a changelog entry)

@parse-github-assistant
Copy link

Thanks for opening this pull request!

  • 🎉 We are excited about your hands-on contribution!

@dblythy dblythy closed this Jul 26, 2022
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.

2 participants