Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[HttpKernel] DeprecateAddAnnotatedClassesToCachePass and related code infrastructure#53801

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

@nicolas-grekas
Copy link
Member

QA
Branch?7.1
Bug fix?no
New feature?no
Deprecations?yes
IssuesFix#52141
LicenseMIT

These code paths are already no-ops in 7.1 since we don't support annotations anymore.

*
* @author Fabien Potencier <fabien@symfony.com>
*
* @internal since Symfony 7.1, to be deprecated in 8.1; use Symfony\Component\DependencyInjection\Extension\Extension instead
Copy link
MemberAuthor

@nicolas-grekasnicolas-grekasFeb 6, 2024
edited
Loading

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

We cannot deprecate this class right away in 7.1 because we rely on it in FrameworkBundle and others.
Making it first internal then deprecate in 8.1 provides a smooth upgrade path.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Actually, if it is already a no-op, FrameworkBundle could stop registering it.

Copy link
MemberAuthor

@nicolas-grekasnicolas-grekasApr 5, 2024
edited
Loading

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

if you mean AddAnnotatedClassesToCachePass, that's done in this PR

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

ah, I see. This is about the base class then.

Marking as@internal first which removes it from our BC policy before deprecating it only in 8.1 looks weird to me. If we don't deprecate it, we might keep it as non-internal.

Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

it's@internal since, which means its deprecated to use, but we signals to us we won't remove it in 8.0 for BC reasons

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

but@internal since 7.1 would become@internal in 8.0, whichcan be removed.

Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

can but doesn't have to, while deprecated means it should be removed
I'm looking for a smoother plan

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

fine by me

@javiereguiluzjaviereguiluz added the ❄️ Feature FreezeImportant Pull Requests to finish before the next Symfony "feature freeze" labelApr 2, 2024
@nicolas-grekasnicolas-grekasforce-pushed thehk-deprec-annotated-classes branch from599867d to926be8fCompareApril 4, 2024 09:09
Copy link
MemberAuthor

@nicolas-grekasnicolas-grekas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

PR rebased and ready 🙏

@chalasr
Copy link
Member

Quick rebase needed

@fabpotfabpotforce-pushed thehk-deprec-annotated-classes branch from926be8f toef95928CompareApril 8, 2024 11:25
@fabpot
Copy link
Member

Thank you@nicolas-grekas.

@fabpotfabpot merged commit91dc097 intosymfony:7.1Apr 8, 2024
@nicolas-grekasnicolas-grekas deleted the hk-deprec-annotated-classes branchApril 19, 2024 15:42
@fabpotfabpot mentioned this pull requestMay 2, 2024
Korbeil added a commit to jolicode/automapper that referenced this pull requestMay 14, 2024
…#132)`Symfony\Component\HttpKernel\DependencyInjection\Extension` isdeprecated since Symfony 7.1 bysymfony/symfony#53801
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@stofstofstof left review comments

@chalasrchalasrchalasr approved these changes

@fabpotfabpotfabpot approved these changes

+1 more reviewer

@maxheliasmaxheliasmaxhelias approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

DeprecationHttpKernelReady❄️ Feature FreezeImportant Pull Requests to finish before the next Symfony "feature freeze"Status: Reviewed

Projects

None yet

Milestone

7.1

Development

Successfully merging this pull request may close these issues.

Deprecated everything related to*AnnotatedClassesToCompile*

7 participants

@nicolas-grekas@chalasr@fabpot@stof@maxhelias@javiereguiluz@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp