Path to this page:
Subject: CVS commit: pkgsrc/www/ruby-rack-contrib
From: Takahiro Kambe
Date: 2018-03-21 13:19:33
Message id: 20180321121933.990EFFB40@cvs.NetBSD.org
Log Message:
www/ruby-rack-contrib: update to 2.0.1
2.0.1 2017/12/08
Multibytes bytes again!
This is a bugfix release, which fixes a Rack 2 incompatibility in
Rack::NotFound, where the wrong value for the Content-Length response
header was calculated (#143).
Thanks to Kazuhiro NISHIYAMA (@znz) for the bug report, and Joe Francis
(@lostapathy) for the fix.
2.0.0 2017/11/30
2f3840e
Rack 2.x Support Is HERE!
Thanks to the hard work of Skye Shaw, amongst others, this release of
rack-contrib supports Rack 2.x. Unfortunately, it only supports Rack
2.x; if your application is using Rack 1.x, you should continue to use
rack-contrib 1.x.
The non-backwards-compatible, user-visible changes are:
* Drop support for Ruby versions less than 2.2. Rack 2 does not support these
older releases, so there's no benefit in our doing so.
* Rack::NestedParams: switch to using Rack::Utils.parse_nested_query to parse
request bodies, which handles repeated element keys differently. See #92.
* Rack::Sendfile: removed completely. Rack core provides a middleware of the
same name that is much better, and more actively maintained, and you should
use that instead.
* Rack::AcceptFormat: removed completely, because it is terribad.
Files: