Skip to content

v0.2.0

Choose a tag to compare

@NICE-DEV226 NICE-DEV226 released this 11 Nov 09:17
· 2 commits to main since this release

Highlights

  • View context bridging — helpers from the surrounding app (Sinatra session, params, custom helpers) are callable inside DSL blocks
  • template blocks — components without a render method
  • String block returns — div { task.title } appends escaped content
  • data:/aria: flattening — data: { toggle: "x" } → data-toggle="x"
  • URL sanitizing — javascript:/vbscript:/non-image data: rewritten to # in URL attributes (Rendry.sanitize_urls = false to opt out)
  • Thread safety — fragment/cache state isolated per thread; Rendry::Cache is mutex-guarded
  • Performance — Set lookups for void/boolean attributes

Install: gem install rendry — also on rubygems.org/gems/rendry