Skip to content

Latest commit

 

History

History
160 lines (133 loc) · 6.41 KB

CHANGELOG.md

File metadata and controls

160 lines (133 loc) · 6.41 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.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