Skip to content

build(deps-dev): bump twig/twig from 3.29.0 to 3.30.0 - #1022

Merged
rubenvdlinde merged 1 commit into
developmentfrom
dependabot/composer/development/twig/twig-3.30.0
Oct 2, 2026
Merged

rubenvdlinde merged 1 commit into
developmentfrom
dependabot/composer/development/twig/twig-3.30.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 1, 2026

Copy link
Copy Markdown
Contributor

Bumps twig/twig from 3.29.0 to 3.30.0.

Release notes

Sourced from twig/twig's releases.

v3.30.0

Changelog (twigphp/Twig@v3.29.0...v3.30.0)

  • minor #4950 Fetch the escaper runtime once in the constructor of templates that escape (@​fabpot)
  • minor #4948 Compare the date formatter prototype pattern with the derived one once per pattern (@​fabpot)
  • bug #4946 Fix split trailing newline (@​fabpot)
  • minor #4945 Speed up adding extensions to an environment (@​nicolas-grekas)
  • minor #4940 Reuse the already resolved callable when compiling call arguments (@​fabpot)
  • minor #4939 Compile the generator guard as an unreachable yield instead of a yield from (@​fabpot)
  • feature #4938 Speed up loading a template that the environment has already loaded (@​fabpot)
  • bug #4937 Stop the escaping safe analysis from retaining every analyzed node (@​fabpot)
  • feature #4936 Allow to call TemplateWrapper::unwrap() without arguments (@​derrabus)
  • feature #4934 Expose the escaping strategy a template was compiled with (@​fabpot)
  • minor #4933 Improve macro call performance (@​fabpot)
  • bug #4932 Fix IntlExtension inheriting values derived by ICU from a date formatter prototype (@​fabpot)
  • bug #4931 Fix array access with a Stringable key on subclasses of ArrayObject and ArrayIterator (@​fabpot)
  • bug #4930 Report a clear error when a string cannot be split into characters (@​fabpot)
  • feature #4929 Deprecate cloning a Twig environment (@​fabpot)
  • minor #4928 Report the macro call parentheses deprecation once per call site and name the macro (@​fabpot)
Changelog

Sourced from twig/twig's changelog.

3.30.0 (2026-09-25)

  • Fix split, random, and shuffle merging a trailing newline into the last character of a string
  • Speed up splitting a string into characters in split, random, and shuffle
  • Speed up escaping by fetching the escaper runtime once per template
  • Speed up adding extensions to an environment
  • Fix the escaping safe analysis retaining every compiled template node for the lifetime of the environment
  • Speed up loading a template that the environment has already loaded
  • Speed up rendering by compiling a cheaper generator guard into templates
  • Speed up compiling filter, function, and test calls
  • Fix IntlExtension letting the pattern derived from a date formatter prototype override an explicit locale
  • Fix IntlExtension not honoring the locale of a date formatter prototype configured with no date and time styles
  • Speed up macro calls
  • Fix TemplateWrapper::unwrap() failing when called without arguments, which is now deprecated
  • Add TemplateWrapper::getDefaultEscapeStrategy() to know the escaping strategy a template was compiled with
  • Report a clear error when random, reverse, shuffle, and split receive a string that is not valid UTF-8
  • Fix the deprecation about omitting parentheses when calling a macro being reported twice for the same call
  • Add the macro name to the deprecation about omitting parentheses when calling a macro
  • Deprecate cloning a Twig\Environment instance
  • Fix array access with a Stringable key on subclasses of ArrayObject and ArrayIterator
Commits
  • 8c73707 Prepare the 3.30.0 release
  • 052c7ef minor #4950 Fetch the escaper runtime once in the constructor of templates th...
  • 3417f48 Fetch the escaper runtime once in the constructor of templates that escape
  • 9e198d7 minor #4948 Compare the date formatter prototype pattern with the derived one...
  • 22e3119 bug #4946 Fix split trailing newline (fabpot)
  • 00861d5 Fix split trailing newline
  • 81cc196 Bump version
  • 10fe980 Compare the date formatter prototype pattern with the derived one once per pa...
  • c8d782e Deprecate calling TemplateWrapper::unwrap() without arguments as of 3.30 and ...
  • 9c3d58e Fix coding standards
  • 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.29.0 to 3.30.0.
- [Release notes](https://github.com/twigphp/Twig/releases)
- [Changelog](https://github.com/twigphp/Twig/blob/3.x/CHANGELOG)
- [Commits](twigphp/Twig@v3.29.0...v3.30.0)

---
updated-dependencies:
- dependency-name: twig/twig
  dependency-version: 3.30.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file minor Release: bump the minor version on the next stable release php Pull requests that update php code labels Oct 1, 2026
@rubenvdlinde
rubenvdlinde merged commit 46df6b8 into development Oct 2, 2026
47 checks passed
@dependabot
dependabot Bot deleted the dependabot/composer/development/twig/twig-3.30.0 branch October 2, 2026 07:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file minor Release: bump the minor version on the next stable release php Pull requests that update php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant