Roda v2.2.0 Release Notes

Release Date: 2015-04-13 // almost 7 years ago
    • ➕ Add :escaper render plugin option to support custom escaping of <%= %> tags when :escape is used (jeremyevans)

    • Add :escape_safe_classes render plugin option, to not escape certain string subclasses when :escape is used (jeremyevans)

    • 🔌 Split partials method from padrino_render plugin into partials plugin (kematzy) (#19)

    • ➕ Add shared_vars plugin, for sharing variables between multiple Roda apps (jeremyevans)

    • ➕ Add delay method to chunked plugin, for delaying a block execution until right before content template rendering (jeremyevans)

    • 0️⃣ Have default Content-Type header when using the default_headers plugin (jeremyevans)

    • ➕ Add :by_name option to the path plugin, for registering classes by name, useful when reloading code (jeremyevans)

    • ➕ Add Roda.path_block to get the block related to the given class used for Road#path (jeremyevans)

    • 👉 Make Roda#path work correctly in subclasses (jeremyevans)