OpenAI updates four official SDKs with agent session review, compaction settings and experimental time reminders
On October 31 UTC, OpenAI released new versions of its official Python, Node.js, Go and Java SDKs. All four release notes list changes for agent context compaction settings, session review and tool settings, experimental time awareness, and image-edit markup. These are SDK and API interface changes; actual availability depends on the relevant endpoint, model and account.
Which versions were released?
- Python v3.42.0 was published at 2026-10-30 17:26 PDT (Beijing time: 2026-10-31 08:26).
- Node.js v7.46.0 was published at 2026-10-30 17:27 PDT (Beijing time: 2026-10-31 08:27).
- Go v3.91.0 was published at 2026-10-30 17:28 PDT (Beijing time: 2026-10-31 08:28).
- Java v4.95.0 was published at 2026-10-30 17:55 PDT (Beijing time: 2026-10-31 08:55).
Agent context compaction is configurable.
The corresponding Python SDK change adds compaction to agent creation and update parameters. Its documentation says omitting the field or passing null on creation enables background compaction; omitting it on update retains the existing setting. Developers can disable background compaction and use blocking compaction instead. The code also notes that background compaction may increase token usage.
Session review and experimental time reminders have separate limits.
The Python SDK's session change adds none and auto_review options and supports replacing tools when a session is updated. The code says auto_review automatically reviews eligible actions and denies manual-approval fallbacks. An updated default review mode applies to new root turns; existing turns and their subagents keep their existing review mode.
A separate experimental time-awareness setting controls whether the model receives periodic current-time reminders and defaults to off. OpenAI marks the setting experimental and subject to change; it does not establish continuous, independent real-time awareness.
Image edits can use a markup overlay.
The Python image-edit change adds a markup parameter for a transparent PNG overlaid on the first image to guide an edit. The file must match the image dimensions after orientation and contain transparent pixels. The code says it supports GPT Image 2.5 and 2.6 and cannot be combined with mask.
All four release notes also mention SIP DTMF commands and delivery events. Each language's release contains additional features, fixes and documentation changes that are not identical across the four. This article summarizes the official release notes and corresponding Python code; we have not run the interfaces independently, and the SDK updates do not establish that every account can use the features.
