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

Support Rack 3 #828

Merged
merged 1 commit into from
Jan 28, 2024
Merged

Conversation

danielmorrison
Copy link
Contributor

@danielmorrison danielmorrison commented Jan 19, 2024

Add support for Rack 3.

Flipper UI's dependency onrack-protection was locking the rack version to 2x. Now that rack-protection 4 is out, we can update rack. This brings up a good question: should Flipper UI require rack-protection? I like it and all, but might not be Flipper's responsibility. 🤷

rack-session has been extracted from rack, but has versions to work under rack 2 or 3.

I have a couple import-related tests failing locally, but haven't figured out exactly why yet. The request.body isn't coming through (the body is a Rackup::Handler::WEBrick::Input and .rewind rails, but trying to .read returns "").

rack-protection was locking the rack version to 2x. Now that rack-protection 4 is out, we can update rack.

rack-session has been extracted from rack, but has versions to work under rack 2 or 3.
@jnunemaker
Copy link
Collaborator

Requiring it has caused some issues in the past. I only use it for csrf. Not sure how that would work without requiring it.

@jnunemaker jnunemaker merged commit 5102d4e into flippercloud:main Jan 28, 2024
27 of 36 checks passed
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.

2 participants