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.62.0 doc/release_notes/3.13.0.txt
roda-3.61.0 doc/release_notes/3.13.0.txt
roda-3.60.0 doc/release_notes/3.13.0.txt
roda-3.59.0 doc/release_notes/3.13.0.txt
roda-3.58.0 doc/release_notes/3.13.0.txt
roda-3.57.0 doc/release_notes/3.13.0.txt
roda-3.56.0 doc/release_notes/3.13.0.txt
roda-3.55.0 doc/release_notes/3.13.0.txt
roda-3.54.0 doc/release_notes/3.13.0.txt
roda-3.53.0 doc/release_notes/3.13.0.txt
roda-3.52.0 doc/release_notes/3.13.0.txt
roda-3.51.0 doc/release_notes/3.13.0.txt
roda-3.50.0 doc/release_notes/3.13.0.txt
roda-3.49.0 doc/release_notes/3.13.0.txt
roda-3.48.0 doc/release_notes/3.13.0.txt
roda-3.47.0 doc/release_notes/3.13.0.txt
roda-3.46.0 doc/release_notes/3.13.0.txt
roda-3.45.0 doc/release_notes/3.13.0.txt
roda-3.44.0 doc/release_notes/3.13.0.txt
roda-3.43.1 doc/release_notes/3.13.0.txt