- no changes in this release.
- Enh #153: Add PHP 8.5 support (@vjik)
- New #149: Add
InMemoryMessageSource(@vjik) - Chg #150: Change PHP constraint in
composer.jsonto8.0 - 8.4(@vjik)
- Enh #131: Throw
InvalidArgumentExceptionwhen missed "one" plural key (@vjik) - Bug #132: Fix incorrect locale usage when category source is not exist and specified fallback locale (@vjik)
- Bug #148: Fix the nullable parameter declarations for compatibility with PHP 8.4 (@martio)
- Chg #92: Implement fluent interface into
TranslatorInterface: methodsaddCategorySources(),setLocale(),withDefaultCategory()andwithLocale()returnsstatic(@vjik) - Chg #111: Adapt configuration group names to Yii conventions (@vjik)
- Enh #99: In
SimpleMessageFormatteradd support of messages where used parameters with plural modifier that contain non-supported keys (@vjik) - Bug #110: Changed default value for locale to BCP-47 compatible (@darkdef)
- New #94: Add
getMessages()method toCategorySource(@xepozz) - New #95: Add
write()method toCategorySource(@xepozz)
- Bug #93: Throw exceptions on empty and not passed parameters, cast
nullto empty string inSimpleMessageFormatter(@arogachev)
- New #91: Add
IdMessageReaderthat returns ID as message and doesn't support getting all messages at once (@vjik)
- New #75: Add
NullMessageFormatterthat returns message as is (@vjik) - New #78: Add
IntlMessageFormatterthat utilizes PHP intl extension message formatting capabilities (@vjik) - New #82: Add parameter
$defaultCategorytoTranslatorconstructor (@vjik) - Chg #81: Make category parameter in
TranslatorInterface::addCategorySources()variadic, and removeTranslatorInterface::addCategorySource()method (@vjik) - Chg #84: In
TranslatorInterfacerename methodwithCategory()towithDefaultCategory()(@vjik) - Chg #87: Fix package configuration, remove default category source, change default locale to
en_US(@vjik) - Chg #90: Simplified category sources config (@rustamwin)
- Enh #69: Raise minimum PHP version to 8.0 (@xepozz, @vjik)
- Enh #70: Add
Stringabletype support for$idargument inTranslator::translate()(@xepozz) - Enh #72, #75: Format messages when missing translation category (@vjik)
- Enh #73: Set
en_USas default locale for translator (@vjik) - Enh #74: Dispatch
MissingTranslationCategoryEventonce per category (@vjik) - Enh #76: Make message formatter in category source optional (@vjik)
- Bug #67: Exclude number from "plural" formatted message, handle missing options' keys (@arogachev)
- Chg #25: Move
SimpleMessageFormatterfromyiisoft/translator-formatter-simplepackage (@DAGpro, @vjik) - Enh #63: Add "plural" support to
SimpleMessageFormatter(@arogachev)
- Enh #59: Add support for
yiisoft/filesof version^2.0(@vjik)
- Chg #54: Use definitions from
yiisoft/definitionsin configuration (@vjik)
- Initial release.