The change log describes what is "Added", "Removed", "Changed" or "Fixed" between each release.
- 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
trans
with 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 (
Twig2Visitor
andTwigVisitorFactory
) - Remove support of PHP < 7.2
- Remove support of Symfony < 3.4
- Error when getting caller name with the
FlashMessage
extractor.
- Support for
@translate
annotation. - Better handle
@ignore
annotation on FormTypeChoices
- Support for Symfony form help.
- Fixed issue where using the
@ignore
annotation 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
attr
is not an array.
- Support for
nikic/php-parser:^4
- Support for
array_*
callback inSourceLocation::createHere
- Support for global 'translation_domain' in forms
- Support for
@Ignore
annotation in $builder->add to prevent implicit label
- Make sure we do not extract implicit labels form HiddenType
- Added missing
sprintf
inValidationAnnotaion
- Do not generate an error on "placeholder=>false"
- Support for
translation_domain
andchoice_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
desc
annotation 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\TranslationBlock
andTwig\TranslationFilter
. UseTwig\Twig1Visitor
instead.
- Extractor for classes implementing
TranslationSourceLocationContainer
- Made classes final
- Blade file type extractor
- Placeholder extractor
Init release