Skip to content

Latest commit

 

History

History
99 lines (85 loc) · 5.1 KB

CHANGELOG.md

File metadata and controls

99 lines (85 loc) · 5.1 KB

Change Log

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

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