Update Twig to 3.5.0

Created on 18 November 2019, about 5 years ago
Updated 26 January 2023, almost 2 years ago

Problem/Motivation

New releases is out with few api additions but primary fix is compatibility new PHP versions

- https://github.com/twigphp/Twig/commit/fba01bfba2640f98ae24272bb021de7f3...
- https://github.com/twigphp/Twig/commit/406b3e5969752cfd01da58d61b7e28d62...

also Drupal integration is re-enabled https://github.com/twigphp/Twig/commit/589655c1b930fa940beef243e760a2141...

Proposed resolution

Upgrade twig to 3.5.0 and set constraint to ^3.5.0

As 3.5.0 release improves forward-compatibility with PHP 8.0.24 and 8.1.11 it makes sense to backport it to 9.5.x amd 10.0.x

Remaining tasks

- review/commit
- decide about backport

User interface changes

no

API changes

no, additions only

Data model changes

no

Release notes snippet

Drupal 10.1.0

(The standard note about all deps being updated to the latest minors with constraint increased)

Drupal 10.0.1

Twig 3.5.0 has been released with improvements to PHP 8 compatibility. Drupal core and the drupal/core-recommended metapackage have been updated to use this version of Twig.

White it is unlikely, some sites or applications could encounter issues with a minor-version update of Twig in a patch release. The minimum required version remains Twig 3.4.3, so sites experiencing any issues with the 3.5.0 update can temporarily depend directly on drupal/core โ†’ to require the old version until any conflict is resolved.

๐Ÿ“Œ Task
Status

Fixed

Version

10.0 โœจ

Component
Themeย  โ†’

Last updated about 13 hours ago

Created by

๐Ÿ‡ท๐Ÿ‡บRussia Chi

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • ๐Ÿ‡บ๐Ÿ‡ธUnited States xjm

    This change is covered by the standard minor release note of:

    Drupal core's pinned Composer dependency versions have been updated for the latest minor and patch releases.
    Additionally, Drupal coreโ€™s composer constraints have been increased to require the latest minor version for forward compatibility. This ensures that if any composer package that Drupal core depends upon has a security release, the Drupal core security update will be non-disruptive, because if possible no minor version increase will occur for the affected dependency, only a patch version increase.

Production build 0.71.5 2024