Skip to content

build(deps): bump @ai-sdk/openai from 3.0.71 to 4.0.16 - #249

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/ai-sdk/openai-3.0.74
Closed

build(deps): bump @ai-sdk/openai from 3.0.71 to 4.0.16#249
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/ai-sdk/openai-3.0.74

Conversation

@dependabot

@dependabotdependabotBot commented on behalf of githubJun 29, 2026

Copy link
Copy Markdown
Contributor

Bumps @ai-sdk/openai from 3.0.71 to 4.0.16.

Release notes

Sourced from @​ai-sdk/openai's releases.

@​ai-sdk/openai@​3.0.88

Patch Changes

  • 8100830: Apply reasoning, service tier, and image defaults to recognizable future OpenAI model family versions.
Changelog

Sourced from @​ai-sdk/openai's changelog.

4.0.16

Patch Changes

  • 75f86f4: fix(provider/openai, provider/open-responses): throw a descriptive error when the Responses API returns a 200 with no output

    A successful (200) Responses body missing the output array previously threw an opaque output is not iterable TypeError from doGenerate. Both providers now surface a clear APICallError ("Responses API returned no output …"), including the incomplete-details reason (and status, for open-responses) when present. When the body includes a response.error, its message is surfaced first so upstream error details aren't masked by the generic fallback. This makes malformed/incomplete upstream responses actionable instead of a cryptic crash.

  • Updated dependencies [cd06458]

    • @​ai-sdk/provider-utils@​5.0.11

4.0.15

Patch Changes

  • 0063c2d: Add the client-executed OpenAI Responses API computer tool with batched actions and screenshot outputs.

4.0.14

Patch Changes

  • Updated dependencies [31c7be8]
    • @​ai-sdk/provider-utils@​5.0.10

4.0.13

Patch Changes

  • 7805e4a: Fix realtime transcription auth header handling: per-call authorization headers now override configuration headers regardless of header-key casing (last case-variant wins), and the Bearer scheme is matched case-insensitively.
  • cd12954: Reject empty OpenAI, Anthropic, and Replicate base URLs with a helpful AI SDK invalid argument error.
  • Updated dependencies [4be62c1]
  • Updated dependencies [7805e4a]
  • Updated dependencies [cd12954]
    • @​ai-sdk/provider-utils@​5.0.9

4.0.12

Patch Changes

  • e193290: Add connectToWebSocket to @ai-sdk/provider-utils: a shared WebSocket connect layer (constructor resolution, header hygiene, abort wiring, message decoding) analogous to postToApi for HTTP. The openai and xai streaming transcription models now use it instead of hand-rolled connects. For openai and xai this also means WebSocket constructor failures now surface as stream errors instead of throwing synchronously from doStream, an already-aborted signal no longer constructs a socket, and the caller's audio stream is cancelled on pre-open failures. Messages are processed in order with close handling deferred behind pending frames, audio send loops apply backpressure via the socket's bufferedAmount, and failed sends cancel the caller's audio stream.
  • e193290: Fix streaming transcription over header-capable WebSocket implementations: the realtime WebSocket handshake sent the api key in both the openai-insecure-api-key subprotocol and the Authorization header, which OpenAI rejects ("You must only send one of protocol api key and Authorization header"). The Authorization header is now stripped when the subprotocol carries the key.
  • e193290: Strip undefined header values before the streaming transcription WebSocket constructor (header-capable implementations like ws throw on undefined values).
  • Updated dependencies [e193290]
    • @​ai-sdk/provider-utils@​5.0.8

4.0.11

Patch Changes

... (truncated)

Commits
  • 9352ac1 Version Packages (#17417)
  • 75f86f4 fix(provider/openai, provider/open-responses): guard Responses API responses ...
  • b8241a6 Version Packages (#17264)
  • 0063c2d feat: add OpenAI Responses API computer tool support (#17290)
  • 6976682 Version Packages (#17196)
  • cb68fa6 Version Packages (#17175)
  • cd12954 fix: reject empty OpenAI, Anthropic, and Replicate base URLs with a helpful e...
  • 7805e4a feat(provider-utils): experimental transcription-stream WebSocket envelope (#...
  • cc3ab3a Version Packages (#17172)
  • e193290 fix: streaming transcription WebSocket fixes + shared connect layer (#17093)
  • Additional commits viewable in compare view

@dependabotdependabotBot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jun 29, 2026
@dependabot
dependabotBot requested a review from qnbs as a code ownerJune 29, 2026 23:48
@dependabotdependabotBot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jun 29, 2026
@vercel

vercelBot commented Jun 29, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

ProjectDeploymentActionsUpdated (UTC)
worldscript-studioReadyReadyPreview, CommentJul 26, 2026 5:50pm

@socket-security

socket-securityBot commented Jun 29, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

DiffPackageSupply Chain
Security
VulnerabilityQualityMaintenanceLicense
Addednpm/​@​ai-sdk/​openai@​4.0.16781008898100

View full report

@deepsource-io

deepsource-ioBot commented Jun 29, 2026

Copy link
Copy Markdown

DeepSource Code Review

We reviewed changes in 79aace8...1c9cb4e on this pull request. Below is the summary for the review, and you can see the individual issues we found as inline review comments.

See full review on DeepSource ↗

PR Report Card

Overall GradeSecurity

Reliability

Complexity

Hygiene

Code Review Summary

AnalyzerStatusUpdated (UTC)Details
DockerJun 29, 2026 11:48p.m.Review ↗
JavaScriptJun 29, 2026 11:48p.m.Review ↗
CSSJun 29, 2026 11:48p.m.Review ↗
RustJun 29, 2026 11:48p.m.Review ↗

Important

AI Review is run only on demand for your team. We're only showing results of static analysis review right now. To trigger AI Review, comment @deepsourcebot review on this thread.

@codeant-ai

codeant-aiBot commented Jul 26, 2026

Copy link
Copy Markdown

🏁 CodeAnt Quality Gate Results

Commit:f0fa5f7e
Scan Time: 2026-07-28 08:28:04 UTC

✅ Overall Status: PASSED

Quality Gate Details

Quality GateStatusDetails
Secrets✅ PASSED0 secrets found
Duplicate Code✅ PASSED0.0% duplicated
SAST✅ PASSEDNo security issues
Bugs✅ PASSEDRating S: No bugs
IAC✅ PASSEDNo IAC issues

View Full Results

Bumps [@ai-sdk/openai](https://github.com/vercel/ai/tree/HEAD/packages/openai) from 3.0.71 to 4.0.16.
- [Release notes](https://github.com/vercel/ai/releases)
- [Changelog](https://github.com/vercel/ai/blob/main/packages/openai/CHANGELOG.md)
- [Commits](https://github.com/vercel/ai/commits/@ai-sdk/openai@4.0.16/packages/openai)
---
updated-dependencies:
- dependency-name: "@ai-sdk/openai"
dependency-version: 3.0.74
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
@dependabotdependabotBot changed the title build(deps): bump @ai-sdk/openai from 3.0.71 to 3.0.74build(deps): bump @ai-sdk/openai from 3.0.71 to 4.0.16Jul 26, 2026
@dependabot
dependabotBotforce-pushed the dependabot/npm_and_yarn/ai-sdk/openai-3.0.74 branch from 1c9cb4e to f0fa5f7CompareJuly 26, 2026 17:43
qnbs added a commit that referenced this pull request Jul 28, 2026
…i/react) (#275)
Bumps ai 6.0.206 -> 7.0.37, @ai-sdk/google 3.0.82 -> 4.0.24,
@ai-sdk/openai 3.0.71 -> 4.0.20, @ai-sdk/react 3.0.201 -> 4.0.40 as one
coordinated unit, superseding Dependabot PRs #255, #249, #253, #250.
Root cause for not merging them individually: @ai-sdk/google@4 emits
the new LanguageModelV4 spec, but the `ai` package's LanguageModel type
only recognizes it from v7 onward -- upgrading @ai-sdk/google alone
(as #255 proposed) left services/ai/providerFactory.ts with a real
tsc error (LanguageModelV4 not assignable to LanguageModelV2 |
LanguageModelV3). Bumping the whole family together resolves it with
no application code changes needed.
Verified: pnpm run typecheck (clean), pnpm run lint (clean), and the
full AI-provider/completion-fetch test suites (171 tests across
aiProviderService.test.ts, geminiService.test.ts, providerFactory.test.ts,
useWorldScriptAI.test.ts, worldScriptCompletionFetch.test.ts) all passing.
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
@dependabot@github

dependabotBot commented on behalf of githubJul 28, 2026

Copy link
Copy Markdown
ContributorAuthor

Looks like @ai-sdk/openai is up-to-date now, so this is no longer needed.

@dependabotdependabotBot closed this Jul 28, 2026
@dependabot
dependabotBot deleted the dependabot/npm_and_yarn/ai-sdk/openai-3.0.74 branch July 28, 2026 08:27
@qnbs

qnbs commented Jul 28, 2026

Copy link
Copy Markdown
Owner

Superseded by #275, which bumps the whole AI SDK family (ai 6→7, @ai-sdk/google/@ai-sdk/openai/@ai-sdk/react 3→4) together as one coordinated unit. Merging this PR alone would have left @ai-sdk/google@4's new LanguageModelV4 spec unrecognized by the pre-upgrade ai package's LanguageModel type (a real tsc error, confirmed via CI). #275 has merged into main. Closing this one.

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

Labels

dependenciesPull requests that update a dependency filejavascriptPull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@qnbs