2019-05-19 12:51:44 +01:00
|
|
|
UPGRADE FROM 4.3 to 4.4
|
|
|
|
=======================
|
|
|
|
|
|
|
|
DependencyInjection
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
* Deprecated support for short factories and short configurators in Yaml
|
|
|
|
|
|
|
|
Before:
|
|
|
|
```yaml
|
|
|
|
services:
|
|
|
|
my_service:
|
|
|
|
factory: factory_service:method
|
|
|
|
```
|
|
|
|
|
|
|
|
After:
|
|
|
|
```yaml
|
|
|
|
services:
|
|
|
|
my_service:
|
|
|
|
factory: ['@factory_service', method]
|
|
|
|
```
|
2019-04-29 22:59:34 +01:00
|
|
|
* Deprecated `tagged` in favor of `tagged_iterator`
|
|
|
|
|
|
|
|
Before:
|
|
|
|
```yaml
|
|
|
|
services:
|
|
|
|
App\Handler:
|
|
|
|
tags: ['app.handler']
|
2019-06-28 14:18:47 +01:00
|
|
|
|
2019-04-29 22:59:34 +01:00
|
|
|
App\HandlerCollection:
|
|
|
|
arguments: [!tagged app.handler]
|
|
|
|
```
|
|
|
|
|
|
|
|
After:
|
|
|
|
```yaml
|
|
|
|
services:
|
|
|
|
App\Handler:
|
|
|
|
tags: ['app.handler']
|
2019-06-28 14:18:47 +01:00
|
|
|
|
2019-04-29 22:59:34 +01:00
|
|
|
App\HandlerCollection:
|
|
|
|
arguments: [!tagged_iterator app.handler]
|
|
|
|
```
|
2019-05-29 13:39:34 +01:00
|
|
|
|
2019-06-07 11:53:37 +01:00
|
|
|
Form
|
|
|
|
----
|
|
|
|
|
|
|
|
* Using `int` or `float` as data for the `NumberType` when the `input` option is set to `string` is deprecated.
|
|
|
|
|
2019-05-30 16:17:31 +01:00
|
|
|
FrameworkBundle
|
|
|
|
---------------
|
|
|
|
|
2019-06-21 11:17:48 +01:00
|
|
|
* Deprecated support for `templating` engine in `TemplateController`, use Twig instead
|
2019-06-04 06:54:11 +01:00
|
|
|
* The `$parser` argument of `ControllerResolver::__construct()` and `DelegatingLoader::__construct()`
|
|
|
|
has been deprecated.
|
|
|
|
* The `ControllerResolver` and `DelegatingLoader` classes have been marked as `final`.
|
|
|
|
* The `controller_name_converter` and `resolve_controller_name_subscriber` services have been deprecated.
|
2019-05-30 16:17:31 +01:00
|
|
|
|
2019-06-21 11:17:48 +01:00
|
|
|
HttpClient
|
|
|
|
----------
|
|
|
|
|
|
|
|
* Added method `cancel()` to `ResponseInterface`
|
|
|
|
|
2019-06-28 14:18:47 +01:00
|
|
|
HttpFoundation
|
|
|
|
--------------
|
|
|
|
|
|
|
|
* `ApacheRequest` is deprecated, use `Request` class instead.
|
|
|
|
|
2019-06-21 11:17:48 +01:00
|
|
|
HttpKernel
|
|
|
|
----------
|
|
|
|
|
|
|
|
* The `DebugHandlersListener` class has been marked as `final`
|
|
|
|
|
2019-06-01 13:56:25 +01:00
|
|
|
Messenger
|
|
|
|
---------
|
|
|
|
|
|
|
|
* Deprecated passing a `ContainerInterface` instance as first argument of the `ConsumeMessagesCommand` constructor,
|
|
|
|
pass a `RoutableMessageBus` instance instead.
|
|
|
|
|
2019-05-29 18:05:37 +01:00
|
|
|
MonologBridge
|
|
|
|
--------------
|
|
|
|
|
2019-06-01 13:56:25 +01:00
|
|
|
* The `RouteProcessor` has been marked final.
|
2019-05-29 18:05:37 +01:00
|
|
|
|
2019-04-17 20:13:54 +01:00
|
|
|
Security
|
|
|
|
--------
|
|
|
|
|
|
|
|
* Implementations of `PasswordEncoderInterface` and `UserPasswordEncoderInterface` should add a new `needsRehash()` method
|
|
|
|
|
2019-05-29 13:39:34 +01:00
|
|
|
TwigBridge
|
|
|
|
----------
|
|
|
|
|
2019-06-28 14:18:47 +01:00
|
|
|
* Deprecated to pass `$rootDir` and `$fileLinkFormatter` as 5th and 6th argument respectively to the
|
2019-06-01 13:56:25 +01:00
|
|
|
`DebugCommand::__construct()` method, swap the variables position.
|
2019-06-14 09:27:35 +01:00
|
|
|
|
|
|
|
Validator
|
|
|
|
---------
|
|
|
|
|
2019-06-28 14:18:47 +01:00
|
|
|
* Deprecated passing an `ExpressionLanguage` instance as the second argument of `ExpressionValidator::__construct()`.
|
2019-06-14 09:27:35 +01:00
|
|
|
Pass it as the first argument instead.
|