Skip to content

Releases: spryker/customer

7.35.0

27 Jan 11:35
Compare
Choose a tag to compare

Included commits: 7.34.0...7.35.0

Improvements

  • Adjusted CustomerConfig::getRegisterConfirmTokenUrl() config method to enable fetching registration confirmation token URL from the environment variable.
  • Introduced CustomerConstants::REGISTRATION_CONFIRMATION_TOKEN_URL that allows making the registration confirmation URL configurable from the environment.

7.34.0

03 Dec 13:19
Compare
Choose a tag to compare

Included commits: 7.33.1...7.34.0

Improvements

  • Added CustomerConfig::getCustomerPasswordCharacterSet() for storing configuration of pattern of a required character set.
  • Added CustomerConfig::getCustomerPasswordAllowList() for storing configured list of passwords that bypass any validation.
  • Added CustomerConfig::getCustomerPasswordDenyList() for storing configured list of passwords that not allowed to be used.
  • Added CustomerConfig::getCustomerPasswordSequenceLimit() for storing repeated character sequence length limit configuration.
  • Added CustomerConfig::isRestorePasswordValidationEnabled() enabling password check on password restoring action.
  • Added CustomerErrorTransfer::$parameters for passing parameters to error messages.

Adjustments

  • Adjusted CustomerFacade::addCustomer(), CustomerFacade::registerCustomer(), CustomerFacade::updateCustomer(), CustomerFacade::updateCustomerPassword(), CustomerFacade::saveCustomerForOrder(), CustomerFacade::saveOrderCustomer() and CustomerFacade::anonymizeCustomer() methods to apply configurable password policy validation on provided passwords.
  • Adjusted CustomerFacade::restorePassword() to apply configurable password policy validation when it is explicitly enabled by configuration.
  • Adjusted Customer to accept CustomerPasswordPolicyValidatorInterface as a dependency.
  • Moved password length check and related constants from Customer to LengthCustomerPasswordPolicy.

6.5.0

16 Feb 08:16
Compare
Choose a tag to compare

Included commits: 6.4.0...6.5.0

Fixes

  • Introduced backport for facade method CustomerFacade::findCustomerAddressById().

7.33.1

06 Oct 12:06
Compare
Choose a tag to compare

Included commits: 7.33.0...7.33.1

Fixes

  • Use NativePasswordEncoder instead of deprecated BCryptPasswordEncoder.

7.33.0

25 Aug 10:50
Compare
Choose a tag to compare

Included commits: 7.32.2...7.33.0

Improvements

  • Introduced CustomerFacade::findCustomerByCriteria() to allow retrieving customer optionally expanded by CustomerTransferExpanderPluginInterface plugins stack.

7.32.2

18 Aug 13:23
Compare
Choose a tag to compare

Included commits: 7.32.1...7.32.2

Fixes

  • Adjusted CustomerRegistrationConfirmationMailTypePlugin::setSender() so it uses the default sender email and name from configuration.
  • Adjusted CustomerRegistrationMailTypePlugin::setSender() so it uses the default sender email and name from configuration.
  • Adjusted CustomerRestorePasswordMailTypePlugin::setSender() so it uses the default sender email and name from configuration.
  • Adjusted CustomerRestoredPasswordConfirmationMailTypePlugin::setSender() so it uses the default sender email and name from configuration.

7.32.1

03 Aug 08:38
Compare
Choose a tag to compare

Included commits: 7.32.0...7.32.1

Fixes

  • Adjusted the default config value '' (empty string) for SequenceNumberConstants::ENVIRONMENT_PREFIX.

7.32.0

24 Jul 10:31
Compare
Choose a tag to compare

Included commits: 7.31.0...7.32.0

Improvements

  • Replaced usage of the Pimple plugin with ContainerInterface::getApplicationService().

7.31.0

21 Jul 15:06
Compare
Choose a tag to compare

Included commits: 7.30.0...7.31.0

Improvements

  • Introduced AddressCriteriaFilter transfer.
  • Adjusted Address in order to use repository instead of query object.

7.30.0

08 Jul 08:50
Compare
Choose a tag to compare

Included commits: 7.29.2...7.30.0

Improvements

  • Introduced Shared.CustomerConfig::isDoubleOptInEnabled() configuration.
  • Introduced Zed.CustomerConfig::isDoubleOptInEnabled() configuration.
  • Introduced CustomerClientInterface::confirmCustomerRegistration().
  • Introduced CustomerFacadeInterface::confirmCustomerRegistration().
  • Adjusted CustomerFacade::registerCustomer() to send customer registration confirmation mail after customer creation if Shared.CustomerConfig::isDoubleOptInEnabled() was enabled.
  • Adjusted CustomerFacade::saveOrderCustomer() to send customer registration confirmation mail after customer creation if Shared.CustomerConfig::isDoubleOptInEnabled() was enabled.
  • Introduced
    CustomerRegistrationConfirmationMailTypePlugin in order to send email with token inside if double opt in feature is enabled.
  • Adjusted CustomerTable in order to show customer confirmation status on customer list page. Address columns were removed.
  • Introduced CustomerDataHelper::confirmCustomer() that allows confirming customer's accounts in tests.

Deprecations

  • Deprecated CustomerClientInterface::confirmRegistration().
  • Deprecated CustomerFacadeInterface::confirmRegistration().