All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
2.5.0 - 2024-09-09
- [#409] Symfony 7.1 deprecation about
Symfony\Component\HttpKernel\DependencyInjection\Extension
usage (@VincentLanglet)
2.4.0 - 2023-11-23
- [#392] Symfony 7 support (@VincentLanglet)
2.3.0 - 2023-08-02
- [#389] Add Ukrainian translations (@gulaandrij)
2.2.0 - 2023-07-31
2.1.0 - 2023-04-25
- [#369] Drop support for Symfony 6.0 and 6.1. (@jordisala1991)
2.0.0 - 2022-07-31
- No significant changes
2.0.0-alpha-1 - 2022-06-14
See UPGRADE-2.0.md for all changes
1.12.0 - 2022-07-28
- [#341] Support for
sonata-project/doctrine-extensions
^2 (@VincentLanglet)
1.11.0 - 2022-07-28
- [#338]
symfony/translation
requirement (@VincentLanglet) - [#330] Support of Symfony 5.3 (@franmomu)
- [#321] PHP 7.3 support (@VincentLanglet)
1.10.0 - 2022-05-21
- [#318] Passing a string to StatusRuntime::statusClass (@VincentLanglet)
- [#318] StatusRendererCompilerPass (@VincentLanglet)
- [#316] Deprecated custom bundle file for flex recipe. (@jordisala1991)
1.9.1 - 2021-12-04
- [#269] Multiple phpdoc (@VincentLanglet)
1.9.0 - 2021-09-22
- [#253] Added support for Symfony 6 (@jordisala1991)
- [#253] Removed support for Symfony 5.1 and 5.2 (@jordisala1991)
1.8.0 - 2021-09-08
1.7.0 - 2021-07-20
- [#222] Allow customizing flashbag groups (@core23)
- [#221]
Sonata\Twig\FlashMessage\FlashManager::$requestStack
property (@yann-eugone)
- [#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)
- [#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)
- [#221] Usage of deprecated 'session' service since Symfony 5.3 (@yann-eugone)
1.6.0 - 2021-05-18
- [#216] Added "more" ans "less" translations in french. (@rgrassian)
1.5.1 - 2021-02-15
1.5.0 - 2021-01-04
- [#159] Added missing
pl
translations. (@axzx) - [#169] Support for PHP8 (@VincentLanglet)
1.4.2 - 2020-12-08
1.4.1 - 2020-08-09
1.4.0 - 2020-08-08
- [#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)
- [#99] Deprecated
sonata_template_deprecate
twig tag andsonata.twig.deprecated_template_extension
service. (@franmomu) - [#99] Deprecated
DeprecatedTemplateExtension
,DeprecatedTemplateNode
andDeprecatedTemplateTokenParser
classes. (@franmomu)
- [#90] Fix
working
FlashManager
asStatusClassRenderer
(@wbloszyk) - [#100] Fixed
Flex recipe implementation through
SonataTwigSymfonyBundle
alias. (@phansys)
1.3.1 - 2020-06-29
- [#92] Fix
Sonata\Twig\Status\StatusClassRendererInterface
implementation inSonata\Twig\FlashMessage\FlashManager
(@wbloszyk) - [#92] Fix
Sonata\Twig\Extension\StatusRuntime
to working withSonata\Twig\FlashMessage\FlashManager
again, after add type hints (@wbloszyk) - [#94] CSS Class now returned for flash messages (@benrcole)
1.3.0 - 2020-06-04
- remove return type hints in
Sonata\Twig\FlashMessage\FlashManager::handlesObject()
- remove return type hints in
Sonata\Twig\FlashMessage\FlashManager::getStatusClass()
- remove return type hints in
Sonata\Twig\FlashMessage\StatusClassRendererInterface::handlesObject()
- remove return type hints in
Sonata\Twig\FlashMessage\StatusClassRendererInterface::getStatusClass()
- remove return type hints in
Sonata\Form\Type\BaseStatusType::configureOptions()
1.2.0 - 2020-03-21
- Added support for
twig/twig:^3.0
- Added
flashmessage.css
from CoreBundle
1.1.1 - 2020-01-04
- Fixed wrong service ids
- Add missing
form_type
parameter in configuration - Make twig templates discoverable automatically
1.1.0 - 2019-12-06
- Added support for Symfony 5
- Migrated to Twig namespaces