Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jun 12, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
openai ^4.52.2 -> ^5.0.0 age adoption passing confidence

Release Notes

openai/openai-node (openai)

v5.3.0

Compare Source

Full Changelog: v5.2.0...v5.3.0

Features
  • api: Add o3-pro model IDs (9988f8e)

v5.2.0

Compare Source

Full Changelog: v5.1.1...v5.2.0

Features
  • api: Add tools and structured outputs to evals (64844f1)
Bug Fixes
  • changelog: remove duplicated entries (18484cc)
Chores
  • avoid type error in certain environments (44ac3d9)
Documentation

v5.1.1

Compare Source

Full Changelog: v5.1.0...v5.1.1

Bug Fixes
  • assistants: handle thread.run.incomplete while streaming (8f5e7f3)
Chores
  • docs: use top-level-await in example snippets (065d3b0)
  • internal: fix readablestream types in node 20 (771ae81)

v5.1.0

Compare Source

Full Changelog: v5.0.2...v5.1.0

Features
  • api: add new realtime and audio models, realtime session options (1219f09)
Chores
  • adjust eslint.config.mjs ignore pattern (9b5c898)
  • api: update type names (7c296d6)

v5.0.2

Compare Source

Full Changelog: v5.0.1...v5.0.2

Bug Fixes
  • api: Fix evals and code interpreter interfaces (992a9d8)
Chores
  • deps: bump eslint-plugin-prettier (1428a8b)
  • internal: codegen related update (a65428f)

v5.0.1

Compare Source

Full Changelog: v5.0.0...v5.0.1

Chores

v5.0.0

Compare Source

This release migrates from node-fetch to builtin fetch, for full release notes see MIGRATION.md.

Full Changelog: v5.0.0-alpha.0...v5.0.0

Features
  • add audio helpers (ec5067d)
  • add migration guide (cfd2088)
  • add SKIP_BREW env var to ./scripts/bootstrap (7ea4a24)
  • api: add /v1/responses and built-in tools (91af47c)
  • api: add get /chat/completions endpoint (9697139)
  • api: add get /responses/{response_id}/input_items endpoint (f2c5aba)
  • api: add container endpoint (3ffca5c)
  • api: Add evalapi to sdk (70092d7)
  • api: add gpt-4.5-preview (1d4478d)
  • api: add image sizes, reasoning encryption (0c25021)
  • api: add o3 and o4-mini model IDs (19cda5d)
  • api: Add reinforcement fine-tuning api support (e6bbaf5)
  • api: add support for storing chat completions (59da177)
  • api: adding gpt-4.1 family of model IDs (8a2a745)
  • api: adding new image model support (a0010fd)
  • api: Config update for pakrym-stream-param (469ad7b)
  • api: further updates for evals API (3f6f248)
  • api: manual updates (debe529)
  • api: manual updates (e83286b)
  • api: manual updates (959eace)
  • api: manual updates (179a607)
  • api: manual updates (0cb0c86)
  • api: manual updates (678ae6b)
  • api: manual updates (4560dc6)
  • api: manual updates (554c3b1)
  • api: manual updates (b893d81)
  • api: manual updates (c1c2819)
  • api: manual updates (efce6d3)
  • api: manual updates (32afb00)
  • api: new API tools (fb4014f)
  • api: new models for TTS, STT, + new audio features for Realtime (#​1407) (d11b13c)
  • api: new streaming helpers for background responses (1ddd6ff)
  • api: o1-pro now available through the API (#​1398) (aefd267)
  • api: responses x eval api (ea1d56c)
  • api: Updating Assistants and Evals API schemas (8cc63d3)
  • client: accept RFC6838 JSON content types (67da9ce)
  • client: add Realtime API support (7737d25)
  • client: add withOptions helper (7e9ea85)
  • client: improve logging (ead0ba4)
  • client: promote beta completions methods to GA (4c622f9)
Bug Fixes
  • api: add missing file rank enum + more metadata (b943a0a)
  • api: correct some Responses types (#​1391) (e983d0c)
  • api: improve type resolution when importing as a package (#​1444) (4af79dd)
  • assistants: handle thread.run.incomplete event (a2714bb)
  • audio: correctly handle transcription streaming (9c7d352)
  • avoid type error in certain environments (#​1413) (f395e95)
  • azure/audio: use model param for deployments (0eda70a)
  • azure: add /images/edits to deployments endpoints (#​1509) (4b18059)
  • azure: add /images/edits to deployments endpoints (#​1509) (84fc31a)
  • azure: use correct internal method (a9c7821)
  • client: always overwrite when merging headers (c160550)
  • client: fix export map for index exports (#​1328) (26d5868)
  • client: fix export map for index exports, accept BunFile (9416c96)
  • client: fix TypeError with undefined File (0e980d0)
  • client: remove duplicate types (bee2ce5)
  • client: remove duplicate types (#​1410) (23fd3ff)
  • client: return binary content from get /containers/{container_id}/files/{file_id}/content (8502966)
  • client: return binary content from get /containers/{container_id}/files/{file_id}/content (899869b)
  • client: return binary content from get /containers/{container_id}/files/{file_id}/content (83129d7)
  • client: send X-Stainless-Timeout in seconds (5a272a7)
  • client: send X-Stainless-Timeout in seconds (#​1442) (5e5e460)
  • client: send all configured auth headers (ee01414)
  • compat with more runtimes (f743730)
  • correct imports (21f2107)
  • correctly decode multi-byte characters over multiple chunks (f3d7083)
  • docs: correct docstring on responses.stream (1847673)
  • ecosystem-tests/bun: bump dependencies (1e52734)
  • ecosystem-tests/cloudflare-worker: ignore lib errors for now (157248a)
  • ecosystem-tests: correct ecosystem tests setup (6fa0675)
  • embeddings: correctly decode base64 data (#​1448) (d6b99c8)
  • exports: add missing type exports (a816029)
  • exports: add missing type exports (#​1417) (06c03d7)
  • exports: ensure resource imports don't require /index (d028ad7)
  • helpers/zod: error on optional + not nullable fields (6e424b5)
  • internal: add mts file + crypto shim types (a06deb8)
  • internal: clean up undefined File test (da43aa9)
  • internal: fix file uploads in node 18 jest (abfff03)
  • internal: work around https://github.com/vercel/next.js/issues/76881 (#​1427) (84edc62)
  • jsr: correct zod config (04e30c0)
  • jsr: export realtime helpers (0ea64eb)
  • jsr: export zod helpers (77e1180)
  • mcp: remove unused tools.ts (#​1445) (4ba9947)
  • optimize sse chunk reading off-by-one error (#​1339) (b0b4189)
  • package: add chat/completions.ts back in (#​1333) (1f38cc1)
  • parsing: remove tool_calls default empty array (#​1341) (6d056bf)
  • realtime: call .toString() on WebSocket url (#​1324) (6e9444c)
  • responses: correct computer use enum value (66fb815)
  • responses: correct reasoning output type (9cb9576)
  • responses: correctly add output_text (8ae07cc)
  • responses: support streaming retrieve calls (657807c)
  • tests/embeddings: avoid cross-realm issue (aceaac0)
  • tests: don't rely on OPENAI_API_KEY env variable (087580a)
  • tests: manually reset node:buffer File (1d18ed4)
  • tests: port tests to new setup (9eb9854)
  • tests: stop using node:stream (317a04d)
  • threads: remove unused duplicative types (0b77c7c)
  • types: export AssistantStream (#​1472) (bc492ba)
  • types: export ParseableToolsParams (#​1486) (3e7c92c)
  • types: ignore missing id in responses pagination (d2be74a)
  • types: improve responses type names (#​1392) (4548326)
  • zod: warn on optional field usage (#​1469) (aea2d12)
Performance Improvements
Chores
  • add hash of OpenAPI spec/config inputs to .stats.yml (1b0a94d)
  • add missing type alias exports (5d75cb9)
  • api: updates to supported Voice IDs (28130c7)
  • ci: add timeout thresholds for CI jobs (5775451)
  • ci: bump node version for release workflows (bbf5d45)
  • ci: only use depot for staging repos (c59c3b5)
  • ci: run on more branches and use depot runners (e17a4f8)
  • client: drop support for EOL node versions (a326944)
  • client: expose headers on some streaming errors (#​1423) (6c93a23)
  • client: minor internal fixes (5032c28)
  • client: more accurate streaming errors (0c21914)
  • client: move misc public files to new core/ directory, deprecate old paths (38c9d54)
  • client: only accept standard types for file uploads (53e35c8)
  • deprecate Assistants API (0be23b9)
  • docs: add missing deprecation warnings (995075b)
  • docs: grammar improvements (7761cfb)
  • docs: improve docs for withResponse/asResponse (9f4c30b)
  • docs: improve migration doc (732d870)
  • docs: update zod tool call example, fix azure tests (f18ced8)
  • exports: cleaner resource index imports (#​1396) (023d106)
  • exports: stop using path fallbacks (09af7ff)
  • exports: stop using path fallbacks (#​1397) (7c3d212)
  • fix example types (20f179d)
  • improve publish-npm script --latest tag logic (6207a2a)
  • internal: add aliases for Record and Array (#​1443) (1cb66b6)
  • internal: add back release workflow (ca6266e)
  • internal: add Bun.File ecosystem test (cb4194f)
  • internal: add missing return type annotation (#​1334) (13aab10)
  • internal: add proxy ecosystem tests (619711a)
  • internal: bump migration cli version (a899c97)
  • internal: codegen related update (c735a3c)
  • internal: fix devcontainers setup (#​1343) (9485f5d)
  • internal: fix eslint ignores (ad5a9b6)
  • internal: fix examples (#​1457) (a100f0a)
  • internal: fix format script (3e1ea40)
  • internal: fix formatting (6469d53)
  • internal: fix lint (45a372c)
  • internal: fix release workflows (353349d)
  • internal: fix tests failing on node v18 (c54270a)
  • internal: fix tests not always being type checked (0266b41)
  • internal: improve node 18 shims (ee3f483)
  • internal: minor client file refactoring (d1aa00a)
  • internal: only run examples workflow in main repo (#​1450) (93569f3)
  • internal: reduce CI branch coverage (77fc77f)
  • internal: refactor utils (e7fbfbc)
  • internal: remove CI condition (#​1381) (e905c95)
  • internal: remove unnecessary todo (b55321e)
  • internal: run CI on update-specs branch (9c45ef3)
  • internal: run example files in CI (#​1357) (1044c48)
  • internal: share typescript helpers (2470933)
  • internal: skip broken test (#​1458) (58f4559)
  • internal: update @​types/bun (d94b41a)
  • internal: update release workflows (2cbf49a)
  • internal: upload builds and expand CI branch coverage (#​1460) (2d45287)
  • migration: add beta handling (3508099)
  • move ChatModel type to shared (236dbf4)
  • package: remove engines (500a82f)
  • perf: faster base64 decoding (11b9534)
  • tests: improve enum examples (#​1454) (15a86c9)
  • tests: stop using node-fetch, don't directly upload FormDataFile (ebd464f)
  • tests: switch proxy tests to fetchOptions (da6ed5f)
  • types: improved go to definition on fetchOptions (f1712cd)
  • update next to 14.2.25 for CVE-2025-29927 (1ed4288)
  • workaround build errors (e4a7f67)
  • workaround build errors (d6b396b)
Documentation
Refactors
  • client: remove deprecated runFunctions method (e29a009)
  • functions: rename function helper methods to include tools (fdd6f66)

Configuration

📅 Schedule: 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.

@coderabbitai
Copy link

coderabbitai bot commented Jun 12, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Join our Discord community for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@zerob13 zerob13 merged commit 3649663 into master Jun 13, 2025
1 check passed
@renovate renovate bot changed the title Update dependency openai to v5 Update dependency openai to v5 - autoclosed Jun 13, 2025
@renovate renovate bot deleted the renovate/openai-5.x branch June 13, 2025 04:19
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.

2 participants