Track Twig 4 support for EasyAdmin 5.x
Maintainers usually reply within 2 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- Half a day
- Newbie friendliness
- 42/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Domain
- build-system, ci-cd
Research direction
This is a dependency-compatibility tracking item: first inspect EasyAdmin’s Twig and symfony/twig-bridge constraints and the CI development dependencies. Reproduce the reported state at 29cb525 with Twig 4.0.0-beta1 and Twig Bridge 8.1.10, checking VichFormThemeTest and the TemplateWrapper::unwrap() failure seen with 8.0.15. Done means the Twig 4 constraints and CI are updated after the pending Twig and Twig CS Fixer releases, or a maintainer records the decision.
Written by the indexing model from the issue text.
Description
EasyAdmin 5.x currently requires Twig ^3.23. At 29cb525, all 4,415 tests passed with Twig 4.0.0-beta1 and Twig Bridge 8.1.10 after removing Twig CS Fixer from the test checkout. With Twig Bridge 8.0.15, all six VichFormThemeTest cases failed because Twig 4 requires an environment argument to TemplateWrapper::unwrap().
Two releases are still pending.
- A stable Twig 4 release. Twig 4.0.0-beta1
- A Twig CS Fixer release with Twig 4 support for the development dependencies and CI. Twig CS Fixer PR #473
The form fix has already shipped in Twig Bridge 6.4.46, 7.4.19, and 8.1.7. EasyAdmin's current constraints still allow versions such as 8.0.15. Symfony PR #66043
Would EasyAdmin 5.x accept requiring symfony/twig-bridge ^6.4.46 | ^7.4.19 | ^8.1.7? These minimums would also apply to projects using Twig 3.
- Dominant language
- PHP
- Stars
- 4.3k
- Forks
- 1.1k
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 52
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from EasyCorp/EasyAdminBundle
-
bug design
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
EasyCorp/EasyAdminBundle#7958 ·
Maintainers usually reply within 2 days
-
design feature
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
EasyCorp/EasyAdminBundle#7930 ·
Maintainers usually reply within 2 days
-
design
Difficulty 2/5 Under an hour Newbie friendliness 88/100
EasyCorp/EasyAdminBundle#7879 ·
Maintainers usually reply within 2 days
-
design
Difficulty 1/5 Under an hour Newbie friendliness 90/100
EasyCorp/EasyAdminBundle#7875 ·
Maintainers usually reply within 2 days
-
#[AdminRoute]: the requirements of an action silently replace the ones of the classPossibly taken @anthonyhacart claimed this 1 day ago. Openfeature
Difficulty 3/5 Half a day Newbie friendliness 30/100
EasyCorp/EasyAdminBundle#7956 ·
Maintainers usually reply within 2 days
All issues in EasyCorp/EasyAdminBundle
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 84/100
-
area/import type/enhancement when/later
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
parime/glpi-iso27001-management#1165 ·
Maintainers usually reply within 1 day
-
15.0
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
opnsense/plugins#5976 · 1 comment ·
Maintainers usually reply within 1 day