-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Mon, 23 Nov 2026 18:34:32 +0100 Source: php-twig Architecture: source Version: 3.31.0-1 Distribution: unstable Urgency: medium Maintainer: Debian PHP PEAR Maintainers <pkg…@lists.alioth.debian.org> Changed-By: David Prévot <taff…@debian.org> Changes: php-twig (3.31.0-1) unstable; urgency=medium . [ Fabien Potencier ] * Reject a Template instance created by another environment when resolving templates * Fix the sandbox not reporting the line of a rejected guard tag * Reset the escaping state when compiling a new template after a compilation error * Discard what the non-selected branch of a guard tag registers on the parser * Fix the loop variable of a for tag being undefined in the sequence of a nested loop * Reject the spread operator outside sequences, mappings, and call arguments * Fix the deprecated tag generating invalid PHP for an integer message * Align runtime safe classes with the compile-time strategy subset rules * Allow marking a Markup instance as safe for some escaping strategies only * Add the collate function to compare strings in the alphabetical order of a locale * Fix html_cva() ignoring a boolean default variant * Include the optimizations level in the environment options hash * Prepare the 3.31.0 release . [ Nicolas Grekas ] * Speed up traversing nodes with node visitors * Speed up loading compiled templates that OPcache already holds * Fix compiled float literals depending on the serialize_precision ini setting * Speed up the `with` tag by adding the globals to the new context in place * Fix compiled templates depending on the directory of their source when debug is disabled * Fully normalize template names in FilesystemLoader * Don't cache Intl formatters built from long patterns, attributes, or symbols . [ Zoran Shefot Bogoevski ] * Normalize the template name in FilesystemLoader::getSourceContext() . [ Hugo Alliaume ] * Speed up applying `html_cva()` recipes that resolve to classes already seen . [ Alejandro Borrego ] * Fix reading an attribute through its getter initializing a lazy object when the property is not public . [ Gábor Hojtsy ] * Fix PHP 8.5 deprecation in html_cva() when a recipe value is null . [ David Prévot ] * Fix the intl-extra tests . [ Jérôme Tamarelle ] * Allow extending AttributeExtension to declare callables with attributes . [ a.bolonin ] * Speed up initializing the lexer by merging operator tokens once . [ Jack Worman ] * Fix a variable not being escaped when it has the name of a macro import alias of another scope Checksums-Sha1: 565a4d6ffd6384e060a29d758c71ae5434d8965d 2979 php-twig_3.31.0-1.dsc 39c946969d6abebce0f2610687906f38d15d4a34 367832 php-twig_3.31.0.orig.tar.xz 12189b9abb2bf189a585264116ad36c70578450b 28752 php-twig_3.31.0-1.debian.tar.xz 57aba8ecaa1fee62aa35f721dad4187d7daaf133 12930 php-twig_3.31.0-1_amd64.buildinfo Checksums-Sha256: 6fc6b73691502c1c719597ac52073ad02b25120e66d2b1ea83da039a32104c31 2979 php-twig_3.31.0-1.dsc a9789e2aac28cef467d93b649eb3da407a38baee9785c6f5845e6c27f67be4e8 367832 php-twig_3.31.0.orig.tar.xz 97af92449bed9397a05d3da0e855218910828dba413b884e090ef0532c9cbd13 28752 php-twig_3.31.0-1.debian.tar.xz e03af3cedd05984aaa289a7891823462644a45d678a732f15c3ad0398ce59a95 12930 php-twig_3.31.0-1_amd64.buildinfo Files: 790d401eaa99a4186c1f7b9d7ecf2749 2979 php optional php-twig_3.31.0-1.dsc 6cb94a5b37f293a38650f8df28e76789 367832 php optional php-twig_3.31.0.orig.tar.xz 7adec32c0e074bbc5994900b369275eb 28752 php optional php-twig_3.31.0-1.debian.tar.xz dd9c47ed204416efab3ac145d0113779 12930 php optional php-twig_3.31.0-1_amd64.buildinfo -----BEGIN PGP SIGNATURE----- iQFGBAEBCgAwFiEEeHVNB7wJXHRI941mBYwc+UT2vTwFAmsEhtcSHHRhZmZpdEBk ZWJpYW4ub3JnAAoJEAWMHPlE9r08UlsIAK6CmzXkJRFN0kddaDPePt9TVEIRVCPI wSxvssPjdKN29sXCpLzlvy3P2nE1yD0y0c44tclc3jj3BdyrdyQ71r82nKio0t5z snI540HUq7apf1NTj8MlOohwnCHEsHX75gAIV3yZcOKsm7sM2QdivRXVC37dFJmR 9YvjzIsb3LOGdeHVejukuKkoom7SyKO+2oJ8ughnW8Frmiv7LJdI81n+I1f0slEr sp8wirPGq4DlJylLcl7q/DbUAyvIBq0XoHzQATD4kt+ENemhBfl/A1ldJxOMynod OlE/0vLWdoqiC8rHpdbhj8YoXuywyBencamdeQJu7f9p1+qgsaOiWdw= =JdKD -----END PGP SIGNATURE-----