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

Don't depend on rack version for public api #245

Merged
merged 1 commit into from
Feb 16, 2024
Merged

Don't depend on rack version for public api #245

merged 1 commit into from
Feb 16, 2024

Conversation

pcai
Copy link
Member

@pcai pcai commented Feb 14, 2024

resolves #244

A rewrite of 56cd67b which vendors Rack::Headers (MIT license) as HTTPI::Utils::Headers so that the public api for HTTPI won't have to branch on the version of rack that is loaded.

Rack will still be a dependency, both for its querystring generation at runtime and for testing. But these are implementation details and the runtime dep can be completely removed in the future if desired.

Proposed release strategy: yank 4.0.0 and release this as 4.0.1, making it the first release in the 4.x line with the new API, which will be stable going forward

@pcai pcai merged commit ec5fd17 into master Feb 16, 2024
14 checks passed
@pcai pcai deleted the f/rack-api-fix branch February 16, 2024 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

uninitialized constant Rack::Headers with rack 2.x
1 participant