All notable changes to this project will be documented in this file, in reverse chronological order by release.
File automatically generated with phly/keep-a-changelog
- #30 adds support for PHP 8.1
- Nothing.
- Nothing.
- Nothing.
- Nothing.
- #28 adds support for an ICU Translator
- Nothing.
- Nothing.
- Nothing.
- Nothing.
- #25 adds
LanguagePriority::fromLocale
to shortcut the creation with a single language
- Nothing.
- Nothing.
- Nothing.
- Nothing.
- Nothing.
-
#24 marks the following classes as
final
. They cannot be extended anymore:\Eventjet\I18n\Language\Language
\Eventjet\I18n\Language\LanguagePriority
\Eventjet\I18n\Translate\Translation
\Eventjet\I18n\Translate\TranslationMap
-
#24 adds type hints and return types in all methods.
-
#24 changes the signature of
\Eventjet\I18n\Translate\TranslatorInterface::translate
to consume aLanguagePriority
as its second parameter, instead of the now removedLanguagePriorityInterface
.
- Nothing.
- #24 removes the following classes/interfaces:
\Eventjet\I18n\Language\LanguageInterface
\Eventjet\I18n\Language\LanguagePrioriry
(typo)\Eventjet\I18n\Language\LanguagePriorityInterface
\Eventjet\I18n\Translate\TranslationExtractor
\Eventjet\I18n\Translate\TranslationExtractorInterface
\Eventjet\I18n\Translate\TranslationInterface
\Eventjet\I18n\Translate\TranslationMapInterface
\Eventjet\I18n\Translate\Factory\TranslationMapFactory
\Eventjet\I18n\Translate\Factory\TranslationMapFactoryInterface
- Nothing.
- #23 adds
TranslationMap::create
as replacement forTranslationMapFactory
- #23 adds
TranslationMap::pick
as replacement forTranslationExtractor
-
#23 changes minimum PHP version to 7.4 and adds support for PHP 8.0
-
#23 marks the following classes as
final
in the docblock:\Eventjet\I18n\Language\Language
\Eventjet\I18n\Language\LanguagePriority
\Eventjet\I18n\Translate\Translation
\Eventjet\I18n\Translate\TranslationMap
They will be
final
in the next major version.
- #23 deprecates
TranslationMapFactoryInterface
andTranslationMapFactory
. UseTranslationMap::create
as replacement. - #23 deprecates
TranslationExtractorInterface
andTranslationExtractor
. UseTranslationMap::pick
as replacement.
- Nothing.
- #23 fixes some minor glitches in doctypes