Framework

Repository Author Commit message Committed SHA  
 
latte by dg Loader::load() detects content-type WIP
latte by dg PrintNode::applyFilters() WIP
latte by dg Implemented proper handling of HTML attributes based on their types WIP
latte by dg URL checking is done using compiler pass
latte by dg n:attr: added attribute name validation
latte by dg HtmlHelpers::formatAttribute() added support for ARIA attributes
latte by dg HtmlHelpers::formatAttribute() added supports for data-attributes including JSON serialization (TODO: custom handler)
latte by dg nattr
latte by dg HtmlHelpers::formatAttribute() added supports for on* attributes
latte by dg HtmlHelpers::formatAttribute() removed support for array values except for list attributes
latte by dg HtmlHelpers::formatAttribute() removed support for bool values outside boolean attributes (BC break)
latte by dg HtmlHelpers/XmlHelpers::formatAttribute() added error handling
latte by dg HtmlHelpers/XmlHelpers::formatAttribute() refactoring

- supports HtmlStringable

latte by dg added tests
latte by dg escaping methods moved from Filters to HtmlHelpers/XmlHelpers/Helpers
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::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 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 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

Last synchronization: 2025-09-08 05:01:31