The change log describes what is "Added", "Removed", "Changed" or "Fixed" between each release.
- Allow Symfony 6 by @bocharsky-bw in php-translation#165
- New extractor for constraints by @lukepass in php-translation#160
- Concatenated labels by @Stadly in php-translation#127
- Add support to placeholders as array by @cristoforocervino in php-translation#158
- Humanize the implicit label of symfony form types php-translation#154
- Add GitHub Actions CI config by @bocharsky-bw in php-translation#164
- Add return type to fix deprecation by @gimler in php-translation#161
- Remove phpcs-fixer --diff-fomat option by @gimler in php-translation#163
- Delete Travis config - repo migrated to GitHub Actions by @bocharsky-bw in php-translation#162
- Add support for PHP 8 #157
- Update image used in github actions to fix CS errors #153
- Fixed error when using variable in transChoice() #151
- Knp menu extractors #152
- Avoid exception when calling
transwith a variable.
- Added extractor for form field titles
- Add support of Symfony ^5.0
- Add strict type hinting
- Added
PHPFileExtractor::supportsExtension(): bool - Removed
PHPFileExtractor::getType() - Remove support of Twig 1.x (
Twig2VisitorandTwigVisitorFactory) - Remove support of PHP < 7.2
- Remove support of Symfony < 3.4
- Error when getting caller name with the
FlashMessageextractor.
- Support for
@translateannotation. - Better handle
@ignoreannotation on FormTypeChoices
- Support for Symfony form help.
- Fixed issue where using the
@ignoreannotation ignored the wrong property. - Do not run the Twig worker if we are not extracting.
- Fixed Fatal Error in FormTypeImplicit when using method call from variable
- Fixed bug where form option key
attris not an array.
- Support for
nikic/php-parser:^4 - Support for
array_*callback inSourceLocation::createHere - Support for global 'translation_domain' in forms
- Support for
@Ignoreannotation in $builder->add to prevent implicit label
- Make sure we do not extract implicit labels form HiddenType
- Added missing
sprintfinValidationAnnotaion - Do not generate an error on "placeholder=>false"
- Support for
translation_domainandchoice_translation_domain
- Respect
"label" => false - Form type extractors will only operate on form type classes.
- Symfony 2.7 support
- Support for passing choice as variable
- Support for Symfony 4
- Support for
descannotation and twig filter - Support for .phtml
- Support for PHPUnit6
- Extract translation from form's "empty_value"
- Extract translation from Validation messages
- Added TwigVisitorFactory to create a TwigVisitor. TwigVisitor::create has been deprecated.
- Do not stop visiting a file when not class is not *Type.
- More test to prove correctness.
- Make sure we test with the lowest version on Travis
- Fixed minor bugs for Twig 1.x.
- Support for Twig 2.0.
- Support for reporting errors and silence errors with
@Ignore.
Twig\TranslationBlockandTwig\TranslationFilter. UseTwig\Twig1Visitorinstead.
- Extractor for classes implementing
TranslationSourceLocationContainer - Made classes final
- Blade file type extractor
- Placeholder extractor
Init release