Repository navigation
7.85.0
·
6 commits
to master
since this release
Included commits: 7.84.0...7.85.0
Improvements
- Introduced
CustomerFacade::getCustomerCollectionByCollectionCriteria()to retrieve customers filtered by ids, references, emails, or search terms, with sorting and pagination, to support the back-office customers list endpoint. - Introduced
CustomerFacade::getAddressCollection()andCustomerFacade::validateAddress()to retrieve and validate customer addresses for the back-office customers endpoint. - Introduced
CustomerFacade::validateAddress()to validate first name, last name, salutation, and field lengths, and execute theAddressValidatorPluginInterfaceplugin stack before an address is created or updated. - Extended
CustomerFacade::addCustomer(),CustomerFacade::registerCustomer()andCustomerFacade::updateCustomer()to execute the newCustomerValidatorPluginInterfaceplugin stack, rejecting the customer without persisting anything when a plugin reports an error. - Introduced
CustomerConfig::getCustomerCollectionSortableFieldMap()andCustomerConfig::getAddressCollectionSortableFieldMap()to define the allow-listed sortable fields for the customer and address collection endpoints. - Introduced
CustomerConfig::getCustomerNamePattern()to define the pattern first and last names must match. - Introduced
CustomerDependencyProvider::PLUGINS_CUSTOMER_VALIDATORandCustomerDependencyProvider::PLUGINS_ADDRESS_VALIDATORplugin stack constants. - Added
createdAtandupdatedAtfields toAddressTransferto expose address timestamps on the back-office customers endpoint. - Introduced
CustomerCollectionCriteriaTransfer,CustomerConditionsTransfer,AddressCriteriaTransfer,AddressConditionsTransfer,AddressCollectionTransfer,AddressResponseTransferandSortTransfer. - Introduced new glossary key
Messages::CUSTOMER_STORE_REQUIRED_FOR_PASSWORD_TOKEN, requiringstoreNamewhen a password token is requested.