Skip to content

4.0.0

Compare
Choose a tag to compare
@spryker-release-bot spryker-release-bot released this 03 Apr 08:35
· 20 commits to master since this release

Included commits: 3.9.0...4.0.0

Breaking Changes

  • Removed LocaleFacadeInterface::getLocaleByCode().
  • Removed LocaleQueryContainerInterface.
  • Removed LocaleQueryContainer.
  • Introduced spy_locale_store table.
  • Introduced spy_store.fk_locale column and index-spy_store-fk_locale index.

Improvements

  • Introduced LocaleClientInterface::getAllowedLanguages().
  • Adjusted LocaleClientInterface::getCurrentLocale(), LocaleClientInterface::getLocales() to make them Dynamic Store compatible.
  • Introduced LocaleMetaDataProviderPlugin.
  • Introduced Glue\LocaleApplicationPlugin.
  • Adjusted Yves\LocaleApplicationPlugin to make it Dynamic Store compatible.
  • Adjusted LocaleLocalePlugin so it does not depend on the current locale.
  • Introduced LocaleFacadeInterface::getLocaleCollection(), LocaleFacadeInterface::expandStoreTransfersWithLocales(), LocaleFacadeInterface::updateStoreDefaultLocale(), LocaleFacadeInterface::validateStoreLocale() and LocaleFacadeInterface::updateStoreLocales().
  • Adjusted LocaleFacadeInterface::getAvailableLocales, LocaleFacadeInterface::getCurrentLocaleName() and LocaleFacadeInterface::getSupportedLocaleCodes() to make them Dynamic Store compatible.
  • Introduced ConsoleLocaleApplicationPlugin.
  • Introduced LocaleBackendGatewayApplicationPlugin.
  • Introduced LocaleStoreAclEntityConfigurationExpanderPlugin.
  • Introduced DefaultLocaleStorePostCreatePlugin, DefaultLocaleStorePostUpdatePlugin, DefaultLocaleStorePreCreateValidationPlugin, DefaultLocaleStorePreUpdateValidationPlugin, LocaleStoreCollectionExpanderPlugin, LocaleStorePostCreatePlugin and LocaleStorePostUpdatePlugin.
  • Introduced LocaleConfig::getBackofficeUILocales(), LocaleConfig::getConsoleDefaultLocale().
  • Introduced LocaleCriteria, LocaleConditions, StoreResponse, Store, Message transfers.
  • Introduced LocaleDependencyHelper.
  • Adjusted LocaleFacadeInterface::install() so it uses LocaleRepository and LocaleEntityManager instead of LocaleQueryContainerInterface to interact with Locale table.
  • Added StoreClientInterface to dependencies.
  • Added StoreFacadeInterface to dependencies.

Fixes

  • Adjusted LocaleConfig::getLocaleFile() so it throws the exception of file with locales does not exist.

Adjustments

  • Added Store, StoreExtension, ZedRequestExtension modules to dependencies.

Deprecations

  • Deprecated LocaleFacadeInterface::setCurrentLocale().