owncloud / core

:cloud: ownCloud web server core (Files, DAV, etc.)
https://owncloud.com
GNU Affero General Public License v3.0
8.38k stars 2.05k forks source link

Update Symfony from 4.4.* to 5.4.* #39630

Closed phil-davis closed 9 months ago

phil-davis commented 2 years ago

https://symfony.com/releases/5.4

Symfony LTS major version 5.4 was release in Nov 2021. It supports PHP 7.2.5 and up - https://symfony.com/doc/5.4/setup.html#technical-requirements - that matches easily with oC10 master which currently supports PHP ~7.3 and~ 7.4.

The major version has 3 years bugfix support to Nov 2024 and another 1 year security support to Nov 2025.

Note: there are also apps that mention Symfony in their composer.json, so those should also be updated in sync.

Symfony 4.4 has bugfix support to Nov 2022 and security support to Nov 2023. So there is not a rush to do this issue. https://symfony.com/releases/4.4

phil-davis commented 1 year ago

https://symfony.com/releases

Symfony 4.4 is at the end of regular support. There is another 12 months of security-fixes-only.

https://symfony.com/blog/symfony-4-4-49-released "WARNING: 4.4.49 is the last version for the Symfony 4.4 branch. If some of your projects are still using this version, consider upgrading as soon as possible."

PR #40517 bumps to the last regular release of the Symfony 4.4 release branch.

phil-davis commented 1 year ago

Apps that need a release:

Optional releases: These apps have had the Symfony Command excute() method declared as returning int. And other test-only changes. That is optional but not required in Symfony 5. So the existing previously-released code should still work with Symfony 5. Thus doing a release is optional.

phil-davis commented 1 year ago

Note: I think that the code is all done. The pending tasks are all the app releases and core 10.13.0

github-actions[bot] commented 9 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 10 days if no further activity occurs. Thank you for your contributions.