Framework

Repository Author Commit message Committed SHA  
 
latte by dg added ExpressionAttributeNode for <tag name="{$foo}"> or <tag name={$foo}>

(always uses double quotes)

latte by dg improved tests
latte by dg escaping methods moved from Filters to HtmlHelpers/XmlHelpers/Helpers
latte by dg Engine::getCacheKey() -> generateConfigurationSignature() (BC break)
latte by dg Engine::getCacheFile() moved to Cache (BC break)

BC break if the user overwrites Engine::getCacheFile()

latte by dg Loader::load() returns string used as /* source: ... */ comment in template
latte by dg Loader::getContent() replaced with Loader::load() and class LoadedContent (BC break)
latte by dg PositionAwareException::setSource() accepts only SourceReference (BC break)
latte by dg comment /* line 123 */ changed to /* line 123:5 */
latte by dg added SourceReference::fromCallStack(), used by runtime SecurityViolationException
latte by dg refactoring, added SourceReference::fromCompiled()
latte by dg exceptions: constructor & setSource() accepts SourceReference
latte by dg exceptions: added $e->getSource() of type SourceReference as replacement for $e->source* and $e->position
latte by dg ElementNode::$attributes is not nullable
latte by dg ElementNode refactoring, added TagNode (BC break)
latte by dg TemplateGenerator refactoring
latte by dg Revert "added constant Template::Source"

This reverts commit 49fbc05d414de8759ae23a6be85f3326b9bfa774.

latte by dg using variable $__* is deprecated (BC break)
latte by dg using variable $this is deprecated (BC break)
latte by dg tests: removed usage of $this in templates
latte by dg Engine: addFilterLoader() is deprecated (BC break)
latte by dg undefined unsafe operator ??-> is deprecated (BC break)
latte by dg constants without slash are deprecated (BC break)
latte by dg Filter |escape is globally forbidden (because Latte always escapes)

To avoid problems with automatic and forced escaping

latte by dg ElementNode: removed $data, custom data moved to TemplateParserHtml
latte by dg Tag::$nAttributeNode -> $nAttribute (BC break)
latte by dg Tags::closestTag() finds only by class name (BC break)
latte by dg escaping is mandatory in HtmlComment (BC break)
latte by dg strictTypes is enabled by default (BC break)
latte by dg uses annotation #[Deprecated]
latte by dg silently deprecated stuff trigger notices
latte by dg removed deprecated Loader::isExpired()

Last synchronization: 2025-11-14 13:02:52