Sha256: c4644cc803949cad76ac4db59f10005b2024fb8bbb979dbb0f4de0bb997d1c0b

Contents?: true

Size: 808 Bytes

Versions: 81

Compression:

Stored size: 808 Bytes

Contents

= New Features

* A middleware_stack plugin has been added for more detailed control
  over middleware, allowing for the removal of middleware and the
  insertion of middleware before existing middleware.  Example:

    plugin :middleware_stack

    # Remove csrf middleware
    middleware_stack.remove{|m, *args| m == Rack::Csrf}

    # Insert csrf middleware before logger middleware
    middleware_stack.before{|m, *args| m == Rack::CommonLogger}.
      use(Rack::Csrf, raise: true)

    # Insert csrf middleware after logger middleware
    middleware_stack.after{|m, *args| m == Rack::CommonLogger}.
      use(Rack::Csrf, raise: true)

= Other Improvements

* The head plugin now calls close on the response body if the body
  responds to close.  Previously an existing response body was
  just ignored.

Version data entries

81 entries across 81 versions & 1 rubygems

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