Skip to content
This repository was archived by the owner on Oct 24, 2023. It is now read-only.

v1.0.0-RC2

Choose a tag to compare

@jenschude jenschude released this 06 Jan 14:00
· 1847 commits to main since this release

Bug Fixes

  • ProductVariantDraft: add images definition (971cfbf4, closes #135)

Breaking Changes

  • SphereException and SphereServiceException have been renamed to ApiException and ApiServiceException

    Before

    try {
      ...
    } catch(SphereException $e) {
    }
    

    After:

    try {
      ...
    } catch(ApiException $e) {
    }
    

    (813a6cb7)

  • Namespace Sphere has been renamed to Commercetools

    Namespace and Use statements and fully qualified class names have to be adjusted. E.g.

    Before

    use Sphere\Core\Client;
    
    $class = '\Sphere\Core\Client';
    

    After:

    use Commercetools\Core\Client;
    
    $class = '\Commercetools\Core\Client';
    

    (4bc9575f)