basercms
basercms copied to clipboard
Bump twig/twig from 3.12.0 to 3.20.0
Bumps twig/twig from 3.12.0 to 3.20.0.
Changelog
Sourced from twig/twig's changelog.
3.20.0 (2025-02-13)
- Fix support for ignoring syntax errors in an undefined handler in guard
- Add configuration for Commonmark
- Fix wrong array index
- Bump minimum PHP version to 8.1
- Add support for registering callbacks for undefined functions, filters or token parsers in the IntegrationTestCase
- Use correct line number for
ForElseNode- Fix timezone conversion on strings
3.19.0 (2025-01-28)
- Fix a security issue where escaping was missing when using
??- Deprecate
Token::getType(), useToken::test()instead- Add
Token::toEnglish()- Add
ForElseNode- Deprecate
Twig\ExpressionParser::parseOnlyArguments()andTwig\ExpressionParser::parseArguments()(useTwig\ExpressionParser::parseNamedArguments()instead)- Fix
constant()behavior when used with??- Add the
invokefilter- Make
{}optional for thetypestag- Add
LastModifiedExtensionInterfaceand implementation inAbstractExtensionto track modification of runtime classes- Ignore static properties when using the dot operator
3.18.0 (2024-12-29)
- Fix unary operator precedence change
- Ignore
SyntaxErrorexceptions from undefined handlers when using theguardtag- Add a way to stream template rendering (
TemplateWrapper::stream()andTemplateWrapper::streamBlock())3.17.1 (2024-12-12)
- Fix the null coalescing operator when the test returns null
- Fix the Elvis operator when used as '? :' instead of '?:'
- Support for invoking closures
3.17.0 (2024-12-10)
- Fix ArrayAccess with objects as keys
- Support underscores in number literals
- Deprecate
ConditionalExpressionandNullCoalesceExpression(useConditionalTernaryandNullCoalesceBinaryinstead)3.16.0 (2024-11-29)
- Deprecate
InlinePrint- Fix having macro variables starting with an underscore
- Deprecate not passing a
Sourceinstance toTokenStream- Deprecate returning
nullfromTwigFilter::getSafe()andTwigFunction::getSafe(), return[]instead
... (truncated)
Commits
3468920Prepare the 3.20.0 releasee456a31Update CHANGELOGf1c9039Fix typod1737bdFix CHANGELOG6508e80bug #4575 Fix support for ignoring syntax erros in an undefined handler in gu...3794efeFix support for ignoring syntax erros in an undefined handler in guard40a2d5bAdd missing CHANGELOG3cdf26ffeature #3737 Added configuration for commonmark use in twig-extra-bundle. (d...fab1a37bug #4546 Fix timezone conversion on strings (PrinsFrank)f69531fFix timezone conversion on strings- Additional commits viewable in compare view
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the Security Alerts page.
Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.