-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
feat: Change default value of Parse Server option encodeParseObjectInCloudFunction
to true
#9527
Conversation
Thanks for opening this pull request!
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## alpha #9527 +/- ##
=======================================
Coverage 93.51% 93.51%
=======================================
Files 186 186
Lines 14807 14807
=======================================
Hits 13847 13847
Misses 960 960 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Manuel <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks odd. We eventually want to remove the option, but the deprecation message reads more like we're only planning to change the default value. So we cannot say that the status of the deprecation is "removed" if we just change the default value. I believe the default value should have been changed in PS7, but it wasn't, because then the order would have been:
- add deprecation in PS6 --> done
- change default value in PS7 --> not done
- remove option in PS8
We can either remove the option now or only change the default value now, correct the deprecation message and remove the option in PS9. Removing the option in PS8 would not violate our deprecation policy requirement to notify for the duration of at least 1 major release, but it's little code to maintain and due to the confusing deprecation message I'd say let's keep it for now and remove in PS9.
Signed-off-by: Manuel <[email protected]>
Signed-off-by: Manuel <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We still need a deprecation warning logged if the option is set to false
, with a message that we'll remove the option in a future version. Could you please add that?
Signed-off-by: Manuel <[email protected]>
encodeParseObjectInCloudFunction: true
BREAKING CHANGE: The default value of Parse Server option |
encodeParseObjectInCloudFunction: true
encodeParseObjectInCloudFunction
to true
# [8.0.0-alpha.5](8.0.0-alpha.4...8.0.0-alpha.5) (2025-01-12) ### Features * Change default value of Parse Server option `encodeParseObjectInCloudFunction` to `true` ([#9527](#9527)) ([5c5ad69](5c5ad69)) ### BREAKING CHANGES * The default value of Parse Server option `encodeParseObjectInCloudFunction` changes to `true`; the option has been deprecated and will be removed in a future version. ([5c5ad69](5c5ad69))
🎉 This change has been released in version 8.0.0-alpha.5 |
Pull Request
Issue
Closes: FILL_THIS_OUT
Approach
Tasks