Skip to content

feat: Expand version support for http.rb v6#375

Open
keelerm84 wants to merge 2 commits intomainfrom
mk/sdk-2060/support-httpv6
Open

feat: Expand version support for http.rb v6#375
keelerm84 wants to merge 2 commits intomainfrom
mk/sdk-2060/support-httpv6

Conversation

@keelerm84
Copy link
Member

@keelerm84 keelerm84 commented Mar 26, 2026

Widen http gem constraint from < 6.0.0 to < 7.0.0 and update HTTP
client usage for v6 compatibility: use symbol keys and double-splat
for HTTP::Client.new, pass keyword args to .timeout() and .request().

fixes #373


Note

Medium Risk
Updates core HTTP client construction and request invocation to match http gem v6 keyword-arg APIs; mistakes here could break network I/O for feature polling and event delivery. Dependency range widening also increases compatibility surface area across supported http versions.

Overview
Expands supported http gem versions from < 6 to < 7 (including contract tests) and updates runtime dependencies accordingly.

Adjusts internal HTTP usage for http v6 compatibility: uses symbol-keyed options with ** when building HTTP::Client, switches .timeout and .request calls to keyword args, and bumps ld-eventsource to 2.6.0.

Written by Cursor Bugbot for commit a8ab91c. This will update automatically on new commits. Configure here.

Widen http gem constraint from < 6.0.0 to < 7.0.0 and update HTTP
client usage for v6 compatibility: use symbol keys and double-splat
for HTTP::Client.new, pass keyword args to .timeout() and .request().

fixes #373
@keelerm84 keelerm84 requested a review from a team as a code owner March 26, 2026 17:20
@keelerm84 keelerm84 changed the title chore: Support http.rb v6 feat: Expand version support for http.rb v6 Mar 26, 2026
end
HTTP::Client.new(http_client_options)
.timeout({
HTTP::Client.new(**http_client_options)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did we need to do the same guards we did for event source?

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.

Support Http.rb v6

2 participants