commercetools/php-sdk
Deprecated PHP SDK for commercetools Composable Commerce. Provides native PHP models/helpers, IDE autocompletion, object mapping, i18n, and an OAuth2 client with caching and async/concurrent request support. Requires PHP 5.6+ (Guzzle).
update deprecation announcement
Full Changelog: https://github.com/commercetools/commercetools-php-sdk/compare/v2.19.0...v2.20.0
Full Changelog: https://github.com/commercetools/commercetools-php-sdk/compare/v2.17.0...v2.18.0
Store: support distribution and supply channel for update actions (6cfdcb7)
Fix deprecation warning for CartByCustomerIdGetRequest
key functionality (57e803c), closes #330PHP minimum version is now 5.6
guzzle/log-subscriber has been removed as a dependency
AssetDraft: AssetDraft requires CustomFieldObjectDraft instead of CustomFieldObject
Before:
$assetDraft = AssetDraft::of()->setCustom(CustomFieldObject::of());
After:
$assetDraft = AssetDraft::of()->setCustom(CustomFieldObjectDraft::of());
OAuth: Manager::getCacheAdapter() method scope has been changed from public to protected
ProductSearch: markMatchingVariants has been disabled by default
For performance reasons the markMatchingVariants flag has been disabled by default. In order to use markMatchingVariants feature please enable it explicit.
Before:
$request = ProductProjectionSearchRequest::of();
After:
$request = ProductProjectionSearchRequest::of()->markMatchingVariants(true);
Token caching is now using PSR-6 or PSR-16 cache adapters only. Removed classes:
Use an appropiate PSR-6 or PRS-16 cache adapter as a replacement. The SDK uses the cache\apcu-adapter as default or if available the cache\filesystem-adapter
Deprecations have been removed
Context doesn't extend Pimple\Container anymore
Pimple has been removed as a dependency
The class Commercetools\Commons\Helper\PriceFinder has been deprecated. Please use the
price selection functionality of
the platform. E.g. ProductProjectionSearchRequest::of()->currency('EUR')->country('DE')
AssetDraft: AssetDraft requires CustomFieldObjectDraft instead of CustomFieldObject
Before:
$assetDraft = AssetDraft::of()->setCustom(CustomFieldObject::of());
After:
$assetDraft = AssetDraft::of()->setCustom(CustomFieldObjectDraft::of());
OAuth: Manager::getCacheAdapter() method scope has been changed from public to protected
ProductSearch: markMatchingVariants has been disabled by default
For performance reasons the markMatchingVariants flag has been disabled by default. In order to use markMatchingVariants feature please enable it explicit.
Before:
$request = ProductProjectionSearchRequest::of();
After:
$request = ProductProjectionSearchRequest::of()->markMatchingVariants(true);
PHP minimum version is now 5.6
Token caching is now using PSR-6 or PSR-16 cache adapters only. Removed classes:
Use an appropiate PSR-6 or PRS-16 cache adapter as a replacement. The SDK uses the cache\apcu-adapter as default or if available the cache\filesystem-adapter
Deprecations have been removed
Context doesn't extend Pimple\Container anymore
Pimple has been removed as a dependency
How can I help you explore Laravel packages today?