|
14 | 14 | Config
|
15 | 15 | ------
|
16 | 16 |
|
17 |
| - * Deprecated constructing a `TreeBuilder` without passing root node information. |
| 17 | + * Deprecated constructing a `TreeBuilder` without passing root node information: |
| 18 | + |
| 19 | + Before: |
| 20 | + ```php |
| 21 | + $treeBuilder = new TreeBuilder(); |
| 22 | + $rootNode = $treeBuilder->root('my_config'); |
| 23 | + ``` |
| 24 | + |
| 25 | + After: |
| 26 | + ```php |
| 27 | + $treeBuilder = new TreeBuilder('my_config'); |
| 28 | + $rootNode = $treeBuilder->getRootNode(); |
| 29 | + ``` |
| 30 | + |
18 | 31 | * Deprecated `FileLoaderLoadException`, use `LoaderLoadException` instead.
|
19 | 32 |
|
20 | 33 | Console
|
@@ -106,25 +119,15 @@ Form
|
106 | 119 |
|
107 | 120 | * The `regions` option of the `TimezoneType` is deprecated.
|
108 | 121 |
|
109 |
| -HttpFoundation |
110 |
| --------------- |
111 |
| - |
112 |
| - * The default value of the "$secure" and "$samesite" arguments of Cookie's constructor |
113 |
| - will respectively change from "false" to "null" and from "null" to "lax" in Symfony |
114 |
| - 5.0, you should define their values explicitly or use "Cookie::create()" instead. |
115 |
| - |
116 |
| -HttpKernel |
117 |
| ----------- |
118 |
| - |
119 |
| - * The `Kernel::getRootDir()` and the `kernel.root_dir` parameter have been deprecated |
120 |
| - * The `KernelInterface::getName()` and the `kernel.name` parameter have been deprecated |
121 |
| - * Deprecated the first and second constructor argument of `ConfigDataCollector` |
122 |
| - * Deprecated `ConfigDataCollector::getApplicationName()` |
123 |
| - * Deprecated `ConfigDataCollector::getApplicationVersion()` |
124 |
| - |
125 | 122 | FrameworkBundle
|
126 | 123 | ---------------
|
127 | 124 |
|
| 125 | + * The following middleware service ids were renamed: |
| 126 | + - `messenger.middleware.call_message_handler` becomes `messenger.middleware.handle_message` |
| 127 | + - `messenger.middleware.route_messages` becomes `messenger.middleware.send_message` |
| 128 | + |
| 129 | + If you set `framework.messenger.buses.[bus_id].default_middleware` to `false`, |
| 130 | + replace any of these names in the `framework.messenger.buses.[bus_id].middleware` list. |
128 | 131 | * The `allow_no_handler` middleware has been removed. Use `framework.messenger.buses.[bus_id].default_middleware` instead:
|
129 | 132 |
|
130 | 133 | Before:
|
@@ -180,6 +183,22 @@ FrameworkBundle
|
180 | 183 | * Deprecated support for legacy translations directories `src/Resources/translations/` and `src/Resources/<BundleName>/translations/`, use `translations/` instead.
|
181 | 184 | * Support for the legacy directory structure in `translation:update` and `debug:translation` commands has been deprecated.
|
182 | 185 |
|
| 186 | +HttpFoundation |
| 187 | +-------------- |
| 188 | + |
| 189 | + * The default value of the `$secure` and `$samesite` arguments of Cookie's constructor |
| 190 | + will respectively change from `false` to `null` and from `null` to `lax` in Symfony |
| 191 | + 5.0, you should define their values explicitly or use `Cookie::create()` instead. |
| 192 | + |
| 193 | +HttpKernel |
| 194 | +---------- |
| 195 | + |
| 196 | + * The `Kernel::getRootDir()` and the `kernel.root_dir` parameter have been deprecated |
| 197 | + * The `KernelInterface::getName()` and the `kernel.name` parameter have been deprecated |
| 198 | + * Deprecated the first and second constructor argument of `ConfigDataCollector` |
| 199 | + * Deprecated `ConfigDataCollector::getApplicationName()` |
| 200 | + * Deprecated `ConfigDataCollector::getApplicationVersion()` |
| 201 | + |
183 | 202 | Messenger
|
184 | 203 | ---------
|
185 | 204 |
|
|
0 commit comments