Skip to content

Releases: spryker/locale

4.1.0

11 Jul 10:57
Compare
Choose a tag to compare

Included commits: 4.0.1...4.1.0

Improvements

  • Adjusted LocaleApplicationPlugin so it sets current locale name to the Store.

4.0.1

05 May 18:27
Compare
Choose a tag to compare

Included commits: 4.0.0...4.0.1

Fixes

  • Adjusted LocaleDataHelper to reset locale cache class manually if a locale exists so if a locale is created and deleted during the same test run, then the same locale is created again, and the new identifier is retrieved from the code cache.

4.0.0

03 Apr 08:35
Compare
Choose a tag to compare

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().

3.9.0

10 Mar 14:48
Compare
Choose a tag to compare

Included commits: 3.8.2...3.9.0

Improvements

  • Added AclMerchantPortalExtension, Transfer modules to dependencies.
  • Introduced LocaleAclEntityConfigurationExpanderPlugin plugin to expand provided AclEntityMetadataConfig transfer object with locale composite data.
  • Introduced LocaleMerchantAclEntityRuleExpanderPlugin plugin to expand set of AclEntityRule transfer object with locale composite data.
  • Introduced AclEntityMetadataConfig transfer.
  • Introduced AclEntityMetadata transfer.
  • Introduced AclEntityMetadataCollection transfer.
  • Introduced AclEntityRule transfer.

3.8.2

29 Dec 12:37
Compare
Choose a tag to compare

Included commits: 3.8.1...3.8.2

Fixes

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

3.8.1

23 Feb 21:00
Compare
Choose a tag to compare

Included commits: 3.8.0...3.8.1

Fixes

  • Fixed LocaleFacade::getLocaleCollection() in order to merge only indexed locales.

3.8.0

29 Oct 13:11
Compare
Choose a tag to compare

Included commits: 3.7.0...3.8.0

Improvements

  • Introduced LocaleClientInterface::getCurrentLanguage() which returns current language based on the current locale.
  • Introduced LocaleClientInterface::getLocales() which returns list of locales for current store.

3.7.0

09 Oct 14:14
Compare
Choose a tag to compare

Included commits: 3.6.1...3.7.0

Improvements

  • Adjusted LocaleFacade::getLocaleById() in order to get locale via repository.

3.6.1

06 Oct 12:06
Compare
Choose a tag to compare

Included commits: 3.6.0...3.6.1

Fixes

  • Use new Event classes from symfony/http-kernel.

3.6.0

24 Jul 10:31
Compare
Choose a tag to compare

Included commits: 3.5.1...3.6.0

Improvements

  • Added \SprykerTest\Yves\Locale\Helper\LocaleHelper.