Skip to content

Releases: sonata-project/twig-extensions

1.9.1

04 Dec 14:20
adb0257
Compare
Choose a tag to compare

Fixed

1.9.0

22 Sep 14:25
Compare
Choose a tag to compare

Added

Removed

1.8.0

08 Sep 08:06
Compare
Choose a tag to compare

Added

  • [#244] Added Dutch (NL) translations as xliff file. (@7ochem)

1.7.0

20 Jul 12:52
1e2a771
Compare
Choose a tag to compare

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 for Symfony\Component\HttpFoundation\Session\SessionInterface or Symfony\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 of Sonata\Twig\FlashMessage\FlashManager::__construct() (@yann-eugone)
  • [#221] Sonata\Twig\FlashMessage\FlashManager::$session property (@yann-eugone)

Fixed

1.6.0

18 May 20:48
888776b
Compare
Choose a tag to compare

Added

1.5.1

15 Feb 20:57
05a4b2c
Compare
Choose a tag to compare

Added

  • [#188] Added support for sonata-project/doctrine-extensions 1.9. (@franmomu)

1.5.0

05 Jan 10:15
55c6267
Compare
Choose a tag to compare

Added

1.4.2

08 Dec 16:07
bc93c18
Compare
Choose a tag to compare

Fixed

  • [#124] Fixed throwing a deprecation warning every time the bundle is loaded. (@franmomu)

1.4.1

10 Aug 09:54
1.4.1
Compare
Choose a tag to compare

Fixed

1.4.0

08 Aug 16:41
1.4.0
70e3aa2
Compare
Choose a tag to compare

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 and sonata.twig.deprecated_template_extension service. (@franmomu)
  • [#99] Deprecated DeprecatedTemplateExtension, DeprecatedTemplateNode and DeprecatedTemplateTokenParser classes. (@franmomu)

Fixed

  • [#90] Fix working FlashManager as StatusClassRenderer (@wbloszyk)
  • [#100] Fixed Flex recipe implementation through SonataTwigSymfonyBundle alias. (@phansys)

Removed