github twigphp/Twig v3.24.0

8 hours ago

Changelog (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)

Don't miss a new Twig release

NewReleases is sending notifications on new releases.