Skip to content

Commit 2fef8b1

Browse files
committed
minor symfony#56839 [HttpKernel] Clarify deprecations around annotated classes (xabbuh)
This PR was merged into the 7.1 branch. Discussion ---------- [HttpKernel] Clarify deprecations around annotated classes | Q | A | ------------- | --- | Branch? | 7.1 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | | License | MIT Commits ------- 451dde8 clarify deprecations around annotated classes
2 parents cbbecbb + 451dde8 commit 2fef8b1

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

UPGRADE-7.1.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,10 @@ Mailer
9292
HttpKernel
9393
----------
9494

95-
* Deprecate `Extension::addAnnotatedClassesToCompile()` and related code infrastructure
95+
* The `Extension` class is marked as internal, extend the `Extension` class from the DependencyInjection component instead
96+
* Deprecate `Extension::addAnnotatedClassesToCompile()`
97+
* Deprecate `AddAnnotatedClassesToCachePass`
98+
* Deprecate the `setAnnotatedClassCache()` and `getAnnotatedClassesToCompile()` methods of the `Kernel` class
9699

97100
SecurityBundle
98101
--------------

src/Symfony/Component/HttpKernel/CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@ CHANGELOG
99
* Add `$validationFailedStatusCode` argument to `#[MapQueryParameter]` that allows setting a custom HTTP status code when validation fails
1010
* Add `NearMissValueResolverException` to let value resolvers report when an argument could be under their watch but failed to be resolved
1111
* Add `$type` argument to `#[MapRequestPayload]` that allows mapping a list of items
12-
* Deprecate `Extension::addAnnotatedClassesToCompile()` and related code infrastructure
12+
* The `Extension` class is marked as internal, extend the `Extension` class from the DependencyInjection component instead
13+
* Deprecate `Extension::addAnnotatedClassesToCompile()`
14+
* Deprecate `AddAnnotatedClassesToCachePass`
15+
* Deprecate the `setAnnotatedClassCache()` and `getAnnotatedClassesToCompile()` methods of the `Kernel` class
1316
* Add `#[MapUploadedFile]` attribute to fetch, validate, and inject uploaded files into controller arguments
1417

1518
7.0

0 commit comments

Comments
 (0)