Skip to content

Build(deps): Bump twig/twig from 3.23.0 to 3.24.0#3057

Merged
mergery[bot] merged 1 commit intomasterfrom
dependabot/composer/twig/twig-3.24.0
Mar 18, 2026
Merged

Build(deps): Bump twig/twig from 3.23.0 to 3.24.0#3057
mergery[bot] merged 1 commit intomasterfrom
dependabot/composer/twig/twig-3.24.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 18, 2026

Bumps twig/twig from 3.23.0 to 3.24.0.

Release notes

Sourced from twig/twig's releases.

v3.24.0

Changelog (twigphp/Twig@v3.23.0...v3.24.0)

  • feature #3930 Add an html_attr function to make outputting HTML attributes easier (@​mpdude, @​polarbirke)
  • bug #4778 Fix null coalescing operator with imported macros (@​fabpot)
  • feature #4775 Add getOperatorTokens() to ExpressionParserInterface to separate operator token registration from parser identity (@​fabpot)
  • bug #4774 Ensure filters/attributes aren't mistaken for operators (@​brandonkelly)
  • feature #4771 Deprecate passing non AbstractExpression nodes to MatchesBinary (@​fabpot)
  • feature #4769 Deprecate passing a non-AbstractExpression node to Parser::setParent() (@​fabpot)
  • feature #4748 Support short-circuiting in null-safe operator chains (@​HypeMC)
  • feature #4743 Add html_attr_relaxed escaping strategy (@​mpdude)
  • feature #4759 Add support for renaming variables in object destructuring (@​fabpot)
Changelog

Sourced from twig/twig's changelog.

3.24.0 (2026-03-17)

  • Deprecate not implementing the getOperatorTokens() method in ExpressionParserInterface implementations
  • Deprecate passing a non-AbstractExpression node to Twig\Node\Expression\Binary\MatchesBinary constructor
  • Deprecate passing a non-AbstractExpression node to Parser::setParent()
  • Add support for renaming variables in object destructuring ({name: userName} = user)
  • Add html_attr_relaxed escaping strategy that preserves :, @, [, and ] for front-end framework attribute names
  • Add support for short-circuiting in null-safe operator chains
  • Add the html_attr function and html_attr_merge as well as html_attr_type filters
Commits
  • a6769ae Prepare the 3.24.0 release
  • 8abec84 minor #4784 Add two tests for error conditions in #3930 (mpdude)
  • 2fcc939 Fix CS
  • 25bfb59 Add two tests for error conditions in #3930
  • 8b93364 feature #3930 Add an html_attr function to make outputting HTML attributes ...
  • 42c12fa Add an html_attr function to make outputting HTML attributes easier
  • 9c85915 minor #4779 fix MatchesBinary namespace in changelog (xabbuh)
  • 442bcd4 fix MatchesBinary namespace in changelog
  • e56cdfd bug #4778 Fix null coalescing operator with imported macros (fabpot)
  • faa7e87 feature #4775 Add getOperatorTokens() to ExpressionParserInterface to separat...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [twig/twig](https://github.com/twigphp/Twig) from 3.23.0 to 3.24.0.
- [Release notes](https://github.com/twigphp/Twig/releases)
- [Changelog](https://github.com/twigphp/Twig/blob/3.x/CHANGELOG)
- [Commits](twigphp/Twig@v3.23.0...v3.24.0)

---
updated-dependencies:
- dependency-name: twig/twig
  dependency-version: 3.24.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added automerge dependencies Pull requests that update a dependency file labels Mar 18, 2026
@mergery mergery bot merged commit 79a70e1 into master Mar 18, 2026
12 checks passed
@mergery mergery bot deleted the dependabot/composer/twig/twig-3.24.0 branch March 18, 2026 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automerge dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants