Commit Graph

6707 Commits

Author SHA1 Message Date
Fabien Potencier c6d6ef22ec minor #4309 Doc tweaks (fabpot)
This PR was squashed before being merged into the 3.x branch.

Discussion
----------

Doc tweaks

Commits
-------

08f28fd06c Remove most usage of foo/bar/baz in the docs
b1c35cd1fc Tweak docs
2024-09-12 21:42:19 +02:00
Fabien Potencier 08f28fd06c Remove most usage of foo/bar/baz in the docs 2024-09-12 21:40:08 +02:00
Fabien Potencier b1c35cd1fc Tweak docs 2024-09-12 19:19:56 +02:00
Fabien Potencier 6fa404ffdf minor #4306 Add StringCastUnary (fabpot)
This PR was merged into the 3.x branch.

Discussion
----------

Add StringCastUnary

Commits
-------

bfafa5b613 Add StringCastUnary
2024-09-12 07:44:29 +02:00
Fabien Potencier bfafa5b613 Add StringCastUnary 2024-09-11 22:23:33 +02:00
Fabien Potencier b2e66717a2 feature #4300 Add support for argument unpacking (fabpot)
This PR was merged into the 3.x branch.

Discussion
----------

Add support for argument unpacking

Closes #3291

Commits
-------

112de8dcfa Add support for argument unpacking
2024-09-11 16:14:43 +02:00
Fabien Potencier f2baecaa7c minor #4303 Fix typo (rylixs)
This PR was merged into the 3.x branch.

Discussion
----------

Fix typo

Commits
-------

c7d9a50727 Fix typo
2024-09-11 14:47:33 +02:00
Rylix c7d9a50727 Fix typo 2024-09-11 14:41:00 +02:00
Fabien Potencier 112de8dcfa Add support for argument unpacking 2024-09-11 11:55:09 +02:00
Fabien Potencier 1a20e96174 Fix CS 2024-09-11 10:45:54 +02:00
Fabien Potencier 053d6429d2 feature #4302 Add JSON support for the file extension escaping strategy (fabpot)
This PR was merged into the 3.x branch.

Discussion
----------

Add JSON support for the file extension escaping strategy

Closes #3657

Commits
-------

c616783674 Add JSON support for the file extension escaping strategy
2024-09-11 10:43:59 +02:00
Fabien Potencier c616783674 Add JSON support for the file extension escaping strategy 2024-09-11 10:01:22 +02:00
Fabien Potencier 8b421f58aa feature #4301 Stringify dynamic mapping keys (fabpot)
This PR was merged into the 3.x branch.

Discussion
----------

Stringify dynamic mapping keys

Closes #3696

Commits
-------

ccfe6ad26e Stringify dynamic mapping keys
2024-09-11 09:51:54 +02:00
Fabien Potencier a7e924f36e minor #4298 Replace all empty() calls (fabpot)
This PR was merged into the 3.x branch.

Discussion
----------

Replace all empty() calls

Commits
-------

9e9f8110bd Replace most empty() calls
2024-09-11 09:22:35 +02:00
Fabien Potencier 366e038359 minor #4299 Simplify parser calls when possible (fabpot)
This PR was merged into the 3.x branch.

Discussion
----------

Simplify parser calls when possible

Commits
-------

3f07d2c034 Simplify parser calls when possible
2024-09-11 09:19:24 +02:00
Fabien Potencier ccfe6ad26e Stringify dynamic mapping keys 2024-09-11 08:58:53 +02:00
Fabien Potencier 9e9f8110bd Replace most empty() calls 2024-09-11 07:44:00 +02:00
Fabien Potencier 3f07d2c034 Simplify parser calls when possible 2024-09-10 23:42:58 +02:00
Fabien Potencier d571e8bc92 feature #4293 Deprecate the sandbox tag (fabpot)
This PR was merged into the 3.x branch.

Discussion
----------

Deprecate the sandbox tag

Closes #3168

Commits
-------

9369a48c53 Deprecate the sandbox tag
2024-09-10 22:42:18 +02:00
Fabien Potencier 9369a48c53 Deprecate the sandbox tag 2024-09-10 22:41:00 +02:00
Fabien Potencier 34734d338f minor #4296 Clarify docs on registerUndefinedTokenParserCallback() (fabpot)
This PR was merged into the 3.x branch.

Discussion
----------

Clarify docs on registerUndefinedTokenParserCallback()

Closes #3762

Commits
-------

d1b05519af Clarify docs on registerUndefinedTokenParserCallback()
2024-09-10 22:39:00 +02:00
Fabien Potencier 7ec2a4f112 minor #4295 Simplify code (fabpot)
This PR was merged into the 3.x branch.

Discussion
----------

Simplify code

Commits
-------

a240eff47e Simplify code
2024-09-10 17:16:07 +02:00
Fabien Potencier 194cced47b Removed @internal on Environment::getGlobals() 2024-09-10 17:11:21 +02:00
Fabien Potencier d1b05519af Clarify docs on registerUndefinedTokenParserCallback() 2024-09-10 08:34:26 +02:00
Fabien Potencier a240eff47e Simplify code 2024-09-10 08:27:46 +02:00
Fabien Potencier a3496d148b feature #4291 Improve the way one can deprecate a Twig callable (fabpot)
This PR was merged into the 3.x branch.

Discussion
----------

Improve the way one can deprecate a Twig callable

Commits
-------

34ae0311d9 Improve the way one can deprecate a Twig callable
2024-09-09 21:15:33 +02:00
Fabien Potencier 34ae0311d9 Improve the way one can deprecate a Twig callable 2024-09-09 21:14:40 +02:00
Fabien Potencier 247ee93df9 Bump version 2024-09-09 21:04:19 +02:00
Fabien Potencier 126b2c9781 Prepare the 3.14.0 release v3.14.0 2024-09-09 19:55:12 +02:00
Fabien Potencier 11f68e2aeb Fix a security issue when an included sandboxed template has been loaded before without the sandbox context 2024-09-09 19:04:10 +02:00
Fabien Potencier 540b54e0d5 minor #4290 fix the version mergeGlobals() is deprecated since (xabbuh)
This PR was merged into the 3.x branch.

Discussion
----------

fix the version mergeGlobals() is deprecated since

Commits
-------

f72c93db fix the version mergeGlobals() is deprecated since
2024-09-09 11:41:27 +02:00
Fabien Potencier 795720230c Fix test 2024-09-09 11:10:45 +02:00
Christian Flothmann f72c93dbd2 fix the version mergeGlobals() is deprecated since 2024-09-09 10:58:08 +02:00
Fabien Potencier 064e079654 Tweak code 2024-09-09 10:51:41 +02:00
Fabien Potencier 995e7c2270 Fix CS 2024-09-09 08:49:09 +02:00
Fabien Potencier 6420791d40 minor #4289 Remove unused private methods (fabpot)
This PR was merged into the 3.x branch.

Discussion
----------

Remove unused private methods

Commits
-------

28dc912c Remove unused private methods
2024-09-09 08:41:55 +02:00
Fabien Potencier 45e167a514 Add more tests 2024-09-09 08:41:21 +02:00
Fabien Potencier 28dc912c0e Remove unused private methods 2024-09-09 08:24:03 +02:00
Fabien Potencier bf6b7ae53d Bump version 2024-09-08 17:26:18 +02:00
Fabien Potencier 731bbd2458 feature #4286 Add the possibility to reset globals (fabpot)
This PR was merged into the 3.x branch.

Discussion
----------

Add the possibility to reset globals

Closes #4007

Commits
-------

ef58791f Add the possibility to reset globals
2024-09-07 17:15:56 +02:00
Fabien Potencier ef58791fa4 Add the possibility to reset globals 2024-09-07 16:47:00 +02:00
Fabien Potencier 6a76881e05 minor #4284 Remove obsolete code (fabpot)
This PR was merged into the 3.x branch.

Discussion
----------

Remove obsolete code

Commits
-------

57f6119d Remove obsolete code
2024-09-07 16:45:14 +02:00
Fabien Potencier 7cd4352380 feature #4283 Deprecate Environment::mergeGlobals() (fabpot)
This PR was merged into the 3.x branch.

Discussion
----------

Deprecate Environment::mergeGlobals()

Commits
-------

b86575cf Deprecate Environment::mergeGlobals()
2024-09-07 16:44:43 +02:00
Fabien Potencier 57f6119d31 Remove obsolete code 2024-09-07 14:36:55 +02:00
Fabien Potencier b86575cfd6 Deprecate Environment::mergeGlobals() 2024-09-07 14:05:02 +02:00
Fabien Potencier e1b64b1937 Bump version 2024-09-07 12:53:18 +02:00
Fabien Potencier afc0eb63dc Prepare the 3.13.0 release v3.13.0 2024-09-07 10:01:12 +02:00
Fabien Potencier f5300784df bug #4281 Fix wrong format of Environment::VERSION_ID constant (emodric)
This PR was squashed before being merged into the 3.x branch.

Discussion
----------

Fix wrong format of `Environment::VERSION_ID` constant

It seems that format of `Environment::VERSION_ID` constant was (erroneously?) changed with Twig 3.10.0.

Commits
-------

a219d9e7 Fix wrong format of `Environment::VERSION_ID` constant
2024-09-06 13:47:41 +02:00
Edi Modrić a219d9e77f Fix wrong format of Environment::VERSION_ID constant 2024-09-06 13:47:39 +02:00
Fabien Potencier 978f749b43 Fix minor things 2024-09-06 12:58:38 +02:00