Releases: sonata-project/twig-extensions
Releases · sonata-project/twig-extensions
1.9.1
Fixed
- [#269] Multiple phpdoc (@VincentLanglet)
1.9.0
Added
- [#253] Added support for Symfony 6 (@jordisala1991)
Removed
- [#253] Removed support for Symfony 5.1 and 5.2 (@jordisala1991)
1.8.0
1.7.0
Added
- [#222] Allow customizing flashbag groups (@core23)
- [#221]
Sonata\Twig\FlashMessage\FlashManager::$requestStack
property (@yann-eugone)
Changed
- [#221]
Sonata\Twig\FlashMessage\FlashManager::__construct()
$session
argument allowed types forSymfony\Component\HttpFoundation\Session\SessionInterface
orSymfony\Component\HttpFoundation\RequestStack
(@yann-eugone) - [#221]
Sonata\Twig\FlashMessage\FlashManager::getSession()
method to fetch session from request stack (@yann-eugone) - [#221]
Sonata\Twig\FlashMessage\FlashManager
service definition to inject'request_stack'
service instead of'session'
(@yann-eugone)
Deprecated
- [#225]
sonata_urlsafeid
filter (@VincentLanglet) - [#221] Passing
Symfony\Component\HttpFoundation\Session\SessionInterface
as $session argument ofSonata\Twig\FlashMessage\FlashManager::__construct()
(@yann-eugone) - [#221]
Sonata\Twig\FlashMessage\FlashManager::$session
property (@yann-eugone)
Fixed
- [#221] Usage of deprecated 'session' service since Symfony 5.3 (@yann-eugone)
1.6.0
Added
- [#216] Added "more" ans "less" translations in french. (@rgrassian)
1.5.1
1.5.0
Added
- [#159] Added missing
pl
translations. (@axzx) - [#169] Support for PHP8 (@VincentLanglet)
1.4.2
1.4.1
1.4.0
Added
- [#90] Add
Sonata\Twig\FlashMessage\FlashManager::addFlash(string $type, string $message): void
to add flash message directly by FlashManager (@wbloszyk) - [#90] Add
Sonata\Twig\FlashMessage\FlashManagerInterface
to allow create custom FlashManager (@wbloszyk) - [#90] Add twig function
sonata_flashmessage_class
- get css class from flash message type in Twig (@wbloszyk) - [#100] Added
Sonata\Twig\Bridge\Symfony\SonataTwigSymfonyBundle
. (@phansys)
Changed
Deprecated
- [#99] Deprecated
sonata_template_deprecate
twig tag andsonata.twig.deprecated_template_extension
service. (@franmomu) - [#99] Deprecated
DeprecatedTemplateExtension
,DeprecatedTemplateNode
andDeprecatedTemplateTokenParser
classes. (@franmomu)
Fixed
- [#90] Fix working
FlashManager
asStatusClassRenderer
(@wbloszyk) - [#100] Fixed Flex recipe implementation through
SonataTwigSymfonyBundle
alias. (@phansys)