Skip to content

Latest commit

 

History

History
147 lines (87 loc) · 3.57 KB

CHANGELOG.md

File metadata and controls

147 lines (87 loc) · 3.57 KB

Changelog

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

2.2.1 - 2022-01-11

Added

  • #30 adds support for PHP 8.1

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Nothing.

2.2.0 - 2021-10-30

Added

  • #28 adds support for an ICU Translator

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Nothing.

2.1.0 - 2021-09-15

Added

  • #25 adds LanguagePriority::fromLocale to shortcut the creation with a single language

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Nothing.

2.0.0 - 2020-11-24

Added

  • Nothing.

Changed

  • #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 a LanguagePriority as its second parameter, instead of the now removed LanguagePriorityInterface.

Deprecated

  • Nothing.

Removed

  • #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

Fixed

  • Nothing.

1.7.0 - 2020-11-23

Added

  • #23 adds TranslationMap::create as replacement for TranslationMapFactory
  • #23 adds TranslationMap::pick as replacement for TranslationExtractor

Changed

  • #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.

Deprecated

  • #23 deprecates TranslationMapFactoryInterface and TranslationMapFactory. Use TranslationMap::create as replacement.
  • #23 deprecates TranslationExtractorInterface and TranslationExtractor. Use TranslationMap::pick as replacement.

Removed

  • Nothing.

Fixed

  • #23 fixes some minor glitches in doctypes