Skip to content

release: 3.4.0 - #3682

Open
openai-sdks[bot] wants to merge 1 commit into
mainfrom
release-please--branches--main
Open

release: 3.4.0#3682
openai-sdks[bot] wants to merge 1 commit into
mainfrom
release-please--branches--main

Conversation

@openai-sdks

@openai-sdks openai-sdks Bot commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

Automated Release PR

3.4.0 (2026-08-19)

Features

  • api: Add obfuscation field to ChatCompletionChunk (#3690) (c7d8e1d)

Bug Fixes

  • azure: encode deployment names consistently (#3683) (689538d)
  • azure: resolve one authentication mode (#3689) (e3d0681)
  • create upload example fixtures in private directories (#3686) (f36e6f7)
  • decode SSE incrementally without limiting event size (#3687) (2598d53)
  • keep Python SDK diagnostics metadata-only (#3685) (600aa8d)
  • preserve WebSocket send queue byte accounting during flush (#3688) (96f966d)

Documentation

  • standardize Python SDK vulnerability disclosure policy (#3642) (1fc0a21)

This PR was generated with Release Please. See documentation.

@openai-sdks
openai-sdks Bot requested a review from a team as a code owner August 19, 2026 17:13
@openai-sdks

openai-sdks Bot commented Aug 19, 2026

Copy link
Copy Markdown
Contributor Author

OkTest Summary

237/237 SDK tests passed in 11.853s for Python SDK PR #3682.

Test results — 42 files
Test Result Time
tests/chat-completions-complex-body.test.ts ✅ Passed 208ms
tests/chat-completions-create.test.ts ✅ Passed 265ms
tests/chat-completions-stream.test.ts ✅ Passed 157ms
tests/files-content-binary.test.ts ✅ Passed 260ms
tests/files-create-multipart.test.ts ✅ Passed 205ms
tests/files-list-pagination.test.ts ✅ Passed 193ms
tests/initialize-config.test.ts ✅ Passed 167ms
tests/instance-isolation.test.ts ✅ Passed 185ms
tests/models-list.test.ts ✅ Passed 133ms
tests/responses-background-lifecycle.test.ts ✅ Passed 251ms
tests/responses-body-method-errors.test.ts ✅ Passed 328ms
tests/responses-cancel-timeout.test.ts ✅ Passed 197ms
tests/responses-cancel.test.ts ✅ Passed 245ms
tests/responses-compact-retries.test.ts ✅ Passed 370ms
tests/responses-compact.test.ts ✅ Passed 318ms
tests/responses-create-advanced-stream.test.ts ✅ Passed 351ms
tests/responses-create-advanced.test.ts ✅ Passed 251ms
tests/responses-create-disconnect.test.ts ✅ Passed 1.273s
tests/responses-create-errors.test.ts ✅ Passed 199ms
tests/responses-create-malformed-api-responses.test.ts ✅ Passed 257ms
tests/responses-create-retries.test.ts ✅ Passed 266ms
tests/responses-create-stream-failures.test.ts ✅ Passed 131ms
tests/responses-create-stream-timeout.test.ts ✅ Passed 235ms
tests/responses-create-stream-wire.test.ts ✅ Passed 3.957s
tests/responses-create-stream.test.ts ✅ Passed 93ms
tests/responses-create-terminal-states.test.ts ✅ Passed 218ms
tests/responses-create-timeout.test.ts ✅ Passed 213ms
tests/responses-create.test.ts ✅ Passed 231ms
tests/responses-delete.test.ts ✅ Passed 251ms
tests/responses-input-items-errors.test.ts ✅ Passed 421ms
tests/responses-input-items-list.test.ts ✅ Passed 348ms
tests/responses-input-items-options.test.ts ✅ Passed 414ms
tests/responses-input-tokens-count-timeout.test.ts ✅ Passed 254ms
tests/responses-input-tokens-count.test.ts ✅ Passed 252ms
tests/responses-malformed-inputs.test.ts ✅ Passed 2.999s
tests/responses-not-found-errors.test.ts ✅ Passed 281ms
tests/responses-parse.test.ts ✅ Passed 561ms
tests/responses-retrieve-retries.test.ts ✅ Passed 251ms
tests/responses-retrieve.test.ts ✅ Passed 342ms
tests/responses-stored-method-errors.test.ts ✅ Passed 575ms
tests/retry-behavior.test.ts ✅ Passed 3.223s
tests/sdk-error-shape.test.ts ✅ Passed 317ms

View OkTest run #32309990501

SDK merge (dc3a19058058) · head (052a80851761) · base (c7d8e1d26be1) · OkTest (2b1bdfd25e98)

@openai-sdks
openai-sdks Bot force-pushed the release-please--branches--main branch 6 times, most recently from 7051176 to aeb05e7 Compare August 19, 2026 22:22
@openai-sdks openai-sdks Bot changed the title release: 3.3.2 release: 3.4.0 Aug 19, 2026
@openai-sdks
openai-sdks Bot force-pushed the release-please--branches--main branch from aeb05e7 to 052a808 Compare August 19, 2026 22:41
@github-actions

Copy link
Copy Markdown
Contributor

Castiron custom code

✅ No new custom-code files detected.

52 mixed files remain; 0 existing customizations changed.

Compared c7d8e1d26be1052a80851761. Generated baselines verified.

52 existing customizations unchanged
  • api.md
  • scripts/castiron/README.md
  • scripts/castiron/custom_code_report.py
  • scripts/castiron/test_custom_code_report.py
  • src/openai/init.py
  • src/openai/_client.py
  • src/openai/resources/audio/transcriptions.py
  • src/openai/resources/audio/translations.py
  • src/openai/resources/beta/beta.py
  • src/openai/resources/beta/responses/responses.py
  • src/openai/resources/beta/threads/messages.py
  • src/openai/resources/beta/threads/runs/runs.py
  • src/openai/resources/beta/threads/threads.py
  • src/openai/resources/chat/completions/completions.py
  • src/openai/resources/completions.py
  • src/openai/resources/embeddings.py
  • src/openai/resources/files.py
  • src/openai/resources/fine_tuning/jobs/checkpoints.py
  • src/openai/resources/fine_tuning/jobs/jobs.py
  • src/openai/resources/models.py
  • src/openai/resources/realtime/realtime.py
  • src/openai/resources/responses/responses.py
  • src/openai/resources/uploads/uploads.py
  • src/openai/resources/vector_stores/file_batches.py
  • src/openai/resources/vector_stores/files.py
  • src/openai/resources/videos.py
  • src/openai/resources/webhooks/init.py
  • src/openai/resources/webhooks/webhooks.py
  • src/openai/types/init.py
  • src/openai/types/beta/threads/message_content.py
  • src/openai/types/chat/init.py
  • src/openai/types/chat/chat_completion_message_tool_call.py
  • src/openai/types/fine_tuning/fine_tuning_job_integration.py
  • src/openai/types/responses/init.py
  • src/openai/types/responses/response.py
  • src/openai/types/responses/response_function_web_search.py
  • src/openai/types/responses/response_function_web_search_param.py
  • src/openai/types/responses/tool.py
  • src/openai/types/responses/tool_param.py
  • src/openai/types/webhooks/init.py

12 more in the full report.

A changed generated baseline means this report cannot reliably identify which handwritten lines changed.

Inspect the custom-code diff

Download the exact patch produced by this run (requires repository access):

gh run download 32309992254 --repo openai/openai-python \
  --name castiron-custom-code-32309992254-1 --dir /tmp/castiron-custom-code-32309992254-1
git apply --stat /tmp/castiron-custom-code-32309992254-1/custom-code.patch
cat /tmp/castiron-custom-code-32309992254-1/custom-code.patch

Or reproduce it from an SDK checkout containing the vendored reporter:

git fetch --no-tags origin c7d8e1d26be1f958e55c80f26b648f768afabdf2 052a80851761f6b504a0468a530b73874519fa35
python3 scripts/castiron/custom_code_report.py report \
  --base c7d8e1d26be1f958e55c80f26b648f768afabdf2 \
  --head 052a80851761f6b504a0468a530b73874519fa35 --fetch --require-head-hash --public \
  --out /tmp/castiron-custom-code-052a80851761
cat /tmp/castiron-custom-code-052a80851761/custom-code.patch

This is the current full custom patch for mixed files, not an attribution of only the handwritten lines changed by this PR.

Full report and patch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants