Skip to content

fix(deps): update module github.com/openai/openai-go/v2 to v3#38

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/github.com-openai-openai-go-v2-3.x
Open

fix(deps): update module github.com/openai/openai-go/v2 to v3#38
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/github.com-openai-openai-go-v2-3.x

Conversation

@renovate

@renovate renovate Bot commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
github.com/openai/openai-go/v2 v2.1.1v3.46.0 age confidence

Release Notes

openai/openai-go (github.com/openai/openai-go/v2)

v3.46.0

Compare Source

3.46.0 (2026-07-23)

Full Changelog: v3.45.0...v3.46.0

Features
  • api: add support for spend_limit admin apis (8de8d9b)
Bug Fixes
  • api: safely format project spend limit paths (ac981e4)

v3.45.0

Compare Source

3.45.0 (2026-07-22)

Full Changelog: v3.44.0...v3.45.0

Go version requirement

openai-go v3.45.0 requires Go 1.25 or newer. This release upgrades
golang.org/x/net to v0.57.0 to address security findings and aligns the SDK
with supported Go toolchains. v3.44.0 is the final release that builds with Go
1.22–1.24; older SDK releases do not receive guaranteed security backports. No
exported SDK API or /v3 import path changes are included.

Features
  • api: accept None for prompt_cache_key/safety_identifier (711460e)
  • stlc: configurable CI runner and private-production-repo support in workflow templates (6669f50)

v3.44.0

Compare Source

3.44.0 (2026-07-17)

Full Changelog: v3.43.0...v3.44.0

Features
  • api: /organization/projects/{project_id}/service_accounts/{service_account_id}/api_keys" endpoint (28d2a6a)
  • api: manual updates (a531d4a)
  • api: manual updates (8073e1e)
Bug Fixes
  • api: format service account API key path (999e165)
  • format service account API key path (9fb19bb)

v3.43.0

Compare Source

3.43.0 (2026-07-14)

Full Changelog: v3.42.0...v3.43.0

Features
  • api: add owner_project_access to APIKeyListParams (df2e35d)
Bug Fixes
  • example: set the 'include usage' field to true under stream options to get accurate usage information (#​125) (c38b6c3)
  • ssestream: skip SSE blocks without data (#​621) (114224d)
Documentation

v3.42.0

Compare Source

3.42.0 (2026-07-09)

Full Changelog: v3.41.1...v3.42.0

Features
  • api: gpt-5.6-sol updates (8c062a6)
Bug Fixes
  • api: restore programmatic response types (2384620)
  • api: restore response union metadata (7b2e975)

v3.41.1

Compare Source

3.41.1 (2026-07-06)

Full Changelog: v3.41.0...v3.41.1

Documentation

v3.41.0

Compare Source

Full Changelog: v3.40.0...v3.41.0

Features
  • api: update OpenAPI spec or Stainless config (868891f)

v3.40.0

Compare Source

3.40.0 (2026-06-16)

Full Changelog: v3.39.0...v3.40.0

Features
  • api: admin spend_alerts (26992e5)
  • api: manual updates (28f7e09)
  • api: update OpenAPI spec or Stainless config (57c307e)

v3.39.0

Compare Source

3.39.0 (2026-06-03)

Full Changelog: v3.38.0...v3.39.0

Features
  • api: responses.moderation and chat_completions.moderation (7a2dac0)

v3.38.0

Compare Source

Full Changelog: v3.38.0...v3.39.0

Features
  • api: responses.moderation and chat_completions.moderation (7a2dac0)

v3.37.0

Compare Source

3.37.0 (2026-05-21)

Full Changelog: v3.36.0...v3.37.0

Features
  • api: api update (7f7416e)
  • api: manual updates (d646562)
  • api: update OpenAPI spec or Stainless config (b34b78a)
  • client: optimize json encoder for internal types (93adc6e)
Bug Fixes
  • go: format generated admin paths (1dd8f5e)
  • go: format generated project permission paths (b751c37)
Chores

v3.36.0

Compare Source

3.36.0 (2026-05-13)

Full Changelog: v3.35.0...v3.36.0

Features
  • api: add service_tier parameter to response compact method (bacd2c0)
Bug Fixes
  • go: avoid panic when http.DefaultTransport is wrapped (95a0250)

v3.35.0

Compare Source

3.35.0 (2026-05-07)

Full Changelog: v3.34.0...v3.35.0

Features
  • api: add quantity field to admin organization usage costs results (899b6de)
  • api: launch realtime translate + update image 2 (1fbf3a6)
  • api: manual updates (cd9047f)
  • api: realtime 2 (5b51410)
Bug Fixes
  • api: fix imagegen size enum regression (995778e)
  • types: add format tags for URI and timestamp fields across models (a6c2198)
Chores
  • internal: regenerate SDK with no functional changes (71c80ef)
  • redact api-key headers in debug logs (ff51a02)
Documentation
  • api: document web_search_call.results output data option (6c2d8ef)

v3.34.0

Compare Source

3.34.0 (2026-05-01)

Full Changelog: v3.33.0...v3.34.0

Features
  • api: add group_type, external_key_id, user fields to admin organization models (460f400)
  • api: add support for Admin API Keys per endpoint (51a0561)
  • api: admin API updates (a0ad21e)
  • api: manual updates (b60b3bc)
  • api: manual updates (f4e0c1a)
Bug Fixes
  • auth: prefer admin keys for admin requests (d128349)
  • types: add format annotations to ChatKit timestamp and URL fields (0b7d7d0)
  • types: add format annotations to timestamp and URL fields across resources (0ff11a7)
  • types: change timestamp fields to float64 in Response (d714e3c)

v3.33.0

Compare Source

3.33.0 (2026-04-28)

Full Changelog: v3.32.0...v3.33.0

Features
  • go: add default http client with timeout (25dd39a)
  • support setting headers via env (b4eaa78)
Bug Fixes
  • types: change PromptCacheRetention enum in-memory to in_memory (15e7432)
Chores
  • internal: more robust bootstrap script (eb0cbcf)
  • tests: bump steady to v0.22.1 (ef28f59)
Documentation
  • api: add rate limit and vector store guidance to file upload (6c8c7fa)
  • api: update rate limit documentation in file upload method (54fde2c)

v3.32.0

Compare Source

3.32.0 (2026-04-16)

Full Changelog: v3.31.0...v3.32.0

Features
  • api: Add detail to InputFileContent (b8e782f)
  • api: add OAuthErrorCode type (d54fff1)
  • api: add prompt_cache_retention parameter to response compact (e2da10d)
Bug Fixes
  • fix for union type names (0bc8ad5)
Documentation

v3.31.0

Compare Source

3.31.0 (2026-04-08)

Full Changelog: v3.30.0...v3.31.0

Features
  • api: add phase field to conversation messages (563d747)
  • api: add web_search_call.results to ResponseIncludable (6ef5b20)
  • client: add support for short-lived tokens (#​799) (038871e)
  • internal: support comma format in multipart form encoding (905b473)
Bug Fixes
  • fix issue with unmarshaling in some cases (a017bc6)
  • prevent duplicate ? in query params (cbb2c75)
  • types: remove web_search_call.results from ResponseIncludable (180597f)
Chores
  • ci: support opting out of skipping builds on metadata-only commits (12e3a5a)
  • remove unnecessary error check for url parsing (cfe9c41)
  • tests: bump steady to v0.20.1 (8e4ef11)
  • tests: bump steady to v0.20.2 (ad31f81)
  • update docs for api:"required" (2d16ebc)
Documentation
  • api: add multi-file ingestion guidance to vectorstorefile/filebatch params (dbba33f)

v3.30.0

Compare Source

3.30.0 (2026-03-25)

Full Changelog: v3.29.0...v3.30.0

Features
  • api: add keys field to computer action types (7abb3c4)
Bug Fixes
  • api: align SDK response types with expanded item schemas (324c584)
  • types: generate shared enum types that are not referenced by other schemas (e2f2920)
  • types: make Type required, correct enum in ResponseInputMessageItem (8c2c7a5)
Chores
  • ci: skip lint on metadata-only changes (40cf884)
  • client: fix multipart serialisation of Default() fields (06c04ae)
  • internal: support default value struct tag (f1afb2a)
  • internal: update gitignore (bde0a0d)
  • tests: bump steady to v0.19.4 (a0561c3)
  • tests: bump steady to v0.19.5 (56c5c36)
  • tests: bump steady to v0.19.6 (44ebe37)
  • tests: bump steady to v0.19.7 (1b04072)
Refactors
  • tests: switch from prism to steady (2185358)

v3.29.0

Compare Source

3.29.0 (2026-03-17)

Full Changelog: v3.28.0...v3.29.0

Features
  • api: 5.4 nano and mini model slugs (c4ebb48)
  • api: add in and nin values to comparison filter type (d060d44)
Chores
  • internal: tweak CI branches (6379626)

v3.28.0

Compare Source

3.28.0 (2026-03-14)

Full Changelog: v3.27.0...v3.28.0

Features
  • api: add /v1/videos endpoint option to batch (7b2d67e)
  • api: add defer_loading field to function tools (6d4b683)
  • api: custom voices (d00b782)
⚠ BREAKING CHANGES
  • api: The voice param and resouce has changed from a string to a string | {id: string}. This is a breaking change for Go.

v3.27.0

Compare Source

3.27.0 (2026-03-13)

Full Changelog: v3.26.0...v3.27.0

Features
  • api: add video character/edit/extend, remove Azure/webhook/polling/accumulator (20da043)
  • api: add video edits/extensions/character, remove Azure/webhook/polling helpers (fa9413f)
  • api: api update (c88c6c9)
  • api: sora api improvements: character api, video extensions/edits, higher resolution exports. (93f6779)
Chores
  • internal: codegen related update (d531232)
  • internal: codegen related update (1748c11)
  • internal: codegen related update (531ece1)
  • internal: codegen related update (ce9f435)

v3.26.0

Compare Source

3.26.0 (2026-03-05)

Full Changelog: v3.25.0...v3.26.0

Features
  • api: The GA ComputerTool now uses the CompuerTool class. The 'computer_use_preview' tool is moved to ComputerUsePreview (347418b)

v3.25.0

Compare Source

3.25.0 (2026-03-05)

Full Changelog: v3.24.0...v3.25.0

Features
  • api: gpt-5.4, tool search tool, and new computer tool (101826d)
  • api: remove Phase from input/output messages, PromptCacheKey from responses (961b8ca)
Bug Fixes
Chores
  • internal: codegen related update (ab733b9)
  • internal: codegen related update (23d1831)
  • internal: reduce warnings (2963312)

v3.24.0

Compare Source

3.24.0 (2026-02-24)

Full Changelog: v3.23.0...v3.24.0

Features
Bug Fixes
Chores
  • internal: move custom custom json tags to api (0735303)
  • internal: refactor sse event parsing (45dc6bb)

v3.23.0

Compare Source

3.23.0 (2026-02-24)

Full Changelog: v3.22.1...v3.23.0

Features
  • api: add gpt-realtime-1.5 and gpt-audio-1.5 models to realtime session (9076e2f)

v3.22.1

Compare Source

3.22.1 (2026-02-23)

Full Changelog: v3.22.0...v3.22.1

Bug Fixes
  • allow canceling a request while it is waiting to retry (54672cf)
Chores
  • update mock server docs (3ac84dd)
Documentation
  • api: add batch size limit to vector store file batch parameters (f751c40)
  • api: clarify safety_identifier max length in chat completions and responses (8257f9b)
  • api: enhance method docstrings across audio/chat/completion/skill/upload/video APIs (38b8f63)

v3.22.0

Compare Source

3.22.0 (2026-02-13)

Full Changelog: v3.21.0...v3.22.0

Features
  • api: container network_policy and skills (8e5ea23)
Bug Fixes
  • encoder: correctly serialize NullStruct (a6cb49e)
Documentation

v3.21.0

Compare Source

3.21.0 (2026-02-10)

Full Changelog: v3.20.0...v3.21.0

Features
  • api: support for images in batch api (e23aeb1)

v3.20.0

Compare Source

3.20.0 (2026-02-10)

Full Changelog: v3.19.0...v3.20.0

Features
  • api: skills and hosted shell (9e191de)

v3.19.0

Compare Source

3.19.0 (2026-02-09)

Full Changelog: v3.18.0...v3.19.0

Features
  • api: responses context_management (199f230)

v3.18.0

Compare Source

3.18.0 (2026-02-05)

Full Changelog: v3.17.0...v3.18.0

Features
  • api: add shell_call_output status field (67a75d7)
  • api: image generation actions for responses; ResponseFunctionCallArgumentsDoneEvent.name (2c57016)
Bug Fixes
  • client: undo change to web search Find action (e340256)
  • client: update type for find_in_page action (4b5d499)
Chores
  • client: improve example values (c86a65c)
Documentation
  • split api.md by standalone resources (aeed37b)

v3.17.0

Compare Source

3.17.0 (2026-01-27)

Full Changelog: v3.16.0...v3.17.0

Features
  • api: api update (a456c60)
  • api: api updates (21fd4a9)
  • client: add a convenient param.SetJSON helper (1b35ece)
  • client: add a StreamError type to access raw events from sse streams (fd14b30)
Bug Fixes
  • api: mark assistants as deprecated (9a8c9af)
  • client: retain streaming when user sets request body (3a7a22e)
  • docs: add missing pointer prefix to api.md return types (dd641d9)
Chores
  • internal: codegen related update (74d3989)
  • internal: update actions/checkout version (2db54a5)

v3.16.0

Compare Source

Full Changelog: v3.16.0...v3.17.0

Features
  • api: api update (a456c60)
  • api: api updates (21fd4a9)
  • client: add a convenient param.SetJSON helper (1b35ece)
  • client: add a StreamError type to access raw events from sse streams (fd14b30)
Bug Fixes
  • api: mark assistants as deprecated (9a8c9af)
  • client: retain streaming when user sets request body (3a7a22e)
  • docs: add missing pointer prefix to api.md return types (dd641d9)
Chores
  • internal: codegen related update (74d3989)
  • internal: update actions/checkout version (2db54a5)

v3.15.0

Compare Source

Full Changelog: v3.15.0...v3.16.0

Features
  • api: add new Response completed_at prop (bff6331)
Bug Fixes
  • client: use the correct order of params for vector store file and batch polling (ef32641)
Chores
  • internal: codegen related update (1e529a4)
  • internal: use different example values for some enums (a2836ee)
Documentation

v3.14.0

Compare Source

Full Changelog: v3.14.0...v3.15.0

Bug Fixes
Chores
  • add float64 to valid types for RegisterFieldValidator (e67d89d)

v3.13.0

Compare Source

Full Changelog: v3.13.0...v3.14.0

Features

v3.12.0

Compare Source

Full Changelog: v3.12.0...v3.13.0

Features
  • api: api update (20b5112)
  • api: fix grader input list, add dated slugs for sora-2 (e8f0b76)
Bug Fixes
  • azure: correct Azure OpenAI API URL construction and auth (3ba3736)

v3.11.0

Compare Source

Full Changelog: v3.11.0...v3.12.0

Features
  • api: gpt 5.2 (56b5d41)
  • encoder: support bracket encoding form-data object members (a2cbacf)

v3.10.0

Compare Source

Full Changelog: v3.10.0...v3.11.0

Features
  • api: make model required for the responses/compact endpoint (05f8f4d)
Bug Fixes
  • mcp: correct code tool API endpoint (03d08f9)
  • rename param to avoid collision (17d276d)
Chores
  • elide duplicate aliases (2bf988e)
  • internal: codegen related update (9b1a3e9)

v3.9.0

Compare Source

Full Changelog: v3.9.0...v3.10.0

Features
  • api: gpt-5.1-codex-max and responses/compact (1e1ca2a)

v3.8.1

Compare Source

Full Changelog: v3.8.1...v3.9.0

Features
Bug Fixes
  • api: align types of input items / output items for typescript (5b89d3b)
  • client: correctly specify Accept header with / instead of empty (fbadb4e)
Chores

v3.8.0

Compare Source

Full Changelog: v3.8.0...v3.8.1

Bug Fixes
  • api: fix nullability of logprobs (b5aeb99)

v3.7.0

Compare Source

Full Changelog: v3.7.0...v3.8.0

Features
  • api: Realtime API token_limits, Hybrid searching ranking options (9495f4a)
Chores
  • internal: grammar fix (it's -> its) (879772d)

v3.6.1

Compare Source

3.6.1 (2025-10-20)

Full Changelog: v3.6.0...v3.6.1

Bug Fixes
  • api: fix discriminator propertyName for ResponseFormatJsonSchema (57b0505)

v3.6.0

Compare Source

Full Changelog: v3.6.0...v3.6.1

Bug Fixes
  • api: fix discriminator propertyName for ResponseFormatJsonSchema (57b0505)

v3.5.0

Compare Source

Full Changelog: v3.5.0...v3.6.0

Features
  • api: Add responses.input_tokens.count (a43f2ce)
Bug Fixes
  • api: internal openapi updates (7ad9b02)

v3.4.0

Compare Source

Full Changelog: v3.4.0...v3.5.0

Features

v3.3.0

Compare Source

Full Changelog: v3.3.0...v3.4.0

Features
  • api: Add support for gpt-4o-transcribe-diarize on audio/transcriptions endpoint (ee32400)
Chores
  • api: internal updates (74c8031)
  • client: undo more naming changes (db441bc)
  • client: undo some naming changes (a5aa3d6)

v3.2.0

Compare Source

Full Changelog: v3.2.0...v3.3.0

Features
  • api: comparison filter in/not in (d6daca0)

v3.1.0

Compare Source

Full Changelog: v3.1.0...v3.2.0

Features
  • api: dev day 2025 launches (d40a768)

v3.0.1

Compare Source

Full Changelog: v3.0.1...v3.1.0

Features
  • api: add support for realtime calls (565ca67)

v3.0.0

Compare Source

Full Changelog: v3.0.0...v3.0.1

Bug Fixes
  • api: add status, approval_request_id to MCP tool call (a7f95e4)

v2.7.1

Compare Source

Full Changelog: v2.7.1...v3.0.0

⚠ BREAKING CHANGES
  • api: ResponseFunctionToolCallOutputItem.output and ResponseCustomToolCallOutput.output now return string | Array<ResponseInputText | ResponseInputImage | ResponseInputFile> instead of string only. This may break existing callsites that assume output is always a string.
Features
  • api: Support images and files for function call outputs in responses, BatchUsage (21901ef)

v2.7.0

Compare Source

Full Changelog: v2.7.0...v2.7.1

Bug Fixes
  • bugfix for setting JSON keys with special characters (f9ae028)

v2.6.1

Compare Source

Full Changelog: v2.6.1...v2.7.0

Features

v2.6.0

Compare Source

Full Changelog: v2.6.0...v2.6.1

Bug Fixes
  • api: fix mcp tool name (6de601a)
  • use slices.Concat instead of sometimes modifying r.Options (7312ee7)
Chores
  • api: openapi updates for conversations (4a7d204)
  • bump minimum go version to 1.22 (8396ab5)
  • do not install brew dependencies in ./scripts/bootstrap by default (d519b81)
  • update more docs for 1.22 (1b0514d)

v2.5.0

Compare Source

Full Changelog: v2.5.0...v2.6.0

Features
  • api: add reasoning_text (6ebf50d)

v2.4.3

Compare Source

Full Changelog: v2.4.3...v2.5.0

Features
  • api: type updates for conversations, reasoning_effort and results for evals (3e68a60)

v2.4.2

Compare Source

Full Changelog: v2.4.2...v2.4.3

Chores
  • api: docs and spec refactoring (e67af66)

v2.4.1

Compare Source

Full Changelog: v2.4.1...v2.4.2

Chores
  • api: Minor docs and type updates for realtime (d92ea48)

v2.4.0

Compare Source

Full Changelog: v2.4.0...v2.4.1

Chores
  • api: fix realtime GA types (012b83e)

v2.3.1

Compare Source

Full Changelog: v2.3.1...v2.4.0

Features
  • api: ship the RealtimeGA API shape (2b6c6db)

v2.3.0

Compare Source

Full Changelog: v2.3.0...v2.3.1

Bug Fixes
  • internal: unmarshal correctly when there are multiple discriminators (98596b2)

v2.2.2

Compare Source

Full Changelog: v2.2.2...v2.3.0

Features
  • api: Add gpt-realtime models (3cf6a34)

v2.2.1

Compare Source

Full Changelog: [v2.2.1...v2.2.2](ht

Note

PR body was truncated to here.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate

renovate Bot commented Jul 23, 2026

Copy link
Copy Markdown
Contributor Author

ℹ️ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 4 additional dependencies were updated
  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.24.0 -> 1.25.0
github.com/tidwall/gjson v1.18.0 -> v1.19.0
golang.org/x/sync v0.16.0 -> v0.22.0
golang.org/x/sys v0.34.0 -> v0.47.0
golang.org/x/text v0.27.0 -> v0.40.0

@renovate
renovate Bot force-pushed the renovate/github.com-openai-openai-go-v2-3.x branch from 5c91d2d to 6d0c089 Compare July 23, 2026 22:25
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.

0 participants