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

Remove mentions of the deprecated XML format#21449

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

Open
nicolas-grekas wants to merge1 commit intosymfony:8.0
base:8.0
Choose a base branch
Loading
fromnicolas-grekas:xml

Conversation

nicolas-grekas
Copy link
Member

@nicolas-grekasnicolas-grekas commentedOct 1, 2025
edited
Loading

Fix#21447 for branch 8.0 (7.4 might need some inline notes)
This removes all mentions of XML that are in relation with configuring routes and services.
Of course this keeps XML for translations, validation, serializer and Doctrine entities, among a few others.

MatTheCat reacted with thumbs up emoji
@carsonbotcarsonbot added this to the7.4 milestoneOct 1, 2025
@carsonbotcarsonbot changed the titleRemove mentions of the deprecated XML format Remove mentions of the deprecated XML formatOct 1, 2025
@wouterj
Copy link
Member

wouterj commentedOct 1, 2025
edited
Loading

Thanks for starting this!

I think we should only do this change in the docs on 8.0 for 2 reasons:

  • The doc examples will be the resource people use to convert their XML config to Yaml/PHP. It's a bit of a bummer to have to version switch to 7.3 each time for this.
  • This is emphasized by a recent change to only show x.4 for eol major versions. We have the same problem with the big security refactor: because I rewrote the entire docs in 5.3 already, people still using the old system on 5.4 will now have to switch back all the way to 4.4 for the older security documentation.
xabbuh reacted with thumbs up emoji

@nicolas-grekas
Copy link
MemberAuthor

nicolas-grekas commentedOct 2, 2025
edited
Loading

Works for me. PR rebased to target 8.0
Not sure what should be done on 7.4. If someone else can take care of that aspect that'd be cool!

wouterj and javiereguiluz reacted with thumbs up emoji

@xabbuhxabbuh modified the milestones:7.4,8.0Oct 2, 2025
@wouterj
Copy link
Member

wouterj commentedOct 2, 2025
edited
Loading

Not sure what should be done on 7.4. If someone else can take care of that aspect that'd be cool!

For 7.4, I guess we can leave the examples as-is, and only update this section in 7.4 to no longer mention XML:https://symfony.com/doc/current/configuration.html#configuration-formats. And probably add a.. deprecated:: 7.4 directive so people looking for it can still find some informatio. That way, we don't lead new users to choose a format that is deprecated.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@xabbuhxabbuhAwaiting requested review from xabbuhxabbuh is a code owner

Assignees
No one assigned
Projects
None yet
Milestone
8.0
Development

Successfully merging this pull request may close these issues.

4 participants
@nicolas-grekas@wouterj@xabbuh@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp