Skip to content

chore(deps): bump @ai-sdk/openai from 3.0.77 to 4.0.2 - #43

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

chore(deps): bump @ai-sdk/openai from 3.0.77 to 4.0.2#43
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/ai-sdk/openai-4.0.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 28, 2026

Copy link
Copy Markdown
Contributor

Bumps @ai-sdk/openai from 3.0.77 to 4.0.2.

Release notes

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

@​ai-sdk/openai@​4.0.2

Patch Changes

  • Updated dependencies [6a436e3]
    • @​ai-sdk/provider-utils@​5.0.1

@​ai-sdk/openai@​4.0.1

Patch Changes

  • 9507724: feat(openai): add support for web_search_call.results include option
Changelog

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

4.0.2

Patch Changes

  • Updated dependencies [6a436e3]
    • @​ai-sdk/provider-utils@​5.0.1

4.0.1

Patch Changes

  • 9507724: feat(openai): add support for web_search_call.results include option

4.0.0

Major Changes

  • 34bd95d: feat(ai): add support for uploading provider skills using the provider references abstraction

  • ef992f8: Remove CommonJS exports from all packages. All packages are now ESM-only ("type": "module"). Consumers using require() must switch to ESM import syntax.

  • c29a26f: feat(provider): add support for provider references and uploading files as supported per provider

  • 3887c70: feat(provider): add new top-level reasoning parameter to spec and support it in generateText and streamText

  • 61753c3: ### @ai-sdk/openai: remove redundant name argument from openai.tools.customTool()

    openai.tools.customTool() no longer accepts a name field. the tool name is now derived from the sdk tool key (the object key in the tools object).

    migration: remove the name property from customTool() calls. the object key is now used as the tool name sent to the openai api.

    before:

    tools: {
      write_sql: openai.tools.customTool({
        name: 'write_sql',
        description: '...',
      }),
    }

    after:

    tools: {
      write_sql: openai.tools.customTool({
        description: '...',
      }),
    }

    @ai-sdk/provider-utils: createToolNameMapping() no longer accepts the resolveProviderToolName parameter

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@ai-sdk/openai](https://github.com/vercel/ai/tree/HEAD/packages/openai) from 3.0.77 to 4.0.2.
- [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.2/packages/openai)

---
updated-dependencies:
- dependency-name: "@ai-sdk/openai"
  dependency-version: 4.0.2
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Jun 28, 2026
@deepsource-io

deepsource-io Bot commented Jun 28, 2026

Copy link
Copy Markdown

DeepSource Code Review

We reviewed changes in ec101d2...3437fe8 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 Grade   Security  

Reliability  

Complexity  

Hygiene  

Code Review Summary

Analyzer Status Updated (UTC) Details
JavaScript Jun 28, 2026 4:08p.m. Review ↗
Secrets Jun 28, 2026 4:08p.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.

@ZeR020

ZeR020 commented Jun 28, 2026

Copy link
Copy Markdown
Owner

Closing — @ai-sdk/openai 4.0.2 is a breaking major bump. LanguageModelV4 type is not assignable to LanguageModel (TS2322 in opencode-provider.ts). Requires manual migration to the AI SDK v4 type system. Dependabot has been configured to only open minor/patch updates going forward.

@dependabot @github

dependabot Bot commented on behalf of github Jun 28, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/ai-sdk/openai-4.0.2 branch June 28, 2026 16:28
ZeR020 added a commit that referenced this pull request Jun 28, 2026
…ndabot to minor/patch (#45)

- SonarCloud workflow: add if guard to skip Dependabot fork PRs.
  SONAR_TOKEN isn't available to fork PRs, causing 'Not authorized'
  failures on all 5 Dependabot PRs (#39-#43).
- Remove .coderabbit.yaml — CodeRabbit not needed.
- Dependabot: restrict to semver-minor and semver-patch updates only.
  Major bumps (TypeScript 6, @ai-sdk/openai 4) break types/APIs and
  require manual migration.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant