We want to release Drupal 10 with Symfony 6. As Drupal 9 is released with Symfony 4, we are skipping Symfony 5. The problem for Drupal is that Symfony has added deprecations to the Symfony 5 branch and those deprecations will be removed from Symfony 6. Some Drupal 9 sites will be using functionality from Symfony that will be removed in Symfony 6 and therefor will the same functionality also be removed from Drupal 10. We would like to give Drupal 9 sites the possibility to test with Symfony 5 for those deprecations. Having deprecation warning messages makes migration to a new version a lot easier then being confronted by hard breaks for functionality that has been removed. The decision has been made to create such a "test" branch with Symfony 5.4. The question now is how are we going to do that exactly. A couple of choices have to be made:

  1. Which branch we shall use for the Symfony 5.4 test branch? We have the 9.3, 9.4 and the 10.0 branch to choose from. The 9.3 branch has the advantage that it can be release in november 2021 and allows sites to test before well before the release of D10. With the branches 9.4 or 10.0 we shall have to wait for march 2022 when we can do beta release. A stable release will be much later. The 9.4 branch with Symfony 5.4 will be a Drupal 9 site with all the BC layers still there. The same with the 10.0 branch will have all those BC layers removed.
  2. The next problem is if the release will be just a single snapshot in time or will the branch with Symfony 5.4 get updates just like the regular branch?
  3. Is the "test" branch just the same as the regular one only with Symfony 5.4 or do we need to do more? Deprecation message suppressions need to be removed for the "test" branch. Is this enough or do we need to do more?

Comments

daffie created an issue. See original summary.

daffie’s picture

Priority: Normal » Critical
longwave’s picture

Version: 9.4.x-dev » 10.0.x-dev

I think the short answer here is 10.0.0-alpha1 will be the release with Symfony 5.4.

I suspect this can be closed as duplicate of #3251854: [META] Requirements for tagging Drupal 10.0.0-alpha1?

Gábor Hojtsy’s picture

Status: Active » Fixed

10.0.0-alpha1 was released with Symfony 5.4. Later alphas may update to Symfony 6 (and remove deprecated APIs), so alpha1 is meant to be used for deprecating checking against Symfony 5.4. Actually using Drupal with Symfony 5.4 is not a goal though.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.