Skip to content

Bump tested SDKs to genai v1.57.0 / openai-go v3.36.0#8

Merged
harshaneel merged 1 commit into
mainfrom
hg/sdk-bump-2026-05
May 18, 2026
Merged

Bump tested SDKs to genai v1.57.0 / openai-go v3.36.0#8
harshaneel merged 1 commit into
mainfrom
hg/sdk-bump-2026-05

Conversation

@harshaneel
Copy link
Copy Markdown
Owner

Summary

  • Bumps google.golang.org/genai v1.51.0 → v1.57.0 and github.com/openai/openai-go/v3 v3.30.0 → v3.36.0 (both six minor versions out since launch).
  • Refreshes the "Tested SDKs" entries in README.md to match.

The SDKs are only imported from integration/sdk_test.go; the proxy itself uses hand-rolled protocol types in internal/protocol/{gemini,openai} and never imports either SDK.

Why this is safe

  • The Gemini handler decodes incoming requests with json.NewDecoder(...).Decode(...) (no DisallowUnknownFields) at internal/server/gemini.go:19, so any new request fields from newer SDKs are silently dropped.
  • The OpenAI handler is a raw byte passthrough at internal/server/openai.go:12, so the openai-go version is irrelevant to the proxy's wire shape.
  • The only release in this range that touched GenerateContent was genai v1.52.0 (service_tier, model_status, part_metadata, rendered_parts) — all optional, response-side additions are non-breaking when absent.

Test plan

  • make lint clean
  • make test-unit green
  • go test ./integration green (non-docker SDK contract tests)
  • CI runs make test-integration against the live docker image

🤖 Generated with Claude Code

Both SDKs released six minor versions since launch (2026-03-25); none of
the changes touch the chat-completions / GenerateContent wire shapes the
proxy implements, but pinning to current keeps the README "Tested SDKs"
claim accurate.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@harshaneel harshaneel merged commit 2aa0207 into main May 18, 2026
3 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.

1 participant