PHP

New in Symfony 8.2: Routing Improvements

Symfony 8.2 adds several improvements to its Routing component, alongside the ability for routes to choose their firewall. Contributed by Ousama Ben Younes in pull request #65073, routes can now define a _query default listing query parameters, building on the special _query parameter introduced in Symfony 7.3. Previously, developers had to repeat those parameters in every generate() and path() call. As a regular route default, it works in all configuration formats and does not affect route matching, which never uses the query string.

AI-written summary, checked against the cited sources. How summaries work

Image: Symfony Blog

Read at Symfony Blog

Release

Version
8.2
Released
Release notes
Symfony Blog