- Remove
Symfony\Component\Intl\Transliterator\EmojiTransliterator, useSymfony\Component\Emoji\EmojiTransliteratorinstead
- Allow Kosovo as a component region, controlled by the
SYMFONY_INTL_WITH_USER_ASSIGNEDenv var - Generate legal and validity metadata for currencies
- Add
isValidInAnyCountry,isValidInCountry,forCountrymethods inSymfony\Component\Intl\Currencies
- Move all emoji code & data to a new
symfony/emojicomponent - Deprecate
EmojiTransliteratorin favor ofSymfony\Component\Emoji\EmojiTransliterator
- Add support for ISO-3166-1 numeric codes with
Countries::getNumericCode(),Countries::getNumericCodes(),Countries::numericCodeExists()andCountries::getAlpha2FromNumeric()
- Add the special
striplocale toEmojiTransliteratorto strip all emojis from a string - Add
compressscript to compress theResources/datadirectory when disk space matters
- Add
EmojiTransliteratorto translate emoji to many locales
- Remove
DateFormatter\*,Collator,NumberFormatter,Locale,IntlGlobals,MethodArgumentNotImplementedException,MethodArgumentValueNotImplementedException,MethodNotImplementedExceptionandNotImplementedExceptionclasses, use symfony/polyfill-intl-icu ^1.21 instead
- Add
Currencies::getCashFractionDigits()andCurrencies::getCashRoundingIncrement()
- removed
ResourceBundlenamespace
- excluded language code
root - added to both
CountriesandLanguagesthe methodsgetAlpha3Codes,getAlpha3Code,getAlpha2Code,alpha3CodeExists,getAlpha3NameandgetAlpha3Names - excluded localized languages (e.g.
en_US) fromLanguagesingetLanguageCodes()andgetNames()
- deprecated
ResourceBundlenamespace - added
Currenciesin favor ofIntl::getCurrencyBundle() - added
LanguagesandScriptsin favor ofIntl::getLanguageBundle() - added
Localesin favor ofIntl::getLocaleBundle() - added
Countriesin favor ofIntl::getRegionBundle() - added
Timezones - made country codes ISO 3166 compliant
- excluded script code
Zzzz
- excluded language codes
mis,mul,undandzxx