2019-11-10 16:23:41 +00:00
|
|
|
UPGRADE FROM 5.0 to 5.1
|
|
|
|
=======================
|
|
|
|
|
2020-01-20 15:05:06 +00:00
|
|
|
Console
|
|
|
|
-------
|
|
|
|
|
|
|
|
* `Command::setHidden()` is final since Symfony 5.1
|
|
|
|
|
2020-01-11 14:48:32 +00:00
|
|
|
Dotenv
|
|
|
|
------
|
|
|
|
|
|
|
|
* Deprecated passing `$usePutenv` argument to Dotenv's constructor, use `Dotenv::usePutenv()` instead.
|
|
|
|
|
2019-12-13 21:39:36 +00:00
|
|
|
EventDispatcher
|
|
|
|
---------------
|
|
|
|
|
|
|
|
* Deprecated `LegacyEventDispatcherProxy`. Use the event dispatcher without the proxy.
|
|
|
|
|
2019-11-10 16:23:41 +00:00
|
|
|
FrameworkBundle
|
|
|
|
---------------
|
|
|
|
|
2019-12-07 15:49:34 +00:00
|
|
|
* Deprecated passing a `RouteCollectionBuiler` to `MicroKernelTrait::configureRoutes()`, type-hint `RoutingConfigurator` instead
|
2020-01-11 18:12:40 +00:00
|
|
|
* Deprecated *not* setting the "framework.router.utf8" configuration option as it will default to `true` in Symfony 6.0
|
2019-11-10 16:23:41 +00:00
|
|
|
|
2019-12-03 06:17:06 +00:00
|
|
|
HttpFoundation
|
|
|
|
--------------
|
|
|
|
|
|
|
|
* Deprecate `Response::create()`, `JsonResponse::create()`,
|
|
|
|
`RedirectResponse::create()`, and `StreamedResponse::create()` methods (use
|
|
|
|
`__construct()` instead)
|
|
|
|
|
2020-01-21 16:10:46 +00:00
|
|
|
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.
|
|
|
|
|
2019-11-10 16:23:41 +00:00
|
|
|
Routing
|
|
|
|
-------
|
|
|
|
|
|
|
|
* Deprecated `RouteCollectionBuilder` in favor of `RoutingConfigurator`.
|
2020-01-16 19:30:36 +00:00
|
|
|
|
|
|
|
Yaml
|
|
|
|
----
|
|
|
|
|
|
|
|
* Deprecated using the `!php/object` and `!php/const` tags without a value.
|