Roda v1.3.0 Release Notes

Release Date: 2015-01-13 // about 7 years ago
    • Make static_path_info plugin restore original SCRIPT_NAME/PATH_INFO before returning from r.run (jeremyevans)

    • โž• Add RodaMajorVersion, RodaMinorVersion, and RodaPatchVersion (jeremyevans)

    • Add delete_empty_headers plugin for deleting response headers that are empty before return response (jeremyevans)

    • ๐Ÿ‘‰ Make freeze class method freeze internal data structures to avoid thread safety issues (jeremyevans)

    • Deprecate mutating plugin option hashes for chunked, default_headers, error_email, json, and render plugins (jeremyevans)

    • โš™ Fix subclassing app and using r.multi_run in subclass in multi_run plugin (jeremyevans)

    • ๐Ÿ‘Œ Support :classes option in json plugin to set the classes to use (jeremyevans)

    • ๐Ÿ‘Œ Improve performance in default_headers plugin by not duping the headers (jeremyevans)

    • ๐Ÿ”Œ Use :template_opts instead of :opts for providing options to the template in the render plugin (jeremyevans)

    • Support :match_header_yield Roda option in the header_matchers plugin, causing the :header match to yield the value (jeremyevans)

    • ๐Ÿšš Move :param and :param! hash matchers to the param_matchers plugin (jeremyevans)

    • โž• Add path_matchers plugin, for :extension, :prefix, and :suffix hash matchers (jeremyevans)

    • Move Roda.hash_matcher to hash_matcher plugin (jeremyevans)

    • Move Roda.request_module and .response_module to module_include plugin (jeremyevans)

    • Move RodaResponse#set_cookie and #delete_cookie to cookies plugin (jeremyevans)

    • Deprecate RodaRequest#full_path_info, use #path instead (jeremyevans)

    • โž• Add class_delegate to the delegate plugin (jeremyevans)

    • ๐Ÿ”Œ Make not_found plugin clear headers for response if it is not found (jeremyevans)

    • ๐Ÿ”Œ Make error_handler plugin use a new response instead of reusing existing response (jeremyevans)

    • ๐Ÿ‘‰ Make RodaResponse a subclass of Object instead of Rack::Response (jeremyevans)