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
+49-3
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,7 @@ Console
16
16
* Remove `Command::$defaultName` and `Command::$defaultDescription`, use the `AsCommand` attribute instead
17
17
* Passing null to `*Command::setApplication()`, `*FormatterStyle::setForeground/setBackground()`, `Helper::setHelpSet()`, `Input*::setDefault()` and `Question::setAutocompleterCallback/setValidator()` must be done explicitly
18
18
* Remove `StringInput::REGEX_STRING`
19
+
* Add method `__toString()` to `InputInterface`
19
20
20
21
DependencyInjection
21
22
-------------------
@@ -28,6 +29,8 @@ DependencyInjection
28
29
* Remove `PhpDumper` options `inline_factories_parameter` and `inline_class_loader_parameter`, use options `inline_factories` and `inline_class_loader` instead
29
30
* Parameter names of `ParameterBag` cannot be numerics
30
31
* Remove `ContainerAwareInterface` and `ContainerAwareTrait`, use dependency injection instead
32
+
* Add argument `$id` and `$asGhostObject` to `DumperInterface::isProxyCandidate()` and `getProxyCode()`
33
+
* Add argument `$source` to `FileLoader::registerClasses()`
31
34
32
35
DoctrineBridge
33
36
--------------
@@ -42,6 +45,16 @@ DoctrineBridge
42
45
* DoctrineBridge now requires `doctrine/event-manager:^2`
43
46
* Add parameter `$isSameDatabase` to `DoctrineTokenProvider::configureSchema()`
44
47
48
+
Filesystem
49
+
----------
50
+
51
+
* Add argument `$lock` to `Filesystem::appendToFile()`
52
+
53
+
FrameworkBundle
54
+
---------------
55
+
56
+
* Remove command `translation:update`, use `translation:extract` instead
57
+
45
58
HttpFoundation
46
59
--------------
47
60
@@ -55,6 +68,11 @@ HttpFoundation
55
68
* Remove `Request::getContentType()`, use `Request::getContentTypeFormat()` instead
56
69
* Throw an `InvalidArgumentException` when calling `Request::create()` with a malformed URI
57
70
71
+
HttpKernel
72
+
----------
73
+
74
+
* Add argument `$reflector` to `ArgumentResolverInterface::getArguments()` and `ArgumentMetadataFactoryInterface::createArgumentMetadata()`
75
+
58
76
Lock
59
77
----
60
78
@@ -65,11 +83,27 @@ Messenger
65
83
66
84
* Add parameter `$isSameDatabase` to `DoctrineTransport::configureSchema()`
67
85
86
+
PropertyAccess
87
+
--------------
88
+
89
+
* Add method `isNullSafe()` to `PropertyPathInterface`
90
+
68
91
ProxyManagerBridge
69
92
------------------
70
93
71
94
* Remove the bridge, use VarExporter's lazy objects instead
72
95
96
+
Routing
97
+
-------
98
+
99
+
* Add argument `$routeParameters` to `UrlMatcher::handleRouteRequirements()`
100
+
101
+
Security
102
+
--------
103
+
104
+
* Add argument `$badgeFqcn` to `Passport::addBadge()`
105
+
* Add argument `$lifetime` to `LoginLinkHandlerInterface::createLoginLink()`
106
+
73
107
SecurityBundle
74
108
--------------
75
109
@@ -78,11 +112,23 @@ SecurityBundle
78
112
Serializer
79
113
----------
80
114
115
+
* Add method `getSupportedTypes()` to `DenormalizerInterface` and `NormalizerInterface`
81
116
* Remove denormalization support for `AbstractUid` in `UidNormalizer`, use one of `AbstractUid` child class instead
82
117
* Denormalizing to an abstract class in `UidNormalizer` now throws an `\Error`
83
118
* Remove `ContextAwareDenormalizerInterface`, use `DenormalizerInterface` instead
84
119
* Remove `ContextAwareNormalizerInterface`, use `NormalizerInterface` instead
85
120
* Remove `CacheableSupportsMethodInterface`, use `NormalizerInterface` and `DenormalizerInterface` instead
86
-
* First argument of `ClassMetadata::setSerializedName()` is now required
87
-
* Third argument `array $context = []` of the `NormalizerInterface::supportsNormalization()` is now required
88
-
* Fourth argument `array $context = []` of the `DenormalizerInterface::supportsDenormalization()` is now required
121
+
* First argument of `AttributeMetadata::setSerializedName()` is now required
122
+
* Add argument `$context` to `NormalizerInterface::supportsNormalization()` and `DenormalizerInterface::supportsDenormalization()`
123
+
124
+
Validator
125
+
---------
126
+
127
+
* Add methods `getConstraint()`, `getCause()` and `__toString()` to `ConstraintViolationInterface`
128
+
* Add method `__toString()` to `ConstraintViolationListInterface`
129
+
* Add method `disableTranslation()` to `ConstraintViolationBuilderInterface`
if ('translation:update' === $input->getFirstArgument()) {
131
-
$errorIo->caution('Command "translation:update" is deprecated since version 5.4 and will be removed in Symfony 6.0. Use "translation:extract" instead.');
Copy file name to clipboardExpand all lines: src/Symfony/Component/Console/CHANGELOG.md
+1
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,7 @@ CHANGELOG
4
4
7.0
5
5
---
6
6
7
+
* Add method `__toString()` to `InputInterface`
7
8
* Remove `Command::$defaultName` and `Command::$defaultDescription`, use the `AsCommand` attribute instead
8
9
* Passing null to `*Command::setApplication()`, `*FormatterStyle::setForeground/setBackground()`, `Helper::setHelpSet()`, `Input*::setDefault()` and `Question::setAutocompleterCallback/setValidator()` must be done explicitly
Copy file name to clipboardExpand all lines: src/Symfony/Component/DependencyInjection/CHANGELOG.md
+2
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,8 @@ CHANGELOG
12
12
* Remove `PhpDumper` options `inline_factories_parameter` and `inline_class_loader_parameter`, use options `inline_factories` and `inline_class_loader` instead
13
13
* Parameter names of `ParameterBag` cannot be numerics
14
14
* Remove `ContainerAwareInterface` and `ContainerAwareTrait`, use dependency injection instead
15
+
* Add argument `$id` and `$asGhostObject` to `DumperInterface::isProxyCandidate()` and `getProxyCode()`
16
+
* Add argument `$source` to `FileLoader::registerClasses()`
trigger_deprecation('symfony/routing', '6.1', 'The "%s()" method will have a new "array $routeParameters" argument in version 7.0, not defining it is deprecated.', __METHOD__);
223
-
$routeParameters = [];
224
-
} else {
225
-
$routeParameters = func_get_arg(3);
226
-
227
-
if (!\is_array($routeParameters)) {
228
-
thrownew \TypeError(sprintf('"%s": Argument $routeParameters is expected to be an array, got "%s".', __METHOD__, get_debug_type($routeParameters)));
229
-
}
230
-
}
231
-
232
221
// expression condition
233
222
if ($route->getCondition() && !$this->getExpressionLanguage()->evaluate($route->getCondition(), [
0 commit comments