Add support for Symfony 8#436
Conversation
|
Thanks, @longwave. I'll look into this as soon as I can carve out some time. |
a15335c to
8ebe41f
Compare
|
That should do it, @longwave! Before I merge, should we cut a new major branch and simultaneously add Symfony 8.x support and drop earlier versions? Should we create a new issue to discuss with other stakeholders? |
|
Do we need a new major here? I think adding support for a new Symfony is fine in a minor version; you aren't removing any API. As a parallel |
I'm fine with that, as long as everyone who needs to approve the decision approves it. (I don't know who that would be, but I assumed it would require more than two people.) I'm also wondering about removing support for Symfony 6 & 7, which obviously would need to be a major version change. And if we chose to do that, I wondered if we should do both things at once. I originally just used whatever versions Drupal core used. I haven't yet had to ask what happens when that changes. |
|
I think if it's easy to add support for Symfony 8 that's good to do in a minor. And then dropping Symfony 6/7 support could happen in a new major. The advantage of this is that it allows sites to update to a version of composer stager that allows Symfony 8, then update to Symfony 8, then update to the major version of composer stager in three different steps if they want/need to for any reason. |
|
Also, do we need to drop support for older Symfony? As we have passing tests and we haven't need to make any code changes to support the latest Symfony, we might as well keep as wide a range of compatibility as we can. |
|
Cool. Well, I'm going to consider three people a consensus 😄 and merge and release this in a minor right now. We can discuss dropping old Symfony versions at a later date. |
Drupal depends on
php-tuf/composer-stager, and Drupal 12 will require Symfony 8, so in turn this package needs to support it.Locally I get the same test failures on
develop(on PHP 8.3 or 8.4) and this branch (on PHP 8.4):