Skip to content

Symfony 8.2 ships as stable, and it needs PHP 8.4

The 8.2 branch leaves release-candidate status today, bundling MySQL and MariaDB advisory locks and a Messenger serializer that non-PHP services can read.

Source: Symfony

Symfony 8.2.0 shipped as a stable release today, the first non-prerelease build of the 8.2 branch. It requires PHP 8.4.0 or higher, and Symfony’s own release page sets the branch’s end of support at July 2027, shorter than a standard LTS window.

Most of the headline work had already landed in preview posts over the past month: the Lock component gained native MySQL and MariaDB advisory locks through new MysqlStore and DoctrineDbalMysqlStore classes, removing the need for Postgres, Redis or a polling lock table just to stop overlapping cron jobs. Messenger got an interop serializer that strips Symfony-specific envelope stamps from queued messages, so a Go or Node.js worker can read off the same transport as a Symfony app. The stable release itself adds a further round of fixes across HttpClient, Cache, Mailer, Security and Serializer since the release candidate, but the announcement doesn’t flag any of them as breaking.

Why it matters: if you held off on 8.2 while it was still an RC, this is the build to pin. Check the PHP 8.4 floor first: it’s the one hard requirement every project on this branch has to clear, and it rules out upgrading on an older PHP install without that move happening first.

The caveat: the release post doesn’t itemise breaking changes beyond pointing at the standard upgrade guide, so run SymfonyInsight’s upgrade report before deploying this to production.

Share

Related reading

More from The Wire

All briefs