Update dependency twig/twig to v3.10.1
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
twig/twig (source) | require | minor |
3.9.3 -> 3.10.1
|
Release Notes
twigphp/Twig (twig/twig)
v3.10.1
- Fix BC break on escaper extension
- Fix constant return type
v3.10.0
-
Make
CoreExtension::formatDate
,CoreExtension::convertDate
, andCoreExtension::formatNumber
part of the public API -
Add
needs_charset
option for filters and functions -
Extract the escaping logic from the
EscaperExtension
class to a newEscaperRuntime
class.The following methods from
Twig\\Extension\\EscaperExtension
are deprecated:setEscaper()
,getEscapers()
,setSafeClasses
,addSafeClasses()
. Use the same methods on theTwig\\Runtime\\EscaperRuntime
class instead. -
Fix capturing output from extensions that still use echo
-
Fix a PHP warning in the Lexer on malformed templates
-
Fix blocks not available under some circumstances
-
Synchronize source context in templates when setting a Node on a Node
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.