- Move all emoji code & data to a new
symfony/emoji
component - Deprecate
EmojiTransliterator
in 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
strip
locale toEmojiTransliterator
to strip all emojis from a string - Add
compress
script to compress theResources/data
directory when disk space matters
- Add
EmojiTransliterator
to translate emoji to many locales
- Remove
DateFormatter\*
,Collator
,NumberFormatter
,Locale
,IntlGlobals
,MethodArgumentNotImplementedException
,MethodArgumentValueNotImplementedException
,MethodNotImplementedException
andNotImplementedException
classes, use symfony/polyfill-intl-icu ^1.21 instead
- Add
Currencies::getCashFractionDigits()
andCurrencies::getCashRoundingIncrement()
- removed
ResourceBundle
namespace
- excluded language code
root
- added to both
Countries
andLanguages
the methodsgetAlpha3Codes
,getAlpha3Code
,getAlpha2Code
,alpha3CodeExists
,getAlpha3Name
andgetAlpha3Names
- excluded localized languages (e.g.
en_US
) fromLanguages
ingetLanguageCodes()
andgetNames()
- deprecated
ResourceBundle
namespace - added
Currencies
in favor ofIntl::getCurrencyBundle()
- added
Languages
andScripts
in favor ofIntl::getLanguageBundle()
- added
Locales
in favor ofIntl::getLocaleBundle()
- added
Countries
in favor ofIntl::getRegionBundle()
- added
Timezones
- made country codes ISO 3166 compliant
- excluded script code
Zzzz
- excluded language codes
mis
,mul
,und
andzxx