Skip to content

Latest commit

 

History

History
60 lines (36 loc) · 1.51 KB

CHANGELOG.md

File metadata and controls

60 lines (36 loc) · 1.51 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

Added

Changed

Deprecated

Removed

Fixed

Security

0.3.0 - 2022-12-28

Changed

  • Bumped PHP to version 8.1 or higher.
  • Added missing function imports.
  • Method translate() will keep searching for best matching locale and translated text.
  • Added locale to redirect method to translate URL.
  • Removed exit parameter from redirect method interface to discourage non-exit redirect.

0.2.0 - 2022-04-16

Added

  • Method translation() to set path for translation files to be loaded.
  • Method translate() to translate text for global or given locale.
  • Method locale() to set global locale.
  • Parameter $locale to method assemble() to support route translation.
  • Parameter $locale to method match() to support route translation.
  • Parameter $locale to method run() for testing.
  • Readme section 5.7 with translation support.

Changed

  • Readme section 5.1.2 with path and query string translation.

0.1.0 - 2022-04-07

Added

  • Initial commit.