BREAKING CHANGE: Parse Server option `allowExpiredAuthDataToken` defaults to `false`; a 3rd party authentication token will be validated every time the user tries to log in and the login will fail if the token has expired; the effect of this change may differ for different authentication adapters, depending on the token lifetime and the token refresh logic of the adapter
22 lines
1.0 KiB
JavaScript
22 lines
1.0 KiB
JavaScript
/**
|
|
* The deprecations.
|
|
*
|
|
* Add deprecations to the array using the following keys:
|
|
* - `optionKey` {String}: The option key incl. its path, e.g. `security.enableCheck`.
|
|
* - `envKey` {String}: The environment key, e.g. `PARSE_SERVER_SECURITY`.
|
|
* - `changeNewKey` {String}: Set the new key name if the current key will be replaced,
|
|
* or set to an empty string if the current key will be removed without replacement.
|
|
* - `changeNewDefault` {String}: Set the new default value if the key's default value
|
|
* will change in a future version.
|
|
* - `solution`: The instruction to resolve this deprecation warning. Optional. This
|
|
* instruction must not include the deprecation warning which is auto-generated.
|
|
* It should only contain additional instruction regarding the deprecation if
|
|
* necessary.
|
|
*
|
|
* If there are no deprecations, this must return an empty array.
|
|
*/
|
|
module.exports = [
|
|
{ optionKey: 'allowClientClassCreation', changeNewDefault: 'false' },
|
|
{ optionKey: 'encodeParseObjectInCloudFunction', changeNewDefault: 'true' },
|
|
];
|