2020-12-05 01:31:35 +00:00
UPGRADE FROM 5.2 to 5.3
=======================
2020-12-13 18:17:49 +00:00
Asset
-----
2021-01-27 15:52:19 +00:00
* Deprecated `RemoteJsonManifestVersionStrategy` , use `JsonManifestVersionStrategy` instead
2020-12-13 18:17:49 +00:00
2021-01-02 16:25:53 +00:00
DomCrawler
----------
2021-01-27 15:52:19 +00:00
* Deprecated the `parents()` method, use `ancestors()` instead
2021-01-02 16:25:53 +00:00
2020-12-05 01:31:35 +00:00
Form
----
2021-01-27 15:52:19 +00:00
* Changed `$forms` parameter type of the `DataMapperInterface::mapDataToForms()` method from `iterable` to `\Traversable`
* Changed `$forms` parameter type of the `DataMapperInterface::mapFormsToData()` method from `iterable` to `\Traversable`
* Deprecated passing an array as the second argument of the `DataMapper::mapDataToForms()` method, pass `\Traversable` instead
* Deprecated passing an array as the first argument of the `DataMapper::mapFormsToData()` method, pass `\Traversable` instead
* Deprecated passing an array as the second argument of the `CheckboxListMapper::mapDataToForms()` method, pass `\Traversable` instead
* Deprecated passing an array as the first argument of the `CheckboxListMapper::mapFormsToData()` method, pass `\Traversable` instead
* Deprecated passing an array as the second argument of the `RadioListMapper::mapDataToForms()` method, pass `\Traversable` instead
* Deprecated passing an array as the first argument of the `RadioListMapper::mapFormsToData()` method, pass `\Traversable` instead
2020-12-05 20:52:04 +00:00
2020-10-17 22:28:45 +01:00
FrameworkBundle
---------------
* Deprecate the `session` service and the `SessionInterface` alias, use the `\Symfony\Component\HttpFoundation\Request::getSession()` or the new `\Symfony\Component\HttpFoundation\RequestStack::getSession()` methods instead
2021-01-16 10:11:08 +00:00
HttpFoundation
--------------
* Deprecate the `NamespacedAttributeBag` class
2020-11-30 19:36:42 +00:00
HttpKernel
----------
* Marked the class `Symfony\Component\HttpKernel\EventListener\DebugHandlersListener` as internal
2020-12-29 20:57:03 +00:00
Messenger
---------
2021-01-27 15:52:19 +00:00
* Deprecated the `prefetch_count` parameter in the AMQP bridge, it has no effect and will be removed in Symfony 6.0
2020-12-29 20:57:03 +00:00
2020-12-18 08:57:00 +00:00
Notifier
2021-01-27 15:52:19 +00:00
--------
* Changed the return type of `AbstractTransportFactory::getEndpoint()` from `?string` to `string`
* Changed the signature of `Dsn::__construct()` to accept a single `string $dsn` argument
* Removed the `Dsn::fromString()` method
2020-12-18 08:57:00 +00:00
2020-12-13 22:45:00 +00:00
PhpunitBridge
-------------
2021-01-27 15:52:19 +00:00
* Deprecated the `SetUpTearDownTrait` trait, use original methods with "void" return typehint
2020-12-13 22:45:00 +00:00
2020-11-06 19:34:22 +00:00
PropertyInfo
------------
2021-01-27 15:52:19 +00:00
* Deprecated the `Type::getCollectionKeyType()` and `Type::getCollectionValueType()` methods, use `Type::getCollectionKeyTypes()` and `Type::getCollectionValueTypes()` instead
2020-11-06 19:34:22 +00:00
2020-12-05 20:52:04 +00:00
Security
--------
2021-01-27 15:52:19 +00:00
* Deprecated voters that do not return a valid decision when calling the `vote` method
2020-12-19 16:23:05 +00:00
Serializer
----------
2021-01-27 15:52:19 +00:00
* Deprecated `ArrayDenormalizer::setSerializer()` , call `setDenormalizer()` instead
Uid
---
* Replaced `UuidV1::getTime()` , `UuidV6::getTime()` and `Ulid::getTime()` by `UuidV1::getDateTime()` , `UuidV6::getDateTime()` and `Ulid::getDateTime()`