Skip to content

Latest commit

 

History

History
225 lines (188 loc) · 8.73 KB

CHANGELOG.md

File metadata and controls

225 lines (188 loc) · 8.73 KB

Change Log

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.

Previous releases are documented in github releases

4.8.11 - 2023-08-14

Fixed

  • PHP 5.4 support #289

4.8.10 - 2023-08-10

Fixed

  • Previous version was tagged with the incorrect branch.

4.8.9 - 2023-08-10

Fixed

  • PHP 8.1 deprecation warning #289

4.8.8 - 2022-12-08

Fixed

  • PHP functions prefixed with a slash are being ignored #284, #288

4.8.7 - 2022-08-02

Fixed

  • Suppress deprecation error on PHP 8.1 #280

4.8.6 - 2021-10-19

Fixed

  • Parse PO files with multiline disabled entries #274

4.8.5 - 2021-07-13

Fixed

  • Prevent adding the same translator comment to multiple functions #271

4.8.4 - 2021-03-10

Fixed

  • PHP 8 compatibilty #266

4.8.3 - 2020-11-18

Fixed

  • Blade extractor for Laravel8/Jetstream #261

4.8.2 - 2019-12-02

Fixed

  • UTF-8 handling for VueJs extractor #242

4.8.1 - 2019-11-15

Fixed

  • Php error when scanning for a single domain but other string found #238

4.8.0 - 2019-11-04

Changed

  • Many private properties and methods were changed to protected in order to improve the extensibility #231

Fixed

  • PHP 7.4 support #230

4.7.0 - 2019-10-07

Added

  • Support for UnitID in Xliff #221 #224 #225
  • Support for scan multiple domains at the same time #223

Fixed

4.6.3 - 2019-07-15

Added

  • Some VueJs extraction improvements and additions #205, #213

Fixed

  • Multiline extractions in jsCode #200
  • Support for js template literals #214
  • Fixed tabs in PHP comments #215

4.6.2 - 2019-01-12

Added

  • New option facade in blade extractor to use a facade instead create a blade compiler #197, #198

Fixed

  • Added php-7.3 to travis
  • Added VueJS extractor method docblocks for IDEs #191

4.6.1 - 2018-08-27

Fixed

  • VueJS DOM parsing #188
  • Javascript parser was unable to extract some functions #187

4.6.0 - 2018-06-26

Added

  • New extractor for VueJs #178

Fixed

  • Do not include empty translations containing the headers in the translator #182
  • Test enhancement #177

4.5.0 - 2018-04-23

Added

  • Support for disabled translations

Fixed

  • Added php-7.2 to travis
  • Fixed po tests on bigendian #159
  • Improved comment estraction #166
  • Fixed incorrect docs to dn__ function #170
  • Ignored phpcs.xml file on export #168
  • Improved @method docs in Translations #175

4.4.4 - 2018-02-21

Fixed

  • Changed the comment extraction to be compatible with gettext behaviour: the comment must be placed in the line preceding the function #161

Security

  • Validate eval input from plural forms #156

4.4.3 - 2017-08-09

Fixed

  • Handle NULL arguments on extract entries in php. For example dn__(null, 'singular', 'plural').
  • Fixed the PhpCode and JsCode extractors that didn't extract dn__ and dngettext entries #155.
  • Fixed the PhpCode and JsCode extractors that didn't extract dnpgettext correctly.

4.4.2 - 2017-07-27

Fixed

  • Clone the translations in Translations::mergeWith to prevent that the translation is referenced in both places. #152
  • Fixed escaped quotes in the javascript extractor #154

4.4.1 - 2017-05-20

Fixed

  • Fixed a bug where the options was not passed correctly to the merging Translations object #147
  • Unified the plural behaviours between PHP gettext and Translator when the plural translation is unknown #148
  • Removed the deprecated function create_function() and use eval() instead

4.4.0 - 2017-05-10

Added

  • New option noLocation to po generator, to omit the references #143
  • New options delimiter, enclosure and escape_char to Csv and CsvDictionary extractors and generators #145
  • Added the missing dn__() function #146

Fixed

  • Improved the code style including php_codesniffer in development

4.3.0 - 2017-03-04

Added

  • Added support for named placeholders (using strtr). For example:
    __('Hello :name', [':name' => 'World']);
  • Added support for Twig v2
  • New function BaseTranslator::includeFunctions() to include the functions file without register any translator

Fixed

  • Fixed a bug related with the javascript source extraction with single quotes