From 38ed96ace534d639db007aa7dd5387b2da8f03ae Mon Sep 17 00:00:00 2001 From: dblythy Date: Sun, 8 May 2022 05:08:59 +1000 Subject: [PATCH] fix: depreciate allowClientClassCreation defaulting to true (#7925) --- DEPRECATIONS.md | 1 + src/Deprecator/Deprecations.js | 1 + 2 files changed, 2 insertions(+) diff --git a/DEPRECATIONS.md b/DEPRECATIONS.md index dc913dd0e7..589cbe320d 100644 --- a/DEPRECATIONS.md +++ b/DEPRECATIONS.md @@ -8,6 +8,7 @@ The following is a list of deprecations, according to the [Deprecation Policy](h | DEPPS2 | Config option `directAccess` defaults to `true` | [#6636](https://github.com/parse-community/parse-server/pull/6636) | 5.0.0 (2022) | 6.0.0 (2023) | deprecated | - | | DEPPS3 | Config option `enforcePrivateUsers` defaults to `true` | [#7319](https://github.com/parse-community/parse-server/pull/7319) | 5.0.0 (2022) | 6.0.0 (2023) | deprecated | - | | DEPPS4 | Remove convenience method for http request `Parse.Cloud.httpRequest` | [#7589](https://github.com/parse-community/parse-server/pull/7589) | 5.0.0 (2022) | 6.0.0 (2023) | deprecated | - | +| DEPPS5 | Config option `allowClientClassCreation` defaults to `false` | [#7925](https://github.com/parse-community/parse-server/pull/7925) | 5.3.0 (2023) | 7.0.0 (2024) | deprecated | - | [i_deprecation]: ## "The version and date of the deprecation." [i_removal]: ## "The version and date of the planned removal." diff --git a/src/Deprecator/Deprecations.js b/src/Deprecator/Deprecations.js index eb2212bf92..1c3d336be9 100644 --- a/src/Deprecator/Deprecations.js +++ b/src/Deprecator/Deprecations.js @@ -23,4 +23,5 @@ module.exports = [ "Additionally, the environment variable 'PARSE_SERVER_ENABLE_EXPERIMENTAL_DIRECT_ACCESS' will be deprecated and renamed to 'PARSE_SERVER_DIRECT_ACCESS' in a future version; it is currently possible to use either one.", }, { optionKey: 'enforcePrivateUsers', changeNewDefault: 'true' }, + { optionKey: 'allowClientClassCreation', changeNewDefault: 'false' }, ];