Skip to content
This repository has been archived by the owner on Sep 30, 2021. It is now read-only.

Latest commit

 

History

History
362 lines (276 loc) · 14.3 KB

CHANGELOG.md

File metadata and controls

362 lines (276 loc) · 14.3 KB

Change Log

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

3.20.0 - 2020-06-04

Removed

  • remove Form and Twig sub-namespaces from CoreBundle and get them back from form-extensions 0.x and twig-extensions 0.x

3.19.2 - 2020-06-03

Changed

  • change register aliases from bundle configuration to compiler pass

Fixed

  • fixed register CoreBundle with form and twig bridges
  • Deprecation message for InlineConstraint was always displayed

3.19.1 - 2020-05-26

Fixed

  • Display again flash message

3.19.0 - 2020-05-23

Added

  • Added Sonata\Form\Serializer\BaseSerializerHandler
  • Added Sonata\Form\Serializer\BaseSerializerHandlerInterface

Deprecated

  • Deprecated Sonata\Serializer\BaseSerializerHandler
  • Deprecated Sonata\Serializer\BaseSerializerHandlerInterface

Remove

  • Remove SonataDatagridBundle dependency

3.18.0 - 2020-01-28

Changed

  • Switch to phpunit 8 setUp signature in tests

Fixed

  • Compatibility with "cocur/slugify:^4.0".

3.17.2 - 2019-11-29

Fixed

  • Compatibility with symfony/twig-bridge 4.4
  • Compatibility with symfony/dependency-injection 4.4

3.17.1 - 2019-11-27

Fixed

  • Symfony 4.4 compatibility: Fixed signature of InlineConstraint::__sleep

3.17.0 - 2019-04-24

Added

  • ability to set a translation domain for form validators

3.16.2 - 2019-03-11

Fixed

  • do not initialize select2 twice
  • some deprecations

3.16.1 - 2019-02-16

Fixed

  • error message about being unable to load the StatusRuntime

3.16.0 - 2019-02-14

Added

  • The ids of the services deprecated services should be replaced with now appear in deprecation messages

Deprecated

  • not registering Sonata\Doctrine\Bridge\Symfony\Bundle\SonataDoctrineBundle in the kernel of your app

Fixed

  • several deprecations about services

3.15.1 - 2019-01-26

Fixed

  • tests extending Sonata\CoreBundle\Test\XliffValidatorTestCase are no longer risky

3.15.0 - 2019-01-20

Added

  • support for many grouped flash messages

3.14.1 - 2019-01-17

Fixed

  • Moved deprecation notices of Sonata\CoreBundle\Form\Type\* classes into their buildForm methods
  • Wrongly triggered deprecation about InlineConstraint

3.14.0 - 2019-01-13

Fixed

  • crash caused by an incompatibilty with sonata-project/exporter 2
  • deprecation wrongly triggered when using the new interface or classes

Removed

  • support for php 5 and php 7.0

3.13.7 - 2018-12-20

Fixed

  • Fixed wrong form namespaces

3.13.6 - 2018-12-20

Fixed

  • crash about PageableManagerInterface when using composer install --authoritative-classmap
  • crashes related to form types

3.13.5 - 2018-12-19

Fixed

  • crash about new FlashManager class not implementing old StatusClassRendererInterface

3.13.4 - 2018-12-16

Fixed

  • crashes when a class type hints against an old type, but receives a new one
  • Fix deprecation for symfony/config 4.2+

3.13.3 - 2018-12-16

Fixed

  • crashes when using composer install --classmap-authoritative

3.13.2 - 2018-12-14

Fixed

  • Several crashes about type hinting issues

3.13.1 - 2018-12-11

Fixed

  • Crash when no flash manager is present
  • Crash about FlashManager not being an instance of StatusClassRendererInterface

3.13.0 - 2018-12-10

Added

  • Added Form\ subnamespace for all form components
  • Added Serializer\ subnamespace for all serializer components
  • Added Twig\ subnamespace for all twig components

Deprecated

  • Deprecated Sonata\CoreBundle\Component\Status class
  • Deprecated Sonata\CoreBundle\Date\* classes
  • Deprecated Sonata\CoreBundle\FlashMessage classes
  • Deprecated Sonata\CoreBundle\Form\DataMapper\* classes
  • Deprecated Sonata\CoreBundle\Form\EventListener\* classes
  • Deprecated Sonata\CoreBundle\Form\Type\* classes
  • Deprecated Sonata\CoreBundle\Model\MetadataInterface interface
  • Deprecated Sonata\CoreBundle\Model\Metadata class
  • Deprecated Sonata\CoreBundle\Serializer\BaseSerializerHandler class
  • Deprecated Sonata\CoreBundle\Serializer\SerializerHandlerInterface interface
  • Deprecated Sonata\CoreBundle\Test\AbstractWidgetTestCase class
  • Deprecated Sonata\CoreBundle\Twig\Extension classes
  • Deprecated Sonata\CoreBundle\Twig\Node classes
  • Deprecated Sonata\CoreBundle\Twig\TokenParser classes
  • Deprecated Sonata\CoreBundle\Validator\* classes

3.12.0 - 2018-11-19

Fixed

  • fix DateTimePickerType format usage of Intl constants.
  • Make form type services public

Deprecated

  • Deprecated SonataDumpDoctrineMetaCommand
  • Deprecated InvalidParameterException
  • Deprecated Model/Adapter/AdapterChain
  • Deprecated Model/Adapter/AdapterInterface
  • Deprecated Model/Adapter/DoctrineORMAdapter
  • Deprecated Model/Adapter/DoctrinePHPCRAdapter
  • Deprecated Model/BaseDocumentManager
  • Deprecated Model/BaseEntityManager
  • Deprecated Model/BaseManager
  • Deprecated Model/BasePHPCRManager
  • Deprecated Model/ManagerInterface
  • Deprecated Model/PageableManagerInterface

3.11.2 - 2018-07-19

Fixed

  • Handle null values in BooleanTypeToBooleanTransformer

3.11.1 - 2018-07-12

Fixed

  • Fix compatibility with Symfony 2.8 regarding Twig runtimes

3.11.0 - 2018-07-08

Added

  • Added FlashMessageRuntime and StatusRuntime to remove strong dependency on the session introduced by Twig extensions

3.10.0 - 2018-06-12

Fixed

  • fputcsv() default escape character
  • SonataListFormMappingCommand::isEnabled to only enable the command when Symfony Major Version < 3

Added

  • [Date(Time)PickerType] Handle field without seconds with option dp_use_seconds.
  • [Date(Time)PickerType] Allow DateTime Object in dp_min_date and dp_max_date
  • [Date(Time)RangePickerType] Link DateTimeRange pickers to keep start < end

Deprecated

  • ColorType has been deprecated
  • Colors class has been deprecated

3.9.1 - 2018-02-23

Fixed

  • Missing deprecation alert for sonata.core.slugify.native service

Changed

  • changed composer dependency from symfony/security to symfony/security-csrf
  • Services for slugify strings are marked as public

3.9.0 - 2018-01-07

Added

  • Added close label to flash messages

Changed

  • Always flip choices in BaseStatusType

3.8.0 - 2017-12-16

Added

  • Added Russian translations
  • Added twig extension for deprecating templates

Changed

  • Avoid inheritance from deprecated FormPass

Fixed

  • Deprecation about FormPass can now be avoided
  • Fixed deprecation message in ColorSelectorType

3.7.1 - 2017-11-30

Fixed

  • It is now allowed to install Symfony 4

3.7.0 - 2017-11-19

Deprecated

  • the form mapping feature

Fixed

  • Register commands as services to prevent deprecation notices on Symfony 3.4
  • twig_truncate_filter, and twig_wordwrap_filter were broken
  • twig_truncate_filter, and twig_wordwrap_filter were not properly deprecated
  • forward-compatibility with sf4
  • form mapping feature removal on sf4, it is now properly disabled

3.6.0 - 2017-11-04

Added

  • Added dp_option "dp_pick_date" in BasePickerType
  • Support of cocur/slugify 3.x

Changed

  • Changed template datepicker.html.twig to display the time icon

Fixed

  • missing form mapping for sonata_type_color
  • reusable test case Sonata\CoreBundle\Test\AbstractWidgetTestCase is now compatible with Symfony 3.4

Removed

  • Support for old versions of PHP and Symfony.

3.5.1 - 2017-09-20

Fixed

  • Datagrid build form issue caused by a regression on release 3.5.0

3.5.0 - 2017-09-19

Added

  • New ColorType form type that should give us easier color picking functioanlity instead of choice field with color names

Changed

  • Removed add of FormFactoryCompilerPass when the option form.mapping.enabled is false

Deprecated

  • Class ColorSelectorType is deprecated and replaced by ColorType

Fixed

  • fixed Twig errors when using sonata_template_box without a translation domain
  • deprecation notices related to addClassesToCompile
  • Fixed deprecation notice in ColorSelectorType for Sf 3. support
  • Missing brazilian translations for color names and date_range messages.
  • Fixed passing empty translation domain to sonata_template_box

3.4.0 - 2017-05-09

Added

  • Options for ImmutableArrayType are now validated, which should yield better results.

Fixed

  • compatibility with Symfony 3.3

3.3.0 - 2017-03-23

Added

  • sonata-project/datagrid-bundle dependency for Sonata\CoreBundle\ModelPageableManagerInterface

Fixed

  • deprecation notices in AbstractWidgetTestCase

3.2.0 - 2017-01-20

Added

  • Twig 2.0 compatibility
  • Missing bootstrap datepicker options (dp_collapse, dp_calendar_weeks, dp_view_mode)

Changed

  • Moment library updated from 2.10.6 to 2.17.1

Deprecated

  • The truncate service was deprecated

3.1.2 - 2016-12-09

Added

  • Added dutch (nl) date_range translations

Changed

  • Use choice_translation_domain in BooleanType

Fixed

  • The abstract test case for testing widgets now works with Symfony 3.2

Updated

  • Updated Font Awesome from v4.6.3 to v4.7

3.1.1 - 2016-08-30

Fixed

  • Added interface check for JMS\Serializer\Handler\SubscribingHandlerInterface in SonataCoreExtension::configureSerializerFormats

3.1.0 - 2016-08-25

Added

  • Added AbstractWidgetTestCase test suite
  • Added static setFormats and addFormat methods to BaseSerializerHandler
  • Added sonata.core.serializer.formats configuration
  • Added AbstractWidgetTestCase::getTemplatePaths method
  • Added AbstractWidgetTestCase::getEnvironment method
  • Added AbstractWidgetTestCase::getRenderingEngine method

Deprecated

  • Exporter class and service : use equivalents from sonata-project/exporter instead.
  • Deprecated the translator in DateRangeType, DateTimeRangeType and EqualType

Fixed

  • Fixed BaseDoctrineORMSerializationType::buildForm compatibility with Symfony3 forms
  • Fixed BaseStatusType::getParent compatibility with Symfony3 forms
  • Fixed CollectionType::configureOptions compatibility with Symfony3 forms
  • Fixed DateRangePickerType::configureOptions compatibility with Symfony3 forms
  • Fixed DateRangeType::configureOptions compatibility with Symfony3 forms
  • Fixed DateTimeRangePickerType::configureOptions compatibility with Symfony3 forms
  • Fixed DateTimeRangeType::configureOptions compatibility with Symfony3 forms
  • Removed duplicate translation in DateRangeType, DateTimeRangeType and EqualType

Removed

  • Internal test classes are now excluded from the autoloader
  • Removed AbstractWidgetTestCase::getTwigExtensions method

3.0.3 - 2016-06-17

Fixed

  • Add missing exporter service

3.0.2 - 2016-06-06

Fixed

  • Fixed EntityManagerMockFactory calling protected methods. This class is used by other bundles for testing.

3.0.1 - 2016-06-01

Changed

  • Updated Bootstrap from version 3.3.5 to version 3.3.6
  • Updated Font-awesome from version 4.5.0 to version 4.6.3

Fixed

  • Typo on choices_as_values option for EqualType