Fabien Potencier
bfc3b7b19b
Bump version
2024-05-11 09:45:17 +02:00
Fabien Potencier
34422f9004
Prepare the 3.10.0 release
v3.10.0
2024-05-11 09:44:16 +02:00
Fabien Potencier
87adff0c14
Update CHANGELOG
2024-05-11 09:43:08 +02:00
Fabien Potencier
6950b2e1d8
Fix markup
2024-05-11 09:37:03 +02:00
Fabien Potencier
761aa56a6f
Revert "minor #4042 Auto-close PRs on subtree-splits (kbond)"
...
This reverts commit 12625c0c05 , reversing
changes made to ad934312cd .
2024-05-11 09:35:57 +02:00
Fabien Potencier
318f7b8bb6
Fix typo
2024-05-11 09:09:43 +02:00
Fabien Potencier
6da7a95fba
bug #4081 Fix blocks not available under some circumstancies (fabpot)
...
This PR was squashed before being merged into the 3.x branch.
Discussion
----------
Fix blocks not available under some circumstancies
Fix #4079
Commits
-------
55ae2149 Add more tests
d30b72c3 Fix blocks not available under some circumstancies
2024-05-11 09:03:44 +02:00
Fabien Potencier
55ae21493b
Add more tests
2024-05-11 08:59:04 +02:00
Fabien Potencier
d30b72c364
Fix blocks not available under some circumstancies
2024-05-11 08:44:27 +02:00
Fabien Potencier
799355dc82
Remove double ; in generated code
2024-05-08 11:17:29 +02:00
Fabien Potencier
00c43a9c38
Fix wrong @throws annotation
2024-05-04 19:05:47 +02:00
Fabien Potencier
78466e847b
feature #4074 Fix EscaperExtension constructor to not change from previous releases (will be the same in 4.x as well) (fabpot)
...
This PR was merged into the 3.x branch.
Discussion
----------
Fix EscaperExtension constructor to not change from previous releases (will be the same in 4.x as well)
Commits
-------
f2c9795b Fix EscaperExtension constructor to not change from previous releases (will be the same in 4.x as well)
2024-05-04 18:28:29 +02:00
Fabien Potencier
f2c9795b26
Fix EscaperExtension constructor to not change from previous releases (will be the same in 4.x as well)
2024-05-04 18:27:46 +02:00
Fabien Potencier
450d2fb77a
feature #4072 Move back default strategy to the extension (fabpot)
...
This PR was merged into the 3.x branch.
Discussion
----------
Move back default strategy to the extension
Commits
-------
22810841 Move back default strategy to the extension
2024-05-04 11:38:35 +02:00
Fabien Potencier
7ccf825dc1
minor #4071 Fix wrong tests (fabpot)
...
This PR was merged into the 3.x branch.
Discussion
----------
Fix wrong tests
Commits
-------
59542c3c Fix wrong tests
2024-05-04 11:37:53 +02:00
Fabien Potencier
22810841ba
Move back default strategy to the extension
2024-05-04 08:51:08 +02:00
Fabien Potencier
59542c3caf
Fix wrong tests
2024-05-04 08:32:54 +02:00
Fabien Potencier
68e4e5545f
minor #4068 fix class names (xabbuh)
...
This PR was merged into the 3.x branch.
Discussion
----------
fix class names
Commits
-------
bee4263c fix class names
2024-05-02 10:18:08 +02:00
Christian Flothmann
bee4263cd6
fix class names
2024-05-02 09:47:24 +02:00
Fabien Potencier
0d1a937f61
Fix CS
2024-05-01 18:23:14 +02:00
Fabien Potencier
b222be9974
Fix CS
2024-05-01 16:06:53 +02:00
Fabien Potencier
e5269cb308
feature #4066 Make some CoreExtension methods part of the public API (fabpot)
...
This PR was merged into the 3.x branch.
Discussion
----------
Make some CoreExtension methods part of the public API
Closes #4040
Commits
-------
0a275945 Make some CoreExtension methods part of the public API
2024-05-01 14:11:27 +02:00
Fabien Potencier
0a275945af
Make some CoreExtension methods part of the public API
2024-05-01 14:11:02 +02:00
Fabien Potencier
1e75ff9c73
minor #4044 Move some static extension methods to non-static (fabpot)
...
This PR was merged into the 3.x branch.
Discussion
----------
Move some static extension methods to non-static
A first step to resolve #4040
Commits
-------
283475b1 Move some static extension methods to non-static
2024-05-01 13:55:18 +02:00
Fabien Potencier
283475b102
Move some static extension methods to non-static
2024-05-01 13:48:35 +02:00
Fabien Potencier
71fafb62f0
feature #4064 Add needs_charset option for filters and functions (fabpot)
...
This PR was merged into the 3.x branch.
Discussion
----------
Add needs_charset option for filters and functions
Another step to make internal methods independent from the environment.
Commits
-------
c63f695e Add needs_charset option for filters and functions
2024-05-01 13:17:57 +02:00
Fabien Potencier
c63f695e8a
Add needs_charset option for filters and functions
2024-05-01 13:12:48 +02:00
Fabien Potencier
a19ec5b200
Fix method call
2024-05-01 11:02:32 +02:00
Fabien Potencier
f9b55280b0
minor #4063 Rename some internal methods (fabpot)
...
This PR was merged into the 3.x branch.
Discussion
----------
Rename some internal methods
Commits
-------
16acdf69 Rename some internal methods
2024-05-01 10:53:54 +02:00
Fabien Potencier
16acdf69fe
Rename some internal methods
2024-05-01 10:19:22 +02:00
Fabien Potencier
c2c2058c33
feature #4055 Extract the escaping logic to a runtime (fabpot)
...
This PR was squashed before being merged into the 3.x branch.
Discussion
----------
Extract the escaping logic to a runtime
Commits
-------
ead768a4 -
e4a78534 Add missing `@deprecated` tags
d728d1b8 Add more information about migrating away from twig_escape_filter()
70b2e3ca Fix compat with older versions of PHP
84bff064 Extract the escaping logic to a runtime
2024-05-01 09:13:27 +02:00
Fabien Potencier
ead768a495
-
2024-05-01 09:11:02 +02:00
Fabien Potencier
c133e2d962
bug #4062 Fix capturing output from extensions that still use echo (nicolas-grekas)
...
This PR was merged into the 3.x branch.
Discussion
----------
Fix capturing output from extensions that still use echo
Fix #4039
Commits
-------
8c43456a Fix capturing output from extensions that still use echo
2024-04-30 16:58:19 +02:00
Nicolas Grekas
8c43456ac6
Fix capturing output from extensions that still use echo
2024-04-30 16:48:10 +02:00
Fabien Potencier
82f8864e7b
Fix a @return type hint
2024-04-30 15:38:55 +02:00
Fabien Potencier
7518f0b15c
minor #4061 Fix a test (fabpot)
...
This PR was squashed before being merged into the 3.x branch.
Discussion
----------
Fix a test
Commits
-------
fa714ce6 Fix CS
c2fc437f Fix a test
2024-04-30 15:32:11 +02:00
Fabien Potencier
fa714ce6bd
Fix CS
2024-04-30 15:30:51 +02:00
Fabien Potencier
70551da3c3
minor #4060 Simplify sandbox code (fabpot)
...
This PR was merged into the 3.x branch.
Discussion
----------
Simplify sandbox code
Commits
-------
469d52d1 Simplify sandbox code
2024-04-30 15:27:30 +02:00
Fabien Potencier
c2fc437f6a
Fix a test
2024-04-30 15:23:35 +02:00
Fabien Potencier
e142e3bf78
Fix type
2024-04-30 13:43:26 +02:00
Fabien Potencier
469d52d1b8
Simplify sandbox code
2024-04-30 13:40:56 +02:00
Fabien Potencier
775a445e37
minor #4059 Get rid of weird code (fabpot)
...
This PR was merged into the 3.x branch.
Discussion
----------
Get rid of weird code
Commits
-------
83fe22ab Get rid of weird code
2024-04-30 13:10:17 +02:00
Fabien Potencier
83fe22ab15
Get rid of weird code
2024-04-30 12:37:10 +02:00
Fabien Potencier
68a826cf61
minor #3969 [html-extra] filter classes (kbond)
...
This PR was merged into the 3.x branch.
Discussion
----------
[html-extra] filter classes
A small formatting change to avoid double spaces:
```twig
class="{{ html_classes('a', false ? 'b', true ? 'c') }}"
{# before #}
class="a c"
{# after #}
class="a c"
```
Commits
-------
a517c14f [html-extra] filter classes
2024-04-29 21:43:39 +02:00
Kevin Bond
a517c14f19
[html-extra] filter classes
2024-04-29 21:42:05 +02:00
Fabien Potencier
e4a78534ff
Add missing @deprecated tags
2024-04-29 14:25:26 +02:00
Fabien Potencier
d728d1b8a6
Add more information about migrating away from twig_escape_filter()
2024-04-29 08:30:49 +02:00
Fabien Potencier
70b2e3ca5d
Fix compat with older versions of PHP
2024-04-28 21:26:07 +02:00
Fabien Potencier
84bff0643c
Extract the escaping logic to a runtime
2024-04-28 21:26:07 +02:00
Fabien Potencier
1ee72a838f
minor #4054 Fix some inconsistencies (fabpot)
...
This PR was merged into the 3.x branch.
Discussion
----------
Fix some inconsistencies
Commits
-------
5148d105 Fix some inconsistencies
2024-04-28 13:16:42 +02:00