2019-11-10 16:23:41 +00:00
|
|
|
UPGRADE FROM 5.x to 6.0
|
|
|
|
=======================
|
|
|
|
|
2020-01-20 15:05:06 +00:00
|
|
|
Console
|
|
|
|
-------
|
|
|
|
|
|
|
|
* `Command::setHidden()` has a default value (`true`) for `$hidden` parameter
|
|
|
|
|
2020-01-11 14:48:32 +00:00
|
|
|
Dotenv
|
|
|
|
------
|
|
|
|
|
|
|
|
* Removed argument `$usePutenv` from Dotenv's constructor, use `Dotenv::usePutenv()` instead.
|
|
|
|
|
2019-12-13 21:39:36 +00:00
|
|
|
EventDispatcher
|
|
|
|
---------------
|
|
|
|
|
|
|
|
* Removed `LegacyEventDispatcherProxy`. Use the event dispatcher without the proxy.
|
|
|
|
|
2019-07-25 17:09:28 +01:00
|
|
|
Form
|
|
|
|
----
|
|
|
|
|
|
|
|
* Added the `getIsEmptyCallback()` method to the `FormConfigInterface`.
|
|
|
|
* Added the `setIsEmptyCallback()` method to the `FormConfigBuilderInterface`.
|
2019-04-07 21:08:39 +01:00
|
|
|
* Added argument `callable|null $filter` to `ChoiceListFactoryInterface::createListFromChoices()` and `createListFromLoader()`.
|
2019-07-25 17:09:28 +01:00
|
|
|
|
2019-11-10 16:23:41 +00:00
|
|
|
FrameworkBundle
|
|
|
|
---------------
|
|
|
|
|
2019-12-07 15:49:34 +00:00
|
|
|
* `MicroKernelTrait::configureRoutes()` is now always called with a `RoutingConfigurator`
|
2020-01-11 18:12:40 +00:00
|
|
|
* The "framework.router.utf8" configuration option defaults to `true`
|
2019-11-10 16:23:41 +00:00
|
|
|
|
2019-12-03 06:17:06 +00:00
|
|
|
HttpFoundation
|
|
|
|
--------------
|
|
|
|
|
|
|
|
* Removed `Response::create()`, `JsonResponse::create()`,
|
|
|
|
`RedirectResponse::create()`, and `StreamedResponse::create()` methods (use
|
|
|
|
`__construct()` instead)
|
|
|
|
|
2020-01-21 16:10:46 +00:00
|
|
|
Messenger
|
|
|
|
---------
|
|
|
|
|
|
|
|
* Removed AmqpExt transport. Run `composer require symfony/amqp-messenger` to keep the transport in your application.
|
|
|
|
* Removed Doctrine transport. Run `composer require symfony/doctrine-messenger` to keep the transport in your application.
|
|
|
|
* Removed RedisExt transport. Run `composer require symfony/redis-messenger` to keep the transport in your application.
|
2019-12-10 15:47:33 +00:00
|
|
|
* Use of invalid options in Redis and AMQP connections now throws an error.
|
2020-01-21 16:10:46 +00:00
|
|
|
|
2020-03-11 22:37:55 +00:00
|
|
|
PhpUnitBridge
|
|
|
|
-------------
|
|
|
|
|
|
|
|
* Removed support for `@expectedDeprecation` annotations, use the `ExpectDeprecationTrait::expectDeprecation()` method instead.
|
|
|
|
|
2019-11-10 16:23:41 +00:00
|
|
|
Routing
|
|
|
|
-------
|
|
|
|
|
|
|
|
* Removed `RouteCollectionBuilder`.
|
2020-02-05 17:53:43 +00:00
|
|
|
* Added argument `$priority` to `RouteCollection::add()`
|
2020-02-25 10:55:47 +00:00
|
|
|
* Removed the `RouteCompiler::REGEX_DELIMITER` constant
|
2020-02-28 11:18:46 +00:00
|
|
|
|
|
|
|
Security
|
|
|
|
--------
|
|
|
|
|
|
|
|
* Removed `ROLE_PREVIOUS_ADMIN` role in favor of `IS_IMPERSONATOR` attribute
|