Nette DI v3.2.6 Release Notes

Release Date: 2026-05-06 // about 1 month ago
  • ๐Ÿš€ A maintenance release laser-focused on type safety. Static analysis is now mandatory in CI, the codebase ships richer native and PHPDoc types, and the Tracy DI panel got a cleaner Latte rewrite. No behavioral changes โ€“ just a sturdier foundation for everything built on top.

    • Native types โ€“ tightened parameter and return types across Compiler, ContainerLoader, ServiceDefinition and friends
    • ContainerPanel โ€“ Tracy panel template rewritten with n:attributes for noticeably cleaner Latte syntax
    • PHPStan-clean codebase โ€“ wide-ranging cleanup across DI internals so the whole tree passes strict analysis
    • Richer PHPDoc โ€“ improved @param, @return and class descriptions across Compiler, Container, ContainerBuilder, Resolver, Helpers, definitions and extensions, giving IDEs and static analyzers far more to work with
    • ๐Ÿ‘ Better generic types โ€“ sharpened PHPDoc generics in autowiring, container builder, definitions and resolver

Previous changes from v3.2.5

    • ๐Ÿ‘Œ support for PHP 8.5
    • โšก๏ธ optimized global function calls
    • ๐Ÿ‘‰ used generics for Container::createInstance() (#323)