Skip to content

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.

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