Packages

openai

7.45.1 · 27 Oct 2026Apache-2.036.8M / weekRepositoryHomepagenpmAtom feed

Your version

401 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.

  1. 7.x · latest line
  2. 7.45.1

    27 Oct 2026
    • api: clarify prompt cache breakpoint TTL behavior

    • vertex: support google-auth-library v11

  3. 7.45.0

    26 Oct 2026
    • api: add gpt-6.1-terra model identifier

    • deps-dev: bump @cloudflare/workers-types from 5.20261011.1 to 5.20261018.1 in /ecosystem-tests/cloudflare-worker

    • deps-dev: bump @types/node from 26.6.4 to 26.6.5

  4. 7.44.0

    26 Oct 2026
    • breaking

      api: expand Live Decision item and question types. Breaking change in a minor release. Live Decision item events now include messages and function/custom-tool calls and outputs. DecisionItemCreatedEvent.item and DecisionItemCreateEvent.item are unions, so callers that directly access item.content or item.role may no longer compile. For both event types, use if ('content' in event.item) before accessing message fields, and handle tool-item variants separately. Message items may omit type, so checking only item.type === 'message' can skip valid messages. This release also updates image-model documentation: gpt-image-1 was shut down on October 23, 2026; replace explicit selections with gpt-image-2.5-sunburst or gpt-image-2.5-flare. The documented default for Responses image-generation tools is now gpt-image-2; specify a supported model explicitly when you need a particular model.

    • api: add delegation controls and prompt cache lifetimes and scheduled automations via client.beta.agents.automations, including invocation endpoints and the automations agent-tool variant

    • agents: reuse action checks between stream events

  5. 7.43.0

    22 Oct 2026
    • breaking

      api: Breaking change in a minor release. A Live response's Decisions question instructions can now be a string or an array of text, image, or JSON parts. Code such as question.instructions.trim() can fail when it receives an array; check typeof question.instructions === 'string' and handle the array case. Decisions request inputs also accept new message roles and tool-history items, so update code that assumes it knows every input type. DecisionInputMessage is now a union: code that extends or implements the old interface must use DecisionInputMessage.DecisionInputUserMessage instead. Existing string instructions and user-message inputs still work.

    • deps-dev: bump follow-redirects from 1.16.0 to 1.16.1 in /ecosystem-tests/vercel-edge

    • deps-dev: bump launch-editor from 2.14.1 to 2.14.2 in /ecosystem-tests/ts-browser-webpack

  6. 7.42.0

    22 Oct 2026
    • api: add voice deletion

    • agents: avoid repeated ancestor-path hashing

    • api: avoid excessive work when redacting long log values

  7. 7.41.0

    21 Oct 2026
    • Add Vertex AI support for the Responses API

  8. 7.40.0

    21 Oct 2026
    • api: add 30-minute cache-write usage counts

    • api: add compaction trigger IDs

    • api: add custom voice consent management

  9. 7.39.0

    19 Oct 2026
    • realtime: add opt-in bounded connection recovery

  10. 7.38.0

    17 Oct 2026
    • api: add typed Live sideband events

  11. 7.37.0

    17 Oct 2026
    • api: add degraded external storage status

  12. 7.36.0

    17 Oct 2026
    • api: add safety identifiers to image requests and responses

  13. 7.35.0

    16 Oct 2026
    • api: add Decisions prompt caching options

    • api: add prompt-based voice creation

    • api: add response error diagnostics and model notices

  14. 7.34.0

    14 Oct 2026
    • api: add regional processing residency options

    • deps-dev: bump @cloudflare/workers-types from 5.20260927.1 to 5.20261005.1 in /ecosystem-tests/cloudflare-worker

    • deps-dev: bump @types/node from 26.4.1 to 26.6.4

  15. 7.33.0

    14 Oct 2026
    • Add browser and computer toolsets (1/4)

    • api: add beta session spending limits

    • api: add billing_not_active session error code

  16. 7.32.0

    9 Oct 2026
    • api: add agent environment suspension and expiration

    • runners: preserve detailed token usage in totalUsage

  17. 7.31.0

    9 Oct 2026
    • api: add prewarmed hosted environments

  18. 7.30.1

    8 Oct 2026
    • api: correct custom voice creation parameters

    • deps-dev: bump @aws-sdk/credential-provider-node from 3.972.83 to 3.972.84

    • deps-dev: bump @smithy/signature-v4 from 5.7.3 to 5.7.4

  19. 7.30.0

    6 Oct 2026
    • api: add standalone Decisions support

  20. 7.28.0

    4 Oct 2026
    • api: add custom voice creation and agent session events

  21. 7.27.0

    1 Oct 2026
    • agents: prepare hosted files and download result artifacts

  22. 7.26.0

    1 Oct 2026
    • Collect final output from beta Agents streams

    • agents: [1/n] parse typed output from agent streams

    • api: Add agent session trace listing

  23. 7.25.0

    29 Sep 2026
    • api: add computer use to beta agents

  24. 7.24.0

    29 Sep 2026
    • api: add Agents credential and session options

    • api: add Cyber access programs to Responses

    • api: add GPT-6.1 Sol model identifier

  25. 7.23.0

    23 Sep 2026
    • api: add GCP external storage support

    • api: add GPT-Rosalind research model

  26. 7.22.0

    22 Sep 2026
    • api: add GPT-6 Sol and Luna model identifiers

  27. 7.21.0

    22 Sep 2026
    • api: add session environment reset events

    • api: preserve model choices and improve request handling

  28. 7.20.0

    19 Sep 2026
    • api: add environment-variable vault credentials

    • api: add external storage configuration management

    • api: add safety case retrieval

  29. 7.19.0

    18 Sep 2026
    • deprecated

      api: deprecate MCP connector_id

    • api: add webhook endpoint management

  30. 7.18.0

    18 Sep 2026
    • api: add agent session model settings

    • api: add audio-mini model choices

    • api: add managed Responses WebSocket sessions

  31. 7.17.0

    16 Sep 2026
    • api: add compaction progress events

    • Preserve chat runner abort reasons

    • realtime: preserve native WebSocket error causes

  32. 7.16.0

    16 Sep 2026
    • websocket: add per-iterator incoming event limits

    • api: handle malformed WebSocket events and improve buffering

    • Bound fallback abort subscriptions with weak lifetimes

  33. 7.15.0

    10 Sep 2026
    • api: add Agents API

  34. 7.14.0

    10 Sep 2026
    • api: Add Live API

    • deps-dev: bump joi from 18.2.3 to 18.2.5 in /ecosystem-tests/vercel-edge

    • deps: update remaining tooling and fixture patches

  35. 7.13.0

    9 Sep 2026
    • api: Add API key expiration controls

  36. 7.12.1

    9 Sep 2026
    • api: add GPT Image 2.5 models and image options

  37. 7.10.0

    3 Sep 2026
    • api: add gpt-6-astra and related features

  38. 7.9.0

    2 Sep 2026
    • api: update usage APIs and documentation

    • api: prevent Responses WebSockets from following redirects

    • Load CommonJS under browser export conditions

  39. 7.8.0

    27 Aug 2026
    • api: add compute_units to Responses and Chat Completions usage

    • api: add default WebSocket User-Agent and audit log events

    • auth: clamp the workload-identity refresh buffer to the token lifetime

  40. 7.7.0

    27 Aug 2026
    • api: make function call output call IDs optional

    • streaming: honor cancellation while decoding SSE responses

  41. 7.6.0

    26 Aug 2026
    • api: Add obfuscation field to ChatCompletionChunk

    • api: Add project residency and usage quantity_unit fields

    • api: support backend-mediated Realtime WebRTC calls

  42. 7.5.0

    17 Aug 2026
    • deprecated

      api: deprecate Sora video APIs

    • security

      azure: prevent deployment path traversal

    • security

      deps: remediate Dependabot and fixture vulnerabilities

  43. 7.4.0

    3 Aug 2026
    • api: Add gpt-5.5 model and tool metadata fields

    • Defer release PR output parsing

  44. 7.3.0

    31 Jul 2026
    • api: content provenance checks

  45. 7.2.0

    30 Jul 2026
    • api: fast tier

  46. 7.1.0

    28 Jul 2026
    • api: transcription model updates

  47. 7.0.0

    27 Jul 2026
    • breaking

      Require Node.js 22 and codify version support

    • Require Node.js 22 and codify version support

  48. 6.x
  49. 6.49.0

    23 Jul 2026

    Reading the note…

  50. 6.48.0

    17 Jul 2026

    Reading the note…

  51. 6.47.0

    14 Jul 2026

    Reading the note…

  52. 6.46.0

    9 Jul 2026

    Reading the note…