Skip to content

Releases: spryker/customers-rest-api

1.28.0

05 May 08:00

Choose a tag to compare

Included commits: 1.27.0...1.28.0

Improvements

  • Introduced API Platform storefront resources for customer profile management (customers), address management (customers-addresses), password operations (customer-password, customer-restore-password, customer-forgotten-password), and registration confirmation (customer-confirmation, customers-confirm-registration) to migrate Customer and CustomerAccess endpoints to API Platform.
  • Introduced CustomerIdentityRequestSubscriber to populate CustomerTransfer on API Platform requests from OAuth claims, and CustomerOwnershipVoter to enforce that customers can only access their own resources.
  • Added phone, comment, and region to RestAddressTransfer to expose full address data through the new API Platform endpoints.
  • Added salutation, firstName, lastName, email, password, newPassword, phone, dateOfBirth, createdAt, updatedAt, and anonymizedAt to RestCustomerTransfer to support full customer profile operations via API Platform.

1.27.0

04 May 18:39

Choose a tag to compare

Included commits: 1.26.0...1.27.0

Improvements

  • Introduced CustomerIdentityRequestSubscriber to extract customer identity from OAuth claims on the request, building a CustomerTransfer from customer_reference and id_customer claim keys and making it available to downstream API Platform storefront providers and processors.

1.26.0

04 Aug 10:49

Choose a tag to compare

Included commits: 1.25.0...1.26.0

Improvements

  • Updated transfer fields with description.

1.25.0

18 Jul 10:38

Choose a tag to compare

Included commits: 1.24.0...1.25.0

Improvements

  • Improved generated API.

1.24.0

19 Dec 12:28

Choose a tag to compare

Included commits: 1.23.0...1.24.0

Improvements

  • Adjusted customers.validation.yaml to enhance the validation error message.

1.23.0

11 Dec 18:24

Choose a tag to compare

Included commits: 1.22.0...1.23.0

Improvements

  • Adjusted customers.validation.yaml to enhance validation rules.

1.22.0

03 Jan 14:24

Choose a tag to compare

Included commits: 1.21.2...1.22.0

Improvements

  • Introduced RestErrorCollection transfer.
  • Introduced BillingAddressCheckoutRequestAttributesValidatorPlugin to validate RestCheckoutRequestAttributesTransfer.billingAddress mandatory fields.
  • Introduced CustomersRestApiConfig::getBillingAddressFieldsToSkipValidation() to define a list of properties in a RestAddressTransfer that should trigger validation skip.

Adjustments

  • Added UtilText module to dependencies.
  • Added UtilTextServiceInterface to dependencies.

1.21.2

29 Dec 12:37

Choose a tag to compare

Included commits: 1.21.1...1.21.2

Fixes

  • Adjusted customers_rest_api.databuilder.xml in order to fix CI errors.

1.21.1

16 Sep 09:28

Choose a tag to compare

Included commits: 1.21.0...1.21.1

Fixes

  • Adjusted CustomersRestApiConfig::RESPONSE_MESSAGE_CUSTOMER_ALREADY_EXISTS in order to update error constants message.

1.21.0

01 Sep 11:18

Choose a tag to compare

Included commits: 1.20.0...1.21.0

Fixes

  • Adjusted CustomerResourceController::postAction() in order to validate gender, salutation request attributes.
  • Adjusted CustomerResourceController::patchAction() in order to validate gender, salutation request attributes.