1.1.0
Added
- A Vapor
HTMLKitProvider
and an extension onRequest
for simpler usage. - All the nodes are dynamic by default, and therefore removed
dynamic(...)
. - Added the possibility to reference context variables outside the specified context with
unsafeVariable(...)
. Example to retrieve a value in a superview. - Changed
forEachInContext(render: ...)
toforEach(render: ...)
. - More flexible conditions when using
&&
and||
. - Made
TemplateBuilder
internal as the developer should useStaticView
orContextualTemplate
. render(...)
now returns aHTTPResponse
and the old render function is therefore calledrenderRaw(...)
.