Thanks to visit codestin.com
Credit goes to github.com

Skip to content

allow Twig 4 #52989

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 17, 2023
Merged

allow Twig 4 #52989

merged 1 commit into from
Dec 17, 2023

Conversation

xabbuh
Copy link
Member

@xabbuh xabbuh commented Dec 11, 2023

Q A
Branch? 7.1
Bug fix? no
New feature? yes
Deprecations? no
Issues
License MIT

Copy link
Member

@GromNaN GromNaN left a comment

Choose a reason for hiding this comment

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

It should work once #52987 is fixed.

@derrabus
Copy link
Member

Why don't we target 6.4?

@xabbuh
Copy link
Member Author

xabbuh commented Dec 11, 2023

Why don't we target 6.4?

I considered this change as a new feature. If we chose 6.4 as the target, then why not 5.4?

@fabpot
Copy link
Member

fabpot commented Dec 11, 2023

Twig 4.x will probably never be released as is; this is "just" a branch that allows me to work on the next version that should be part of Symfony (7.1 hopefully). So, allowing it only on 7.1 for now works for me until we have a solid migration plan.

@derrabus
Copy link
Member

I considered this change as a new feature.

We usually don't consider supporting new versions of 3rd party libraries as a new feature, but what @fabpot says makes sense to me. If Twig 4.x is a transitional branch that will eventually become symfony/twig 7.1, we should limit this change to the 7.1.x branch.

@fabpot
Copy link
Member

fabpot commented Dec 17, 2023

Thank you @xabbuh.

@fabpot fabpot merged commit 2487a68 into symfony:7.1 Dec 17, 2023
@xabbuh xabbuh deleted the twig4-compat branch December 17, 2023 20:05
@fabpot fabpot mentioned this pull request May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants