Fabien Potencier
3ffcf4b7d8
Prepare the 3.5.0 release
2022-12-27 13:28:18 +01:00
Fabien Potencier
0c8f5b2ea4
Bump version to 3.5
2022-12-27 13:23:36 +01:00
Vincent Langlet
e98a652a6c
Improve phpdoc of ExtensionInterface/Environment/Expressionparser arrays
2022-11-18 10:55:01 +01:00
Fabien Potencier
7a2e23ce17
Bump version
2022-09-28 10:43:25 +02:00
Fabien Potencier
c38fd6b0b7
Prepare the 3.4.3 release
2022-09-28 10:42:51 +02:00
Fabien Potencier
8b0d9e729f
Bump version
2022-08-12 08:48:31 +02:00
Fabien Potencier
e07cdd3d43
Prepare the 3.4.2 release
2022-08-12 08:47:24 +02:00
Fabien Potencier
a1f8d3f91a
Bump version
2022-05-17 07:49:32 +02:00
Fabien Potencier
e939eae923
Prepare the 3.4.1 release
2022-05-17 07:48:52 +02:00
Fabien Potencier
9612dd4f13
Bump version
2022-05-15 08:26:19 +02:00
Fabien Potencier
ed19f4bf9d
Prepare the 3.4.0 release
2022-05-15 08:25:28 +02:00
Fabien Potencier
321c5cbf20
Bump version
2022-04-06 08:48:37 +02:00
Fabien Potencier
8442df056c
Prepare the 2.14.13 release
2022-04-06 08:47:41 +02:00
Fabien Potencier
9fb8b8dc68
Merge branch '2.x' into 3.x
...
* 2.x:
Enable bytecode invalidation with auto_reload
2022-04-05 18:27:22 +02:00
Jérôme Tamarelle
ef8ae9cb61
Enable bytecode invalidation with auto_reload
2022-04-05 18:17:00 +02:00
Fabien Potencier
9459614141
Bump version
2022-03-25 10:38:42 +01:00
Fabien Potencier
6ff9b0e440
Prepare the 3.3.9 release
2022-03-25 10:37:52 +01:00
Fabien Potencier
28bec2f1ff
Bump version
2022-03-25 10:35:55 +01:00
Fabien Potencier
19c898bda3
Prepare the 2.14.12 release
2022-03-25 10:34:52 +01:00
Fabien Potencier
e04a204b6f
Bump version
2022-02-04 08:00:58 +01:00
Fabien Potencier
972d8604a9
Prepare the 3.3.8 release
2022-02-04 07:59:48 +01:00
Fabien Potencier
fca80b536d
Bump version
2022-02-04 07:58:43 +01:00
Fabien Potencier
66baa66f29
Prepare the 2.14.11 release
2022-02-04 07:57:25 +01:00
Fabien Potencier
09c7f7dd9c
Bump version
2022-01-03 22:16:33 +01:00
Fabien Potencier
8f168c6ffa
Prepare the 3.3.7 release
2022-01-03 22:15:37 +01:00
Fabien Potencier
4c225d504f
Bump version
2022-01-03 22:14:18 +01:00
Fabien Potencier
95fb194cd4
Prepare the 2.14.10 release
2022-01-03 22:13:26 +01:00
Fabien Potencier
3cb664cc31
Bump version
2022-01-03 15:28:11 +01:00
Fabien Potencier
bb07a77620
Prepare the release
2022-01-03 15:27:01 +01:00
Fabien Potencier
e5145f5022
Bump version
2022-01-03 12:38:04 +01:00
Fabien Potencier
a0f614a192
Prepare the 3.3.5 release
2022-01-03 12:36:47 +01:00
Fabien Potencier
e155d8dcfc
Bump version
2022-01-03 12:00:21 +01:00
Fabien Potencier
d28b8d7390
Prepare the 2.14.9 release
2022-01-03 11:46:18 +01:00
Fabien Potencier
ec1e739ef9
minor #3541 Implement template annotation for getExtension (mitelg)
...
This PR was merged into the 3.x branch.
Discussion
----------
Implement template annotation for `getExtension`
Hello there 🙂 👋
my first PR here 😉
This change would help to improve static analysis with tools like PHPStan and Psalm.
Commits
-------
110871d1 Implement template annotation for `getExtension` and `getRuntime`
2022-01-02 16:29:57 +01:00
Fabien Potencier
dd6c50835d
Merge branch '2.x' into 3.x
...
* 2.x:
Remove unneeded coments
Optimize Environment::resolveTemplate() to be much faster when template overrides do not exist
2021-12-17 08:49:53 -08:00
Fabien Potencier
3284859a1b
Remove unneeded coments
2021-12-17 08:44:00 -08:00
Fabien Potencier
4d46ed3ac3
minor #3596 Optimize Environment::resolveTemplate() to be much faster when template overrides do not exist (mahagr)
...
This PR was squashed before being merged into the 2.x branch.
Discussion
----------
Optimize Environment::resolveTemplate() to be much faster when template overrides do not exist
Fixes partially #3595 .
You can test this by adding an object into the context which implements `__debugInfo()` with a counter in it. Make a template with
```twig
{% include ['missing_template1', 'missing_template2', 'missing_template3', 'missing_template4', 'missing_template5'] %}
```
And check how many times an exception was thrown by reading the counter. The issue gets exponentially worse if you have nested templates with overrides in each of them.
Commits
-------
695423e1 Optimize Environment::resolveTemplate() to be much faster when template overrides do not exist
2021-12-17 08:43:16 -08:00
Matias Griese
695423e14e
Optimize Environment::resolveTemplate() to be much faster when template overrides do not exist
2021-12-17 08:43:05 -08:00
Fabien Potencier
d97690ff37
Merge branch '2.x' into 3.x
...
* 2.x:
Use faster hash algorithm (xxh128) on PHP 8.1
2021-12-16 11:54:25 -08:00
Jérôme TAMARELLE
4fcc6b1c47
Use faster hash algorithm (xxh128) on PHP 8.1
2021-12-15 06:29:16 +01:00
Fabien Potencier
5785185018
Bump version
2021-11-25 14:49:08 +01:00
Fabien Potencier
65cb6f0b95
Prepare the 3.3.4 release
2021-11-25 14:46:55 +01:00
Fabien Potencier
527c9e05c9
Bump version
2021-11-25 14:44:38 +01:00
Fabien Potencier
06b450a232
Prepare the 2.14.8 release
2021-11-25 14:38:06 +01:00
Fabien Potencier
96d8b0ecd4
Bump version
2021-09-17 10:45:16 +02:00
Fabien Potencier
a27fa056df
Prepare the 3.3.3 release
2021-09-17 10:44:23 +02:00
Fabien Potencier
78ac30114f
Bump version
2021-09-17 10:41:05 +02:00
Fabien Potencier
8e202327ee
Prepare the 2.14.7 release
2021-09-17 10:39:54 +02:00
Michael Telgmann
110871d1de
Implement template annotation for getExtension and getRuntime
...
Improves static analysis for caller of this methods
2021-06-29 14:54:27 +02:00
Fabien Potencier
00a988fb04
Bump version
2021-05-16 14:14:57 +02:00