Open packrat386 opened 8 years ago
Is it backward compatible?
With old versions of Rack? Probably not, but given that this change was made to Rack over a year ago I think it's fair to say that in versions of prax moving forward we're only going to support Rack >= 2.0.0
The Ruby version of Prax is maintenance only (use the Crystal version). I'd like to avoid introducing a change for Rack 2+ that breaks compatibility with older versions of Rack.
We can't use Rack::VERSION
but maybe use Rack::RELEASE
to support both versions?
@ysbaddaden how does the most recent version look?
Changed intoduced to rack in the commit below broke the way that prax uses Rack::File. This change uses the new API.
https://github.com/rack/rack/commit/f244d4 https://github.com/rack/rack/commit/ed0d8c