Sha256: 3dbebed0993ed352008f192c46574199dca30fdfb1f7e72158332a602a6436a0

Contents?: true

Size: 1.59 KB

Versions: 72

Compression:

Stored size: 1.59 KB

Contents

= New Features

* An exception_page plugin has been added for displaying debugging
  information for a given exception.  It is based on
  Rack::ShowExceptions, with the following differences:

  * Not a middleware, so it doesn't handle exceptions itself, and
    has no effect on the callstack unless the exception_page
    method is called.
  * Supports external javascript and stylesheets, allowing context
    toggling to work in applications that use a content security
    policy to restrict inline javascript and stylesheets (:assets,
    :css_file, and :js_file options).
  * Has fewer dependencies (does not require ostruct and erb).
  * Sets the Content-Type for the response, and returns the body
    string, but does not modify other headers or the response status.
  * Supports a configurable amount of context lines in backtraces
    (:context option).
  * Supports optional JSON formatted output, if used with the json
    plugin (:json option).

  Because this plugin just adds a method you can call, you can
  selectively choose when to display a debugging page and when not
  to, as well as customize the debugging parameters on a per-call
  basis (such as returning JSON formatted debugging information
  for JSON requests, and HTML formatted debugging information for
  normal requests).

= Other Improvements

* The common_logger plugin now correctly handles cases where an
  exception is being raised and there is no rack response to
  introspect.

= Backwards Compatibility

* Stream#write in the streaming plugin now returns the number of
  bytes written instead of self, so it works with IO.copy_stream.

Version data entries

72 entries across 72 versions & 1 rubygems

Version Path
roda-3.83.0 doc/release_notes/3.13.0.txt
roda-3.82.0 doc/release_notes/3.13.0.txt
roda-3.81.0 doc/release_notes/3.13.0.txt
roda-3.79.0 doc/release_notes/3.13.0.txt
roda-3.78.0 doc/release_notes/3.13.0.txt
roda-3.77.0 doc/release_notes/3.13.0.txt
roda-3.76.0 doc/release_notes/3.13.0.txt
roda-3.75.0 doc/release_notes/3.13.0.txt
roda-3.74.0 doc/release_notes/3.13.0.txt
roda-3.73.0 doc/release_notes/3.13.0.txt
roda-3.72.0 doc/release_notes/3.13.0.txt
roda-3.71.0 doc/release_notes/3.13.0.txt
roda-3.70.0 doc/release_notes/3.13.0.txt
roda-3.69.0 doc/release_notes/3.13.0.txt
roda-3.68.0 doc/release_notes/3.13.0.txt
roda-3.67.0 doc/release_notes/3.13.0.txt
roda-3.66.0 doc/release_notes/3.13.0.txt
roda-3.65.0 doc/release_notes/3.13.0.txt
roda-3.64.0 doc/release_notes/3.13.0.txt
roda-3.63.0 doc/release_notes/3.13.0.txt