Skip to content

Commit

Permalink
Bump version to 3.70.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyevans committed Jul 11, 2023
1 parent 7237777 commit dde84e9
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
= master
= 3.70.0 (2023-07-12)

* Add plain_hash_response_headers plugin, using a plain hash for response headers on Rack 3 for much better performance (jeremyevans)

Expand Down
19 changes: 19 additions & 0 deletions doc/release_notes/3.70.0.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
= New Features

* A plain_hash_response_headers plugin has been added. On Rack 3,
this changes Roda to use a plain hash for response headers (as it
does on Rack 2), instead of using Rack::Headers (the default on
Rack 3). For a minimal app, using this plugin can almost double
the performance on Rack 3. Before using this plugin, you should
make sure that all response headers set explictly in your
application are already lower-case.

= Improvements

* Roda now natively uses lower-case for all response headers set
implicitly when using Rack 3. Previously, Roda used mixed-case
response headers and had Rack::Headers handle the conversion to
lower-case (Rack 3 requires lower-case response headers). Note
that Rack::Headers is still used for response headers by default
on Rack 3, as applications may not have converted to using
lower-case response headers.
2 changes: 1 addition & 1 deletion lib/roda/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class Roda
RodaMajorVersion = 3

# The minor version of Roda, updated for new feature releases of Roda.
RodaMinorVersion = 69
RodaMinorVersion = 70

# The patch version of Roda, updated only for bug fixes from the last
# feature release.
Expand Down

0 comments on commit dde84e9

Please sign in to comment.