Sha256: 92ecd4d8e4dae3e70241aeb839c7c387c606bf9bb01487ce7dc68dbc49357e39

Contents?: true

Size: 865 Bytes

Versions: 50

Compression:

Stored size: 865 Bytes

Contents

= New Features

* The json plugin now accepts a :content_type option, which will
  override the default Content-Type response header used for
  responses.

* Stream#write has been added to the streaming plugin, allowing
  the following type of code to work:

    stream do |out|
      IO.copy_stream(StringIO.new(content), out)
    end

= Other Improvements

* Roda now works with ruby 2.3's --enable-frozen-string-literal,
  and all of the library files are set to use frozen string
  literals by default.

  Most of roda's plugin-specific dependencies were found to have
  issues with frozen string literals, and while pull requests have
  been sent to fix the issues, it's unlikely that you would
  currently be able to use --enable-frozen-string-literal in
  production.

* The json plugin will no longer override a Content-Type header if
  one is already set.

Version data entries

50 entries across 50 versions & 1 rubygems

Version Path
roda-3.28.0 doc/release_notes/2.10.0.txt
roda-3.27.0 doc/release_notes/2.10.0.txt
roda-3.26.0 doc/release_notes/2.10.0.txt
roda-3.25.0 doc/release_notes/2.10.0.txt
roda-3.24.0 doc/release_notes/2.10.0.txt
roda-3.23.0 doc/release_notes/2.10.0.txt
roda-3.22.0 doc/release_notes/2.10.0.txt
roda-3.21.0 doc/release_notes/2.10.0.txt
roda-3.20.0 doc/release_notes/2.10.0.txt
roda-3.19.0 doc/release_notes/2.10.0.txt
roda-3.18.0 doc/release_notes/2.10.0.txt
roda-3.17.0 doc/release_notes/2.10.0.txt
roda-3.16.0 doc/release_notes/2.10.0.txt
roda-3.15.0 doc/release_notes/2.10.0.txt
roda-3.14.1 doc/release_notes/2.10.0.txt
roda-3.14.0 doc/release_notes/2.10.0.txt
roda-3.13.0 doc/release_notes/2.10.0.txt
roda-3.12.0 doc/release_notes/2.10.0.txt
roda-3.11.0 doc/release_notes/2.10.0.txt
roda-3.10.0 doc/release_notes/2.10.0.txt