Skip to content
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

Fix Rack::File deprecation #4424

Merged
merged 1 commit into from Jan 11, 2020
Merged

Fix Rack::File deprecation #4424

merged 1 commit into from Jan 11, 2020

Conversation

DannyBen
Copy link
Contributor

Closes #4423

@mperham
Copy link
Collaborator

mperham commented Jan 11, 2020

I noted that Rack master has already reverted this deprecation.

@mperham mperham closed this Jan 11, 2020
@DannyBen
Copy link
Contributor Author

DannyBen commented Jan 11, 2020

They just removed the warning. File is an alias to Files since 2012.
rack/rack#305

Should be changed, unless there are evidence that state that Rack::File is superior and preferred over Rack::Files - I did not find any. Rack::File is only kept there for backwards compatibility, as it seems.

Not sure why you were quick to close this.

@mperham mperham reopened this Jan 11, 2020
@mperham mperham merged commit 409991b into sidekiq:master Jan 11, 2020
@DannyBen DannyBen deleted the fix-rack-file-deprecation branch January 11, 2020 15:15
@mperham
Copy link
Collaborator

mperham commented Jan 13, 2020

I reverted this as it breaks Rack <2.0.8.

@mperham
Copy link
Collaborator

mperham commented Jan 13, 2020

I would be happy to bump to Rack 2.1+ in Sidekiq 6.1 but I don't want to do it in master for a few weeks until this Rack mess stabilizes.

mperham added a commit that referenced this pull request Jan 13, 2020
@DannyBen
Copy link
Contributor Author

Alright, fair enough.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rack::File deprecation warning
2 participants