Skip to content

Latest commit

 

History

History
185 lines (150 loc) · 11.8 KB

CHANGELOG.md

File metadata and controls

185 lines (150 loc) · 11.8 KB

Change Log

All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.

2.5.0 - 2024-09-09

Added

  • [#412] Support for twig's "yield" mode for output generation. (@JanStorm)

Fixed

  • [#409] Symfony 7.1 deprecation about Symfony\Component\HttpKernel\DependencyInjection\Extension usage (@VincentLanglet)

2.4.0 - 2023-11-23

Added

2.3.0 - 2023-08-02

Added

2.2.0 - 2023-07-31

Added

  • [#387] Add SonataTwigBundle.it.xliff translation file (@gremo)

2.1.0 - 2023-04-25

Removed

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

Added

1.11.0 - 2022-07-28

Removed

1.10.0 - 2022-05-21

Deprecated

1.9.1 - 2021-12-04

Fixed

1.9.0 - 2021-09-22

Added

Removed

1.8.0 - 2021-09-08

Added

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

1.7.0 - 2021-07-20

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 - 2021-05-18

Added

1.5.1 - 2021-02-15

Added

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

1.5.0 - 2021-01-04

Added

1.4.2 - 2020-12-08

Fixed

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

1.4.1 - 2020-08-09

Fixed

1.4.0 - 2020-08-08

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

1.3.1 - 2020-06-29

Fixed

  • [#92] Fix Sonata\Twig\Status\StatusClassRendererInterface implementation in Sonata\Twig\FlashMessage\FlashManager (@wbloszyk)
  • [#92] Fix Sonata\Twig\Extension\StatusRuntime to working with Sonata\Twig\FlashMessage\FlashManager again, after add type hints (@wbloszyk)
  • [#94] CSS Class now returned for flash messages (@benrcole)

1.3.0 - 2020-06-04

Removed

  • 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

  • Added support for twig/twig:^3.0
  • Added flashmessage.css from CoreBundle

1.1.1 - 2020-01-04

Fixed

  • Fixed wrong service ids
  • Add missing form_type parameter in configuration
  • Make twig templates discoverable automatically

1.1.0 - 2019-12-06

Added

  • Added support for Symfony 5

Changed

  • Migrated to Twig namespaces