4537f85963
This PR was merged into the 5.3-dev branch.
Discussion
----------
[DoctineBridge] Remove UuidV*Generator classes
| Q | A
| ------------- | ---
| Branch? | 5.x
| Bug fix? | no
| New feature? | yes
| Deprecations? | no
| Tickets | -
| License | MIT
| Doc PR | -
There is no benefit in using these classes over creating the UUIDs inline.
Let's keep things simple.
For `UlidGenerator`, I'm keeping it as it will provide something useful once #39507 and https://github.com/doctrine/DoctrineBundle/pull/1284 are finished.
Commits
-------
3c296bd2f5
[DoctineBridge] Remove UuidV*Generator
2.9 KiB
2.9 KiB
UPGRADE FROM 5.2 to 5.3
Asset
- Deprecated
RemoteJsonManifestVersionStrategy
, useJsonManifestVersionStrategy
instead
DoctrineBridge
- Remove
UuidV*Generator
classes
DomCrawler
- Deprecated the
parents()
method, useancestors()
instead
Form
- Changed
$forms
parameter type of theDataMapperInterface::mapDataToForms()
method fromiterable
to\Traversable
- Changed
$forms
parameter type of theDataMapperInterface::mapFormsToData()
method fromiterable
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
FrameworkBundle
- Deprecate the
session
service and theSessionInterface
alias, use the\Symfony\Component\HttpFoundation\Request::getSession()
or the new\Symfony\Component\HttpFoundation\RequestStack::getSession()
methods instead
HttpFoundation
- Deprecate the
NamespacedAttributeBag
class
HttpKernel
- Marked the class
Symfony\Component\HttpKernel\EventListener\DebugHandlersListener
as internal
Messenger
- Deprecated the
prefetch_count
parameter in the AMQP bridge, it has no effect and will be removed in Symfony 6.0
Notifier
- Changed the return type of
AbstractTransportFactory::getEndpoint()
from?string
tostring
- Changed the signature of
Dsn::__construct()
to accept a singlestring $dsn
argument - Removed the
Dsn::fromString()
method
PhpunitBridge
- Deprecated the
SetUpTearDownTrait
trait, use original methods with "void" return typehint
PropertyInfo
- Deprecated the
Type::getCollectionKeyType()
andType::getCollectionValueType()
methods, useType::getCollectionKeyTypes()
andType::getCollectionValueTypes()
instead
Security
- Deprecated voters that do not return a valid decision when calling the
vote
method
Serializer
- Deprecated
ArrayDenormalizer::setSerializer()
, callsetDenormalizer()
instead
Uid
- Replaced
UuidV1::getTime()
,UuidV6::getTime()
andUlid::getTime()
byUuidV1::getDateTime()
,UuidV6::getDateTime()
andUlid::getDateTime()