All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
3.20.0 - 2020-06-04
- remove Form and Twig sub-namespaces from CoreBundle and get them back from
form-extensions
0.x andtwig-extensions
0.x
3.19.2 - 2020-06-03
- change register aliases from bundle configuration to compiler pass
- fixed register
CoreBundle
with form and twig bridges - Deprecation message for
InlineConstraint
was always displayed
3.19.1 - 2020-05-26
- Display again flash message
3.19.0 - 2020-05-23
- Added
Sonata\Form\Serializer\BaseSerializerHandler
- Added
Sonata\Form\Serializer\BaseSerializerHandlerInterface
- Deprecated
Sonata\Serializer\BaseSerializerHandler
- Deprecated
Sonata\Serializer\BaseSerializerHandlerInterface
- Remove SonataDatagridBundle dependency
3.18.0 - 2020-01-28
- Switch to phpunit 8 setUp signature in tests
- Compatibility with "cocur/slugify:^4.0".
3.17.2 - 2019-11-29
- Compatibility with
symfony/twig-bridge
4.4 - Compatibility with
symfony/dependency-injection
4.4
3.17.1 - 2019-11-27
- Symfony 4.4 compatibility: Fixed signature of InlineConstraint::__sleep
3.17.0 - 2019-04-24
- ability to set a translation domain for form validators
3.16.2 - 2019-03-11
- do not initialize select2 twice
- some deprecations
3.16.1 - 2019-02-16
- error message about being unable to load the
StatusRuntime
3.16.0 - 2019-02-14
- The ids of the services deprecated services should be replaced with now appear in deprecation messages
- not registering
Sonata\Doctrine\Bridge\Symfony\Bundle\SonataDoctrineBundle
in the kernel of your app
- several deprecations about services
3.15.1 - 2019-01-26
- tests extending
Sonata\CoreBundle\Test\XliffValidatorTestCase
are no longer risky
3.15.0 - 2019-01-20
- support for many grouped flash messages
3.14.1 - 2019-01-17
- Moved deprecation notices of
Sonata\CoreBundle\Form\Type\*
classes into their buildForm methods - Wrongly triggered deprecation about
InlineConstraint
3.14.0 - 2019-01-13
- crash caused by an incompatibilty with sonata-project/exporter 2
- deprecation wrongly triggered when using the new interface or classes
- support for php 5 and php 7.0
3.13.7 - 2018-12-20
- Fixed wrong form namespaces
3.13.6 - 2018-12-20
- crash about
PageableManagerInterface
when usingcomposer install --authoritative-classmap
- crashes related to form types
3.13.5 - 2018-12-19
- crash about new
FlashManager
class not implementing oldStatusClassRendererInterface
3.13.4 - 2018-12-16
- 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
- crashes when using
composer install --classmap-authoritative
3.13.2 - 2018-12-14
- Several crashes about type hinting issues
3.13.1 - 2018-12-11
- Crash when no flash manager is present
- Crash about
FlashManager
not being an instance ofStatusClassRendererInterface
3.13.0 - 2018-12-10
- Added
Form\
subnamespace for all form components - Added
Serializer\
subnamespace for all serializer components - Added
Twig\
subnamespace for all twig components
- 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
- fix
DateTimePickerType
format usage ofIntl
constants. - Make form type services public
- 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
- Handle null values in BooleanTypeToBooleanTransformer
3.11.1 - 2018-07-12
- Fix compatibility with Symfony 2.8 regarding Twig runtimes
3.11.0 - 2018-07-08
- Added
FlashMessageRuntime
andStatusRuntime
to remove strong dependency on the session introduced by Twig extensions
3.10.0 - 2018-06-12
fputcsv()
default escape characterSonataListFormMappingCommand::isEnabled
to only enable the command when Symfony Major Version < 3
- [Date(Time)PickerType] Handle field without seconds with option
dp_use_seconds
. - [Date(Time)PickerType] Allow DateTime Object in
dp_min_date
anddp_max_date
- [Date(Time)RangePickerType] Link DateTimeRange pickers to keep start < end
ColorType
has been deprecatedColors
class has been deprecated
3.9.1 - 2018-02-23
- Missing deprecation alert for
sonata.core.slugify.native
service
- changed composer dependency from
symfony/security
tosymfony/security-csrf
- Services for slugify strings are marked as public
3.9.0 - 2018-01-07
- Added close label to flash messages
- Always flip choices in
BaseStatusType
3.8.0 - 2017-12-16
- Added Russian translations
- Added twig extension for deprecating templates
- Avoid inheritance from deprecated FormPass
- Deprecation about
FormPass
can now be avoided - Fixed deprecation message in
ColorSelectorType
3.7.1 - 2017-11-30
- It is now allowed to install Symfony 4
3.7.0 - 2017-11-19
- the form mapping feature
- Register commands as services to prevent deprecation notices on Symfony 3.4
twig_truncate_filter
, andtwig_wordwrap_filter
were brokentwig_truncate_filter
, andtwig_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 dp_option "dp_pick_date" in BasePickerType
- Support of cocur/slugify 3.x
- Changed template datepicker.html.twig to display the time icon
- missing form mapping for
sonata_type_color
- reusable test case
Sonata\CoreBundle\Test\AbstractWidgetTestCase
is now compatible with Symfony 3.4
- Support for old versions of PHP and Symfony.
3.5.1 - 2017-09-20
- Datagrid build form issue caused by a regression on release 3.5.0
3.5.0 - 2017-09-19
- New ColorType form type that should give us easier color picking functioanlity instead of choice field with color names
- Removed add of
FormFactoryCompilerPass
when the optionform.mapping.enabled
isfalse
- Class
ColorSelectorType
is deprecated and replaced byColorType
- 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
- Options for
ImmutableArrayType
are now validated, which should yield better results.
- compatibility with Symfony 3.3
3.3.0 - 2017-03-23
sonata-project/datagrid-bundle
dependency forSonata\CoreBundle\ModelPageableManagerInterface
- deprecation notices in
AbstractWidgetTestCase
3.2.0 - 2017-01-20
- Twig 2.0 compatibility
- Missing bootstrap datepicker options (
dp_collapse
,dp_calendar_weeks
,dp_view_mode
)
- Moment library updated from 2.10.6 to 2.17.1
- The truncate service was deprecated
3.1.2 - 2016-12-09
- Added dutch (nl) date_range translations
- Use
choice_translation_domain
inBooleanType
- The abstract test case for testing widgets now works with Symfony 3.2
- Updated Font Awesome from v4.6.3 to v4.7
3.1.1 - 2016-08-30
- Added interface check for
JMS\Serializer\Handler\SubscribingHandlerInterface
inSonataCoreExtension::configureSerializerFormats
3.1.0 - 2016-08-25
- Added
AbstractWidgetTestCase
test suite - Added static
setFormats
andaddFormat
methods toBaseSerializerHandler
- Added
sonata.core.serializer.formats
configuration - Added
AbstractWidgetTestCase::getTemplatePaths
method - Added
AbstractWidgetTestCase::getEnvironment
method - Added
AbstractWidgetTestCase::getRenderingEngine
method
- Exporter class and service : use equivalents from
sonata-project/exporter
instead. - Deprecated the translator in
DateRangeType
,DateTimeRangeType
andEqualType
- 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
andEqualType
- Internal test classes are now excluded from the autoloader
- Removed
AbstractWidgetTestCase::getTwigExtensions
method
3.0.3 - 2016-06-17
- Add missing exporter service
3.0.2 - 2016-06-06
- Fixed
EntityManagerMockFactory
calling protected methods. This class is used by other bundles for testing.
3.0.1 - 2016-06-01
- 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
- Typo on
choices_as_values
option forEqualType