Repository navigation
7.0.0
- Fixed an issue in
Initializer::switchUser()where the token was fetched using the previous user's environment. The new user is now made active before the token is requested. Initializer::getInitializer()now returns the active user directly, andtoString()now reports its own environment.- Fixed the cache file name built by
Utility::getEncodedFileName():- It raises a clear
SDKExceptionif the SDK isn't initialized or has no environment. - It replaces
/with_, so the name can't turn into a subfolder. - Names longer than 250 characters are hashed to stay within filesystem limits.
- Tokens of 32 characters or fewer get their own cache file instead of sharing one.
- Creating the
resourcesfolder no longer fails when two processes do it at the same moment.
- It raises a clear
- The minimum PHP version is unchanged (
>=7.1). - Breaking changes: Removed
Initializer::$LOCAL,Initializer::removeUserConfiguration(),Initializer::getEncodedKey(),Constants::USER_NOT_FOUND_ERRORandConstants::USER_NOT_FOUND_ERROR_MESSAGE. Remove any calls to these before upgrading. - Behaviour change: Users with tokens of 32 characters or fewer get a new cache file name, so their cached field details are fetched again once after upgrading.
For more details, kindly refer to here.
-
Install PHP SDK.
-
Navigate to the workspace of your client app.
-
Run the command below:
composer require zohocrm/php-sdk-8.0:7.0.0
-