Release
- Version
- 8.2
- Released
- Release notes
- Symfony Blog
Symfony 8.2 extends how the framework resolves controller arguments, letting service injection, typed request mapping and Doctrine entity fetching work in more cases, with some improvements also applying to console commands. A change contributed by HypeMC in pull request #65368 adds support for union and intersection types in controller actions and invokable commands. Autowiring already accepted these types in constructors, but actions and commands previously failed with a "non-existent class or interface" error.
AI-written summary, checked against the cited sources. How summaries work