This PR was merged into the 5.1-dev branch.
Discussion
----------
[Notifier] Remove superfluous parameters in *Message::fromNotification()
| Q | A
| ------------- | ---
| Branch? | 5.0
| Bug fix? | no
| New feature? | no
| Deprecations? | no
| Tickets | -
| License | MIT
| Doc PR | -
Those classes are final so I think we don't need those extra arguments.
Commits
-------
d0dacf51e1
[Notifier] Remove superfluous parameters in *Message::fromNotification()
57 lines
1.8 KiB
Markdown
57 lines
1.8 KiB
Markdown
UPGRADE FROM 5.0 to 5.1
|
|
=======================
|
|
|
|
Console
|
|
-------
|
|
|
|
* `Command::setHidden()` is final since Symfony 5.1
|
|
|
|
Dotenv
|
|
------
|
|
|
|
* Deprecated passing `$usePutenv` argument to Dotenv's constructor, use `Dotenv::usePutenv()` instead.
|
|
|
|
EventDispatcher
|
|
---------------
|
|
|
|
* Deprecated `LegacyEventDispatcherProxy`. Use the event dispatcher without the proxy.
|
|
|
|
FrameworkBundle
|
|
---------------
|
|
|
|
* Deprecated passing a `RouteCollectionBuiler` to `MicroKernelTrait::configureRoutes()`, type-hint `RoutingConfigurator` instead
|
|
* Deprecated *not* setting the "framework.router.utf8" configuration option as it will default to `true` in Symfony 6.0
|
|
|
|
HttpFoundation
|
|
--------------
|
|
|
|
* Deprecate `Response::create()`, `JsonResponse::create()`,
|
|
`RedirectResponse::create()`, and `StreamedResponse::create()` methods (use
|
|
`__construct()` instead)
|
|
|
|
Messenger
|
|
---------
|
|
|
|
* Deprecated AmqpExt transport. It has moved to a separate package. Run `composer require symfony/amqp-messenger` to use the new classes.
|
|
* Deprecated Doctrine transport. It has moved to a separate package. Run `composer require symfony/doctrine-messenger` to use the new classes.
|
|
* Deprecated RedisExt transport. It has moved to a separate package. Run `composer require symfony/redis-messenger` to use the new classes.
|
|
* Deprecated use of invalid options in Redis and AMQP connections.
|
|
|
|
Notifier
|
|
--------
|
|
|
|
* [BC BREAK] The `ChatMessage::fromNotification()` method's `$recipient` and `$transport`
|
|
arguments were removed.
|
|
* [BC BREAK] The `EmailMessage::fromNotification()` and `SmsMessage::fromNotification()`
|
|
methods' `$transport` argument was removed.
|
|
|
|
Routing
|
|
-------
|
|
|
|
* Deprecated `RouteCollectionBuilder` in favor of `RoutingConfigurator`.
|
|
|
|
Yaml
|
|
----
|
|
|
|
* Deprecated using the `!php/object` and `!php/const` tags without a value.
|