Repository navigation
Release v1.0.9
Release v1.0.9: Twig 4.0+ compatibility fix
- Added YieldReady attribute to NodeStart class
- Resolves deprecation warning in Twig 4.0+
- Backward compatible with all supported Twig versions (3.8+)
- Updated documentation (CHANGELOG and UPGRADING)
Changelog
Fixed
- Twig 4.0+ Compatibility: Fixed deprecation warning for
NodeStartclass- Added
#[\Twig\Attribute\YieldReady]attribute toNodeStartclass to resolve Twig 4.0+ deprecation warnings - This attribute is required for custom Twig nodes in Twig 4.0+ to indicate they are ready for generator/yield support
- Backward Compatible: No breaking changes, works with all supported Twig versions (3.8+)
- The
NodeEndclass already had this attribute, now both node classes are consistent - Fixes: "User Deprecated: NodeStart requires #[\Twig\Attribute\YieldReady] attribute"
- See UPGRADING.md for upgrade instructions
- Added