mirror of
https://github.com/twigphp/Twig.git
synced 2026-11-03 09:34:54 +00:00
11 lines
552 B
Plaintext
11 lines
552 B
Plaintext
# 4.0.0 (2024-XX-XX)
|
|
|
|
* Add return types to all ExtensionInterface methods (`getFunctions()`, `getFilters()`, etc.)
|
|
* Add support for recursive loops (via the `loop()` function)
|
|
* Add `loop.changed`, `loop.previous`, `loop.next`, and `loop.cycle` variables
|
|
* Make `loop.last` always available (even for non-countable iterators)
|
|
* Change the compilation of `for` loops to throw an exception when a `loop.*` variable is not defined
|
|
* Make `Environment::getGlobals()` private
|
|
* Drop support for PHP < 8.2
|
|
* Escape characters are no longer ignored
|