All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
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