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

v1.0.0-RC11.1

Compare
Choose a tag to compare
@jenschude jenschude released this 06 Jan 13:54
· 1521 commits to main since this release

Bug Fixes

  • Product: change type of price collection (8cc1262)

Code Refactoring

  • Customer: adjust customer email verification request to API changes (2e3dd32)
  • Customer: adjust customer password change request to API changes (318e93f)

Features

  • Client: add support for oauth scopes (5545dfd)
  • Client: log response body and headers of api exceptions (f371979), closes #186
  • Product: add update action for stageable SKU (870a1f8)
  • Response: add getter for correlation id (6029a02), closes #69

BREAKING CHANGES

  • Product: renamed the ProductSetSKUAction to ProductSetSKUNotStageableAction

    Before:

    ProductSetSKUAction::ofVariantId()
    

    After:

    ProductSetSKUNotStageableAction::ofVariantId() // old behavior action
    ProductSetSkuAction::ofVariantId() // stageable action
    
  • Product: fix type of price collections

    Before:

    ProductAddVariantAction::of()->setPrices(PriceCollection::of()->add(Price::of()))
    

    After:

    ProductAddVariantAction::of()->setPrices(PriceDraftCollection::of()->add(PriceDraft::of()))
    
  • Customer: adjust customer email verification request to API changes

    Before:

    CustomerEmailConfirmRequest::ofIdVersionAndToken($id, $version, $token)
    

    After:

    CustomerEmailConfirmRequest::ofToken($token)
    
  • Customer: adjust customer password change request to API changes

    Before:

    CustomerPasswordResetRequest::ofIdVersionTokenAndPassword($id, $version, $token, $newPassword)
    

    After:

    CustomerPasswordResetRequest::ofTokenAndPassword($token, $newPassword)