You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sandbox: the callable on the right side of the pipe operator |> goes through the policy, so on PHP 8.5+ a sandboxed template can no longer call any function or method (GHSA-9hh3-mgwh-gpj4, reported by NitroHex Security)
Sandbox: superglobals such as $_SERVER, $_ENV, $_COOKIE or $_SESSION are forbidden, so a sandboxed template can no longer read secrets or write session data; a template using them now reports a security violation (GHSA-7395-733q-q47j, reported by NitroHex Security)
Trusted outputs (an Html object, |noescape) printed side by side as {$a}{$b} inside <textarea> or <title> can no longer put together a </textarea> that ends the element
🐛 Bug Fixes
Templates compiled by an older Latte are recompiled after an upgrade also with autoRefresh off, so fixes of the compiler, such as those above, take effect without clearing the cache
An unpacked argument after a named one, as in {include 'foo.latte', name: $default, ...$args}, no longer reports the deprecation of positional arguments after named ones