You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: UPGRADE-7.0.md
+76-4Lines changed: 76 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,11 @@ Cache
11
11
12
12
* Add parameter `$isSameDatabase` to `DoctrineDbalAdapter::configureSchema()`
13
13
14
+
Config
15
+
------
16
+
17
+
* Require explicit argument when calling `NodeBuilder::setParent()`
18
+
14
19
Console
15
20
-------
16
21
@@ -41,7 +46,7 @@ Console
41
46
}
42
47
```
43
48
44
-
*Passing null to `*Command::setApplication()`, `*FormatterStyle::setForeground/setBackground()`, `Helper::setHelpSet()`, `Input*::setDefault()` and `Question::setAutocompleterCallback/setValidator()` must be done explicitly
49
+
*Require explicit argument when calling `*Command::setApplication()`, `*FormatterStyle::setForeground/setBackground()`, `Helper::setHelpSet()`, `Input*::setDefault()` and `Question::setAutocompleterCallback/setValidator()`
45
50
* Remove `StringInput::REGEX_STRING`
46
51
* Add method `__toString()` to `InputInterface`
47
52
@@ -52,7 +57,7 @@ DependencyInjection
52
57
* Remove `ProxyHelper`, use `Symfony\Component\VarExporter\ProxyHelper` instead
53
58
* Remove `ReferenceSetArgumentTrait`
54
59
* Remove support of `@required` annotation, use the `Symfony\Contracts\Service\Attribute\Required` attribute instead
55
-
*Passing `null` to `ContainerAwareTrait::setContainer()` must be done explicitly
60
+
*Require explicit argument when calling `ContainerAwareTrait::setContainer()`
56
61
* Remove `PhpDumper` options `inline_factories_parameter` and `inline_class_loader_parameter`, use options `inline_factories` and `inline_class_loader` instead
57
62
* Parameter names of `ParameterBag` cannot be numerics
58
63
* Remove `ContainerAwareInterface` and `ContainerAwareTrait`, use dependency injection instead
@@ -82,10 +87,34 @@ Filesystem
82
87
83
88
* Add argument `$lock` to `Filesystem::appendToFile()`
84
89
90
+
Form
91
+
----
92
+
93
+
* Throw when using `DateTime` or `DateTimeImmutable` model data with a different timezone than configured with the
94
+
`model_timezone` option in `DateType`, `DateTimeType`, and `TimeType`
95
+
* Make the "widget" option of date/time form types default to "single_text"
96
+
* Require explicit argument when calling `Button/Form::setParent()`, `ButtonBuilder/FormConfigBuilder::setDataMapper()`, `TransformationFailedException::setInvalidMessage()`
97
+
85
98
FrameworkBundle
86
99
---------------
87
100
88
101
* Remove command `translation:update`, use `translation:extract` instead
102
+
* Make the `http_method_override` config option default to `false`
103
+
* Remove the `Symfony\Component\Serializer\Normalizer\ObjectNormalizer` and
104
+
`Symfony\Component\Serializer\Normalizer\PropertyNormalizer` autowiring aliases, type-hint against
105
+
`Symfony\Component\Serializer\Normalizer\NormalizerInterface` or implement `NormalizerAwareInterface` instead
106
+
* Remove the `Http\Client\HttpClient` service, use `Psr\Http\Client\ClientInterface` instead
107
+
* Remove `AbstractController::renderForm()`, use `render()` instead
108
+
109
+
*Before*
110
+
```php
111
+
$this->renderForm(..., ['form' => $form]);
112
+
```
113
+
114
+
*After*
115
+
```php
116
+
$this->render(..., ['form' => $form]);
117
+
```
89
118
90
119
HttpFoundation
91
120
--------------
@@ -99,6 +128,7 @@ HttpFoundation
99
128
* Replace `ExpressionRequestMatcher` with `RequestMatcher\ExpressionRequestMatcher`
100
129
* Remove `Request::getContentType()`, use `Request::getContentTypeFormat()` instead
101
130
* Throw an `InvalidArgumentException` when calling `Request::create()` with a malformed URI
131
+
* Require explicit argument when calling `JsonResponse::setCallback()`, `Response::setExpires/setLastModified/setEtag()`, `MockArraySessionStorage/NativeSessionStorage::setMetadataBag()`, `NativeSessionStorage::setSaveHandler()`
102
132
103
133
HttpClient
104
134
----------
@@ -114,27 +144,41 @@ HttpKernel
114
144
* Remove `AbstractSurrogate::$phpEscapeMap`
115
145
* Remove `HttpKernelInterface::MASTER_REQUEST`
116
146
* Remove `terminate_on_cache_hit` option from `HttpCache`
147
+
* Require explicit argument when calling `ConfigDataCollector::setKernel()`, `RouterListener::setCurrentRequest()`
117
148
118
149
Lock
119
150
----
120
151
121
152
* Add parameter `$isSameDatabase` to `DoctrineDbalStore::configureSchema()`
122
153
154
+
Mailer
155
+
------
156
+
157
+
* Remove the OhMySmtp bridge in favor of the MailPace bridge
158
+
123
159
Messenger
124
160
---------
125
161
126
162
* Add parameter `$isSameDatabase` to `DoctrineTransport::configureSchema()`
163
+
* Remove `MessageHandlerInterface` and `MessageSubscriberInterface`, use `#[AsMessageHandler]` instead
164
+
* Remove `StopWorkerOnSigtermSignalListener` in favor of
165
+
`StopWorkerOnSignalsListener` and make it configurable with SIGINT and
166
+
* Remove `Symfony\Component\Messenger\Transport\InMemoryTransport` and
167
+
`Symfony\Component\Messenger\Transport\InMemoryTransportFactory` in favor of
168
+
`Symfony\Component\Messenger\Transport\InMemory\InMemoryTransport` and
0 commit comments