Skip to content

chore(deps): bump @ai-sdk/xai from 3.0.96 to 4.0.2 - #146

Merged
github-actions[bot] merged 2 commits into
mainfrom
dependabot/bun/ai-sdk/xai-4.0.2
Oct 29, 2026
Merged

github-actions[bot] merged 2 commits into
mainfrom
dependabot/bun/ai-sdk/xai-4.0.2

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps @ai-sdk/xai from 3.0.96 to 4.0.2.

Release notes

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

@​ai-sdk/xai@​4.0.2

Patch Changes

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

@​ai-sdk/xai@​4.0.1

Patch Changes

  • ba6d510: chore: fix deprecated use of zod .passthrough()

@​ai-sdk/xai@​3.0.100

Patch Changes

  • Updated dependencies [b30e43a]
    • @​ai-sdk/provider-utils@​4.0.33
    • @​ai-sdk/openai-compatible@​2.0.54
Changelog

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

4.0.2

Patch Changes

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

4.0.1

Patch Changes

  • ba6d510: chore: fix deprecated use of zod .passthrough()

4.0.0

Major Changes

  • f7d4f01: feat(provider): add support for reasoning-file type for files that are part of reasoning

  • 776b617: feat(provider): adding new 'custom' content type

  • 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

  • 8359612: Start v7 pre-release

  • 04e9009: chore: make provider implementations code patterns more consistent, including renaming certain exported symbols

    For all externally exported symbols that were renamed, the old names continue to work via deprecated aliases.

  • f62681f: feat(provider/xai): make responses api the default

Patch Changes

  • 38fc777: Add AI Gateway hint to provider READMEs
  • 85735d8: fix(xai): stop emitting additionalProperties flag
  • 74d520f: feat: migrate providers to support new top-level reasoning parameter
  • 25f1837: feat(xai): add b64_json response format, usage cost tracking, and quality/user parameters for image models
  • a0b0a0c: expose costInUsdTicks in responses provider metadata
  • aa5a583: chore(provider/xai): remove obsolete Grok 2 models now that they are shut down in their API
  • e5bdc8d: fix (provider/xai): handle mid-stream error chunks
  • 4799fa5: chore(provider/xai): update provider to use v4 types
  • 813851f: fix (provider/xai): add response.incomplete and response.failed streaming event handling
  • 2dc2a52: fix reasoning-start dedupe on multi-summary-part responses to prevent xai 400 on continuation requests
  • 9f0e36c: trigger release for all packages after provenance setup
  • 58a2ad7: fix: more precise default message for tool execution denial
  • d20829e: feat(provider/xai): add moderation error, and costInUsdTicks to video model
  • 7fc6bd6: Raise minimum supported Node.js version to 22. Supported versions: 22, 24, and 26.
  • 0f11f10: add reasoningSummary to responses API provider options
  • 23f9d72: deprecate searchParameters (xai live search) in favor of web_search/x_search agent tools
  • 0c4c275: trigger initial canary release
  • 1293885: surface full xai error detail in APICallError.message instead of falling back to http status text
  • 8d87577: fix(xai): support encrypted reasoning round-trip for ZDR

... (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/xai](https://github.com/vercel/ai/tree/HEAD/packages/xai) from 3.0.96 to 4.0.2.
- [Release notes](https://github.com/vercel/ai/releases)
- [Changelog](https://github.com/vercel/ai/blob/main/packages/xai/CHANGELOG.md)
- [Commits](https://github.com/vercel/ai/commits/@ai-sdk/xai@4.0.2/packages/xai)

---
updated-dependencies:
- dependency-name: "@ai-sdk/xai"
  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 dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jun 29, 2026
@divyeshio

Copy link
Copy Markdown
Owner

@dependabot rebase

@github-actions
github-actions Bot merged commit 04f6ca0 into main Oct 29, 2026
4 of 6 checks passed
@github-actions
github-actions Bot deleted the dependabot/bun/ai-sdk/xai-4.0.2 branch October 29, 2026 06:08
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 javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant