Skip to content

Releases: spryker/customers-rest-api

1.19.0

11 Aug 20:34

Choose a tag to compare

Included commits: 1.18.0...1.19.0

Improvements

  • Adjusted CustomerCartsResourceRoutePlugin so it implements DefaultAuthorizationStrategyAwareResourceRoutePluginInterface and AuthorizationStrategyAwareResourceRoutePluginInterface.
  • Added GlueApplicationAuthorizationConnectorExtension to the dependencies.

1.18.0

06 Jul 13:55

Choose a tag to compare

Included commits: 1.17.0...1.18.0

Improvements

  • Introduced CustomerByQuoteRequestResourceRelationshipPlugin plugin for expanding customer resource.
  • Introduced QuoteRequest transfer.

1.17.0

01 Jul 09:27

Choose a tag to compare

Included commits: 1.16.1...1.17.0

Fixes

  • Adjusted CustomerRestorePasswordResourceController::patchAction() so it returns correct errors on failure instead of returning "Restore password key is not valid" in any case.

1.16.1

30 Jun 12:55

Choose a tag to compare

Included commits: 1.16.0...1.16.1

Fixes

  • Adjusted CustomerPasswordResourceController::patchAction() api responses docblock part so it can return proper response for incorrect customer-password request.

1.16.0

28 May 14:16

Choose a tag to compare

Included commits: 1.15.0...1.16.0

Improvements

  • Adjusted AddressReader::findAddressByUuid() so it uses RestRequest::getRestUser() instead of RestRequest:getUser().
  • Adjusted AddressWriter::createAddress() so it uses RestRequest::getRestUser() insted of RestRequest:getUser().
  • Adjusted CustomerWriter::updateCustomerPassword() so it uses RestRequest::getRestUser() instead of RestRequest:getUser().
  • Adjusted RestApiValidator::isSameCustomerReference() so it uses RestRequest::getRestUser() instead of RestRequest:getUser().

1.15.0

20 Jan 15:18

Choose a tag to compare

Included commits: 1.14.0...1.15.0

Improvements

  • Introduced CustomerConfirmationResourceRoutePlugin that provides /customer-confirmation resource to confirm customer account when double opt-in is enabled in the shop.
  • Introduced CustomerConfirmationResourceController.
  • Introduced CustomersRestApiConfig::RESOURCE_CUSTOMER_CONFIRMATION to hold the resource type for customer confirmation resource.
  • Introduced CustomersRestApiConfig::RESPONSE_CODE_CONFIRMATION_CODE_INVALID to hold the error code returned when confirmation code is not valid.
  • Introduced CustomersRestApiConfig::RESPONSE_MESSAGE_CONFIRMATION_CODE_INVALID to hold the error detail returned when the confirmation code is not valid.
  • Introduced CustomersRestApiConfig::RESPONSE_CODE_CONFIRMATION_CODE_MISSING to hold the error code returned when the confirmation code is missing.
  • Introduced CustomersRestApiConfig::RESPONSE_MESSAGE_CONFIRMATION_CODE_MISSING to hold the error detail returned when the confirmation code is missing.
  • Introduced CustomersRestApiConfig::RESPONSE_CODE_CONFIRMATION_FAILED to hold the error code returned when the confirmation was not successful but the error received was not mapped to any Glue error.
  • Introduced CustomersRestApiConfig::RESPONSE_MESSAGE_CONFIRMATION_FAILED to hold the error message returned when the confirmation was not successful but the error received was not mapped to any Glue error.
  • Introduced CustomersRestApiConfig::getErrorMapping() to hold the feature error mapping to Glue-specific errors.
  • Added CustomerClient::confirmCustomerRegistration() to dependencies.
  • Introduced RestCustomerConfirmationAttributes transfer object.
  • Introduced Customer.registrationKey transfer object property.

1.14.0

03 Dec 13:19

Choose a tag to compare

Included commits: 1.13.0...1.14.0

Improvements

Adjustments

  • Adjusted CustomersRestApiConfig and RestApiErrorInterface with new error constants for processing more password validation errors.
  • Adjusted RestApiError::processKnownCustomerError() to process newly defined password validation errors, impacts CustomerPasswordResourceController::patchAction(), CustomerResourceController::postAction() and CustomerResourceController::patchAction().

1.13.0

30 Nov 08:34

Choose a tag to compare

Included commits: 1.12.5...1.13.0

Improvements

  • Introduced AddressByCheckoutDataResourceRelationshipPlugin to add addresses resources as relationship.
  • Introduced CustomerAddressSourceCheckerPlugin to check if customer address ID is provided in the address attributes.
  • Introduced CustomerAddressCheckoutDataValidatorPlugin to validate customer addresses.
  • Introduced CustomerAddressProviderStrategyPlugin to provide customer address.
  • Introduced CustomersRestApiFacade::getCustomerAddress().
  • Introduced CustomersRestApiFacade::validateCustomerAddressesInCheckoutData().
  • Adjusted CompanyUnitAddress properties.
  • Adjusted RestAddress properties.
  • Introduced RestCheckoutData transfer.
  • Introduced CheckoutError transfer.
  • Introduced CheckoutResponse transfer.
  • Introduced CheckoutData transfer.
  • Introduced RestShipments transfer.

1.12.5

17 Jun 15:44

Choose a tag to compare

Included commits: 1.12.4...1.12.5

Fixes

  • Refactored ContainerInterface array access usage to ContainerInterface::set() method usage.

1.12.4

22 Apr 13:54

Choose a tag to compare

Included commits: 1.12.3...1.12.4

Improvements

  • Added Glue documentation generator annotation for /customer-forgotten-password endpoint.
  • Added Glue documentation generator annotation for /customer-restore-password endpoint.