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
* Remove the `framework.validation.enable_annotations` config option, use `framework.validation.enable_attributes` instead
262
262
* Remove the `framework.serializer.enable_annotations` config option, use `framework.serializer.enable_attributes` instead
263
+
* Remove the `routing.loader.annotation` service, use the `routing.loader.attribute` service instead
264
+
* Remove the `routing.loader.annotation.directory` service, use the `routing.loader.attribute.directory` service instead
265
+
* Remove the `routing.loader.annotation.file` service, use the `routing.loader.attribute.file` service instead
266
+
* Remove `AnnotatedRouteControllerLoader`, use `AttributeRouteControllerLoader` instead
263
267
264
268
HttpFoundation
265
269
--------------
@@ -400,7 +404,9 @@ Routing
400
404
401
405
* Add parameter `array $routeParameters` to `UrlMatcher::handleRouteRequirements()`
402
406
* Remove Doctrine annotations support in favor of native attributes. Use `Symfony\Component\Routing\Annotation\Route` as native attribute now
403
-
* Change the constructor signature of `AnnotationClassLoader` to `__construct(?string $env = null)`, passing an annotation reader as first argument is not supported anymore
407
+
* Remove `AnnotationClassLoader`, use `AttributeClassLoader` instead
408
+
* Remove `AnnotationDirectoryLoader`, use `AttributeDirectoryLoader` instead
409
+
* Remove `AnnotationFileLoader`, use `AttributeFileLoader` instead
Copy file name to clipboardExpand all lines: src/Symfony/Component/Routing/CHANGELOG.md
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,9 @@ CHANGELOG
6
6
7
7
* Add argument `$routeParameters` to `UrlMatcher::handleRouteRequirements()`
8
8
* Remove Doctrine annotations support in favor of native attributes
9
-
* Change the constructor signature of `AnnotationClassLoader` to `__construct(?string $env = null)`, passing an annotation reader as first argument is not supported anymore
9
+
* Remove `AnnotationClassLoader`, use `AttributeClassLoader` instead
10
+
* Remove `AnnotationDirectoryLoader`, use `AttributeDirectoryLoader` instead
11
+
* Remove `AnnotationFileLoader`, use `AttributeFileLoader` instead
trigger_deprecation('symfony/routing', '6.4', 'Passing an instance of "%s" as first and the environment as second argument to "%s" is deprecated. Pass the environment as first argument instead.', Reader::class, __METHOD__);
trigger_deprecation('symfony/routing', '6.4', 'Class "%s" uses Doctrine Annotations to configure routes, which is deprecated. Use PHP attributes instead.', $class->getName());
104
+
if (1 === $collection->count() - \count($routeNamesBefore)) {
0 commit comments