From 51ccbdc9831f41ba4c80a231864e42ef8d8f6910 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Wed, 3 May 2023 21:08:52 +0200 Subject: [PATCH 1/2] Bump version --- CHANGELOG | 4 ++++ src/Environment.php | 8 ++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index a48393ad05..43e6604b6c 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,7 @@ +# 2.15.6 (2023-XX-XX) + + * n/a + # 2.15.5 (2023-05-03) * Make the Lexer initialize itself lazily diff --git a/src/Environment.php b/src/Environment.php index 9cebf35d56..e6c27a4bc0 100644 --- a/src/Environment.php +++ b/src/Environment.php @@ -38,12 +38,12 @@ */ class Environment { - public const VERSION = '2.15.5'; - public const VERSION_ID = 21505; + public const VERSION = '2.15.6-DEV'; + public const VERSION_ID = 21506; public const MAJOR_VERSION = 2; public const MINOR_VERSION = 15; - public const RELEASE_VERSION = 5; - public const EXTRA_VERSION = ''; + public const RELEASE_VERSION = 6; + public const EXTRA_VERSION = 'DEV'; private $charset; private $loader; From ef9d785518cf5bb4363c622400afe5935fccff9a Mon Sep 17 00:00:00 2001 From: Matthias Pigulla Date: Fri, 9 Jun 2023 07:44:15 +0200 Subject: [PATCH 2/2] Mention where named arguments are supported --- doc/templates.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/templates.rst b/doc/templates.rst index 83f6b7d6c9..3b18e9db07 100644 --- a/doc/templates.rst +++ b/doc/templates.rst @@ -205,6 +205,8 @@ built-in functions. Named Arguments --------------- +Named arguments are supported in functions, filters and tests. + .. code-block:: twig {% for i in range(low=1, high=10, step=2) %}