Update dependency twig/twig to v3.9.3
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
twig/twig (source) | require | minor |
3.8.0 -> 3.9.3
|
Release Notes
twigphp/Twig (twig/twig)
v3.9.3
- Add missing
twig_escape_filter_is_safe
deprecated function - Fix yield usage with CaptureNode
- Add missing unwrap call when using a TemplateWrapper instance internally
- Ensure Lexer is initialized early on
v3.9.2
- Fix usage of display_end hook
v3.9.1
- Fix missing
$blocks
variable inCaptureNode
v3.9.0
- Add support for PHP 8.4
- Deprecate AbstractNodeVisitor
- Deprecate passing Template to Environment::resolveTemplate(), Environment::load(), and Template::loadTemplate()
- Add a new "yield" mode for output generation;
Node implementations that use "echo" or "print" should use "yield" instead;
all Node implementations should be flagged with
#[YieldReady]
once they've been made ready for "yield"; the "use_yield" Environment option can be turned on when all nodes have been made#[YieldReady]
; "yield" will be the only strategy supported in the next major version - Add return type for Symfony 7 compatibility
- Fix premature loop exit in Security Policy lookup of allowed methods/properties
- Deprecate all internal extension functions in favor of methods on the extension classes
- Mark all extension functions as @internal
- Add SourcePolicyInterface to selectively enable the Sandbox based on a template's Source
- Throw a proper Twig exception when using cycle on an empty array
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.
Edited by Renovate Bot