Skip to content

Version 2.0.0

Compare
Choose a tag to compare
@vjik vjik released this 08 Nov 06:54
· 45 commits to master since this release
2.0.0
a98908c
  • New #75: Add NullMessageFormatter that returns message as is (@vjik)
  • New #78: Add IntlMessageFormatter that utilizes PHP intl extension message formatting capabilities (@vjik)
  • New #82: Add parameter $defaultCategory to Translator constructor (@vjik)
  • Chg #81: Make category parameter in TranslatorInterface::addCategorySources() variadic, and remove
    TranslatorInterface::addCategorySource() method (@vjik)
  • Chg #84: In TranslatorInterface rename method withCategory() to withDefaultCategory() (@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 Stringable type support for $id argument in Translator::translate() (@xepozz)
  • Enh #72, #75: Format messages when missing translation category (@vjik)
  • Enh #73: Set en_US as default locale for translator (@vjik)
  • Enh #74: Dispatch MissingTranslationCategoryEvent once per category (@vjik)
  • Enh #76: Make message formatter in category source optional (@vjik)