php-twig (3.22.0-2)
[PTS] [DDPO]
NEW: VCS has unreleased changes: 3.22.1-1 > 3.22.0-2
- Git: https://salsa.debian.org/php-team/pear/twig.git
-
- Branch: debian/latest
- Path: debian/changelog
- Repo size: 8409088
- Browser: https://salsa.debian.org/php-team/pear/twig
- Last scan: 2025-11-17 08:24:05+00
- Next scan: 2025-11-25 05:02:00+00
- CI pipeline status: success
- Debian changelog in Git:
php-twig (3.22.1-1) unstable; urgency=medium
[ Fabien Potencier ]
* Prepare the 3.22.1 release
[ Javier Eguiluz ]
* Allow Symfony 8 packages in Twig extra packages
[ Andreas Erhard ]
* Add caution note for random function usage
-- David Prévot <taffit@debian.org> Mon, 17 Nov 2025 08:12:49 +0100
- This branch is 17 commits ahead of tag debian/3.22.0-2
- Git log:
commit 81444903acf8343e264aa2c881e9fae310fdce84
Author: David Prévot <taffit@debian.org>
Date: Mon Nov 17 08:13:22 2025 +0100
Update changelog for 3.22.1-1 release
commit 7b10f4f9aab96bb85731d06963ef3c899fde58e8
Author: David Prévot <taffit@debian.org>
Date: Mon Nov 17 08:11:38 2025 +0100
Refresh patches
Git-Dch: Ignore
commit c2ae9a294582f3a15c4cb6bcfedba605561b4cb6
Merge: b102f27b 7752238f
Author: David Prévot <taffit@debian.org>
Date: Mon Nov 17 08:11:05 2025 +0100
Update upstream source from tag 'upstream/3.22.1'
Update to upstream version '3.22.1'
with Debian dir 4ea757d2528e530318555195976f58c6c66a40ec
commit 7752238f4bf7e5ff1b01c3c99f8d6fcc502fc365
Merge: affe69c6 1de2ec1f
Author: David Prévot <taffit@debian.org>
Date: Mon Nov 17 08:11:01 2025 +0100
New upstream version 3.22.1
commit 1de2ec1fc43ab58a4b7e80b214b96bfc895750f3
Author: Fabien Potencier <fabien@potencier.org>
Date: Sun Nov 16 17:01:12 2025 +0100
Prepare the 3.22.1 release
commit 6a6543462bd78b09811e81299971f1b581d8acd0
Author: Fabien Potencier <fabien@potencier.org>
Date: Sat Nov 15 09:10:04 2025 +0100
Update CHANGELOG
commit 35a3de70121dd71926e1046b0881899f83928748
Merge: d58c8be1 40248e4c
Author: Fabien Potencier <fabien@potencier.org>
Date: Sat Nov 15 08:57:38 2025 +0100
minor #4711 `CoreExtension` : Make error message more readable (tcoch)
This PR was squashed before being merged into the 3.x branch.
Discussion
----------
`CoreExtension` : Make error message more readable
It's a silly little patch, but really improves the readability of the error message IMO ...
Commits
-------
40248e4ca9 `CoreExtension` : Make error message more readable
commit 40248e4ca9c2d10242fef4f086999359d389f22b
Author: Thomas Cochard <95548437+tcoch@users.noreply.github.com>
Date: Mon Nov 10 21:22:11 2025 +0100
`CoreExtension` : Make error message more readable
commit d58c8be15ddbda8532df7ba5de283b51dd8939d2
Merge: 2996f0b4 790eee7a
Author: Fabien Potencier <fabien@potencier.org>
Date: Wed Nov 5 13:48:28 2025 +0100
minor #4698 Add throw tag to parse methods (VincentLanglet)
This PR was merged into the 3.x branch.
Discussion
----------
Add throw tag to parse methods
Hi `@fabpot`, with PHPStan improving every day his exception checking, it's useful to have well documented method.
I didn't update all of them (there are too many), and focus on the one I have issue with:
- Almost all the InfixExpressionParserInterface/PrefixExpressionParserInterface implements throws a SyntaxError in parse method
- Parser::parse method is catching SyntaxError and rethrowing them so it should be added to the phpdoc
- Since Parser::parse catch Parser::subparse, it would be useful to add the phpdoc to subparse
Commits
-------
790eee7ae0 Add throw tag to parse methods
commit 2996f0b4274b788c18f78b0b74d164fa92c51f07
Merge: 94a36352 02c5a4b0
Author: Fabien Potencier <fabien@potencier.org>
Date: Tue Nov 4 14:12:13 2025 +0100
minor #4709 Add caution note for random function usage (xelan)
This PR was merged into the 3.x branch.
Discussion
----------
Add caution note for random function usage
See https://www.php.net/manual/en/function.array-rand.php and https://www.php.net/manual/en/function.mt-rand.php. Users should know that the Twig function is a convenience feature, but unusable e.g. for serious gaming/gambling apps due to the potential predictability and limited value range.
Commits
-------
02c5a4b0b6 Add caution note for random function usage
commit 02c5a4b0b6d039569045a17e7bd012d5e3c7113f
Author: Andreas Erhard <developer@andaris.at>
Date: Tue Nov 4 11:55:35 2025 +0100
Add caution note for random function usage
commit 94a363525d7a016c6316b262e48240dc3f004a13
Merge: 80fa13c2 9a8a1dc1
Author: Fabien Potencier <fabien@potencier.org>
Date: Sun Nov 2 20:01:59 2025 +0100
minor #4708 Allow Symfony 8 packages in Twig extra packages (javiereguiluz)
This PR was merged into the 3.x branch.
Discussion
----------
Allow Symfony 8 packages in Twig extra packages
I'm testing the upcoming Symfony 8 in some apps, and I have some issues with some Twig extra packages that don't allow installing Symfony 8 packages.
Commits
-------
9a8a1dc1dd Allow Symfony 8 packages in Twig extra packages
commit 9a8a1dc1dd91b2a546a3acad3e67e731cbda3c2e
Author: Javier Eguiluz <javier.eguiluz@gmail.com>
Date: Sun Nov 2 12:00:49 2025 +0100
Allow Symfony 8 packages in Twig extra packages
commit 80fa13c253d7ee5dde811cd2ec51d16b1216b328
Merge: f663cc34 64c87eea
Author: Fabien Potencier <fabien@potencier.org>
Date: Thu Oct 30 07:16:57 2025 -0400
minor #4707 Fix array typehint for $variants in HtmlExtension (yoeunes)
This PR was merged into the 3.x branch.
Discussion
----------
Fix array typehint for $variants in HtmlExtension
This PR corrects the array typehint for the `$variants` parameter in the `HtmlExtension::htmlCva` method. It was missing a closing angle bracket (`>`).
Commits
-------
64c87eeaa3 Fix array typehint for $variants in HtmlExtension
commit 64c87eeaa3ecfe77dd7e3ca900a5e498ada6c2ad
Author: Younes ENNAJI <younes.ennaji.pro@gmail.com>
Date: Thu Oct 30 01:26:03 2025 +0100
Fix array typehint for $variants in HtmlExtension
commit f663cc345b863573a53da4cd029ea970426f4758
Author: Fabien Potencier <fabien@potencier.org>
Date: Wed Oct 29 11:57:52 2025 -0400
Bump version
commit 790eee7ae0c7d9d844bd42c2476d2e4e9b69412c
Author: Vincent Langlet <vincentlanglet@hotmail.fr>
Date: Sat Oct 18 12:28:49 2025 +0200
Add throw tag to parse methods