Skip to content

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

Merged
keelerm84 merged 2 commits intomainfrom
mk/sdk-2060/support-httpv6
Mar 27, 2026
Merged

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

Conversation

@keelerm84
Copy link
Copy Markdown
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
Copy Markdown
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?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

No, because none of the options are coming in from the customer. The only options provided here are the ones we hard code above.

@keelerm84 keelerm84 merged commit 2e2b66f into main Mar 27, 2026
10 checks passed
@keelerm84 keelerm84 deleted the mk/sdk-2060/support-httpv6 branch March 27, 2026 12:27
keelerm84 pushed a commit that referenced this pull request Mar 27, 2026
🤖 I have created a release *beep* *boop*
---


##
[8.13.0](8.12.3...8.13.0)
(2026-03-27)


### Features

* Expand version support for http.rb v6
([#375](#375))
([2e2b66f](2e2b66f)),
closes
[#373](#373)

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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