-
Notifications
You must be signed in to change notification settings - Fork 137
Remove 1.0/1.1-era API deprecations; Rack < 2.2 code JRuby < 9.3 code #318
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
Conversation
d8dd342 to
f31cdef
Compare
4d092aa to
f21c6c9
Compare
a9f0fc2 to
1a472f1
Compare
|
@kares do you have any thoughts about this collection of small clean-ups (in sequence of separate commits)? The main thing left over I am not sure what to do with is the |
1a472f1 to
a496a8e
Compare
- Removes logic for Ruby < 1.9 - Removes deprecated accept_html alias - Remove backward compatibility support for Rack versions < 2.2
…JRuby::Rack::FileSystemLayout
…ng ago by `jruby.runtime.env` and optional `jruby.runtime.env.rubyopt`
…fine rack.version This is more forward compatible with Rack 3.x.
It's confusing here to test with a non-compatible version
catWithCodeRange will not work with JRuby < 9.4.7.0 (Apr 2024), but as this patch release is 18 months old, it's reasonable to expect patching.
a496a8e to
f5e390c
Compare
|
These are mainly not contentious since they were deprecated long ago, so will merge this in so I can avoid maintaining too many branches as I have a few things in flight, including a Rack 3.x experiment. I'll revert anything of concern or deal with devlog/servletlog later if necessary. |
More cleanup for 1.3 of things we didn't end up removing for 1.2.
See the
History.mdchanges for more detail on the property/API changes.https://github.com/jruby/jruby-rack/pull/318/files#diff-abfa5988643af1b8b2600aac13b273922dbb3372e021bf1d7caadfe7473c9561L9-R16
The subset of these which are pure removal of unnecessary code (not removing public APIs/props) I intend to backport/cherry-pick to
1.2-stablesince they are equally applicable there. (basically the technical changes not needing documenting in the changelog/history)