New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support rack
3
#1797
Comments
Just found out that Rainbows needs its Rack dependency to not be greater than 3.0 https://rubygems.org/gems/rainbows/versions/5.2.1 What should we do about it? |
Maybe Sinatra 3 can't support Rainbows? I haven't really looked at what kind of integration we have |
I'm thinking we probably won't get Rack 3 support until Sinatra 4. I wonder if Rainbows will get an update to support Rack 3 once it is released? |
Rack < 3.0 already has known vulnerabilities, I hope this can be expedited. |
Feel free to do the work if you want it :) |
For reference, the vulnerability referenced above was mentioned in #1770 |
Pardon me please but this post is a summary of the current status. The gem for sinatra itself has a dependency on rack The mention from DannyBen is a change being worked on in a fork to replace the rack dependency in sinatra to a dependency on rack-contrib which has a rack dependency So the latest sinatra version still required rack less than |
Here are builds showing what tests fails with Rack 3: https://github.com/dentarg/sinatra/actions/runs/3771127371 |
Re: rainbows, when Rack 3 is used, bundler will try to install https://rubygems.org/gems/rainbows/versions/0.94.0 as that is the latest version didn't specify the Rack < 3 requirement. Can't see any activity at https://yhbt.net/rainbows-public/ indicating a release with Rack 3 support. |
I don't think it will get support for Rack 3 soon. Having a look at the last announcement the author doesn't recommend it for new projects And I'm not sure if it used much by the community. Here you have rubygems stats for downloads of the main servers, for what is worth:
|
Rainbows seems pretty abandoned. It should not be the reason that delays progress. |
It is not. It is a question of who wants to give away their time for free. |
No support for Rack 3 (that is "stable" Rack now) sinatra#1797
|
Not sure if this is the right place to add some extra or if it's better to cut a new issue for this (happy to do so if more appropriate). I have a repo that's getting a dependabot PR (joshka/xkcd-with-alt-text#16) that bumps rackup from 1.0.0 to 2.1.0 and rack from 2 to 3. Because sinatra doesn't support rack 3, the PR downgrades sinatra to 1.0 (which has |
It's too late for that, we can't change requirements for older releases |
See https://github.com/rack/rack/blob/main/CHANGELOG.md
Example test run with rack main branch: https://github.com/sinatra/sinatra/runs/7418697522
The text was updated successfully, but these errors were encountered: