github zoho/zohocrm-php-sdk-8.0 7.0.0

one hour ago

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, and toString() now reports its own environment.
  • Fixed the cache file name built by Utility::getEncodedFileName():
    • It raises a clear SDKException if 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 resources folder no longer fails when two processes do it at the same moment.
  • The minimum PHP version is unchanged (>=7.1).
  • Breaking changes: Removed Initializer::$LOCAL, Initializer::removeUserConfiguration(), Initializer::getEncodedKey(), Constants::USER_NOT_FOUND_ERROR and Constants::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

Don't miss a new zohocrm-php-sdk-8.0 release

NewReleases is sending notifications on new releases.