Releases: spryker/customers-rest-api
Releases · spryker/customers-rest-api
1.19.0
Included commits: 1.18.0...1.19.0
Improvements
- Adjusted
CustomerCartsResourceRoutePluginso it implementsDefaultAuthorizationStrategyAwareResourceRoutePluginInterfaceandAuthorizationStrategyAwareResourceRoutePluginInterface. - Added
GlueApplicationAuthorizationConnectorExtensionto the dependencies.
1.18.0
Included commits: 1.17.0...1.18.0
Improvements
- Introduced
CustomerByQuoteRequestResourceRelationshipPluginplugin for expandingcustomerresource. - Introduced
QuoteRequesttransfer.
1.17.0
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
Included commits: 1.16.0...1.16.1
Fixes
- Adjusted
CustomerPasswordResourceController::patchAction()api responses docblock part so it can return proper response for incorrectcustomer-passwordrequest.
1.16.0
Included commits: 1.15.0...1.16.0
Improvements
- Adjusted
AddressReader::findAddressByUuid()so it usesRestRequest::getRestUser()instead ofRestRequest:getUser(). - Adjusted
AddressWriter::createAddress()so it usesRestRequest::getRestUser()insted ofRestRequest:getUser(). - Adjusted
CustomerWriter::updateCustomerPassword()so it usesRestRequest::getRestUser()instead ofRestRequest:getUser(). - Adjusted
RestApiValidator::isSameCustomerReference()so it usesRestRequest::getRestUser()instead ofRestRequest:getUser().
1.15.0
Included commits: 1.14.0...1.15.0
Improvements
- Introduced
CustomerConfirmationResourceRoutePluginthat provides/customer-confirmationresource to confirm customer account when double opt-in is enabled in the shop. - Introduced
CustomerConfirmationResourceController. - Introduced
CustomersRestApiConfig::RESOURCE_CUSTOMER_CONFIRMATIONto hold the resource type for customer confirmation resource. - Introduced
CustomersRestApiConfig::RESPONSE_CODE_CONFIRMATION_CODE_INVALIDto hold the error code returned when confirmation code is not valid. - Introduced
CustomersRestApiConfig::RESPONSE_MESSAGE_CONFIRMATION_CODE_INVALIDto hold the error detail returned when the confirmation code is not valid. - Introduced
CustomersRestApiConfig::RESPONSE_CODE_CONFIRMATION_CODE_MISSINGto hold the error code returned when the confirmation code is missing. - Introduced
CustomersRestApiConfig::RESPONSE_MESSAGE_CONFIRMATION_CODE_MISSINGto hold the error detail returned when the confirmation code is missing. - Introduced
CustomersRestApiConfig::RESPONSE_CODE_CONFIRMATION_FAILEDto 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_FAILEDto 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
RestCustomerConfirmationAttributestransfer object. - Introduced
Customer.registrationKeytransfer object property.
1.14.0
Included commits: 1.13.0...1.14.0
Improvements
Adjustments
- Adjusted
CustomersRestApiConfigandRestApiErrorInterfacewith new error constants for processing more password validation errors. - Adjusted
RestApiError::processKnownCustomerError()to process newly defined password validation errors, impactsCustomerPasswordResourceController::patchAction(),CustomerResourceController::postAction()andCustomerResourceController::patchAction().
1.13.0
Included commits: 1.12.5...1.13.0
Improvements
- Introduced
AddressByCheckoutDataResourceRelationshipPluginto add addresses resources as relationship. - Introduced
CustomerAddressSourceCheckerPluginto check if customer address ID is provided in the address attributes. - Introduced
CustomerAddressCheckoutDataValidatorPluginto validate customer addresses. - Introduced
CustomerAddressProviderStrategyPluginto provide customer address. - Introduced
CustomersRestApiFacade::getCustomerAddress(). - Introduced
CustomersRestApiFacade::validateCustomerAddressesInCheckoutData(). - Adjusted
CompanyUnitAddressproperties. - Adjusted
RestAddressproperties. - Introduced
RestCheckoutDatatransfer. - Introduced
CheckoutErrortransfer. - Introduced
CheckoutResponsetransfer. - Introduced
CheckoutDatatransfer. - Introduced
RestShipmentstransfer.
1.12.5
Included commits: 1.12.4...1.12.5
Fixes
- Refactored
ContainerInterfacearray access usage toContainerInterface::set()method usage.
1.12.4
Included commits: 1.12.3...1.12.4
Improvements
- Added Glue documentation generator annotation for
/customer-forgotten-passwordendpoint. - Added Glue documentation generator annotation for
/customer-restore-passwordendpoint.