Skip to content

fix(deps): update dependency @ai-sdk/react to v2 #153

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 2, 2025

This PR contains the following updates:

Package Change Age Confidence
@ai-sdk/react (source) 1.2.12 -> 2.0.22 age confidence

Release Notes

vercel/ai (@​ai-sdk/react)

v2.0.22

Compare Source

Patch Changes
  • ai@5.0.22

v2.0.21

Compare Source

Patch Changes

v2.0.20

Compare Source

Patch Changes
  • Updated dependencies [8a87693]
    • ai@5.0.20

v2.0.19

Compare Source

Patch Changes

v2.0.18

Compare Source

Patch Changes
  • 5e47d00: Support Responses API input_file file_url passthrough for PDFs.

    This adds:

    • file_url variant to OpenAIResponses user content
    • PDF URL mapping to input_file with file_url in Responses converter
    • PDF URL support in supportedUrls to avoid auto-download

v2.0.17

Compare Source

Patch Changes
  • 70bb696: fix(provider/openai): correct web search tool input

v2.0.16

Compare Source

Patch Changes

v2.0.15

Compare Source

Patch Changes
  • a4bef93: feat(provider/openai): expose web search queries in responses api

  • 6ed34cb: refactor(openai): consolidate model config into getResponsesModelConfig()

    #​8038

v2.0.14

Compare Source

Patch Changes
  • 7f47105: fix(provider/openai): support file_citation annotations in responses api

v2.0.13

Compare Source

Patch Changes
  • 72757a0: feat (provider/groq): add service tier provider option

v2.0.12

Compare Source

Patch Changes

v2.0.11

Compare Source

Patch Changes
  • 097b452: feat(openai, azure): add configurable file ID prefixes for Responses API

    • Added fileIdPrefixes option to OpenAI Responses API configuration
    • Azure OpenAI now supports assistant- prefixed file IDs (replacing previous file- prefix support)
    • OpenAI maintains backward compatibility with default file- prefix
    • File ID detection is disabled when fileIdPrefixes is undefined, gracefully falling back to base64 processing
  • 87cf954: feat(provider/openai): add support for prompt_cache_key

  • a3d98a9: feat(provider/openai): add support for safety_identifier

  • 110d167: fix(openai): add missing file_search_call handlers in responses streaming

  • 8d3c747: chore(openai): remove deprecated GPT-4.5-preview models and improve autocomplete control

  • Updated dependencies [38ac190]

v2.0.10

Compare Source

Patch Changes
  • ff008b9: fix(groq): strip unsupported reasoning fields for non-reasoning models

v2.0.9

Compare Source

Patch Changes
  • 8f8a521: fix(providers): use convertToBase64 for Uint8Array image parts to produce valid data URLs; keep mediaType normalization and URL passthrough

v2.0.8

Compare Source

Patch Changes
  • 57fb959: feat(openai): add verbosity parameter support for chat api
  • 2a3fbe6: allow minimal in reasoningEffort for openai chat

v2.0.7

Compare Source

Patch Changes

v2.0.6

Compare Source

Patch Changes

v2.0.5

Compare Source

Patch Changes
  • 6753a2e: feat(examples): add gpt-5 model examples and e2e tests
  • 6cba06a: feat (provider/openai): add reasoning model config

v2.0.4

Compare Source

Patch Changes
  • 961dda1: add labels field to providerOptions

v2.0.3

Compare Source

Patch Changes

v2.0.2

Compare Source

Patch Changes
  • 63e2016: fix(openai): missing url citations from web search tools

v2.0.1

Compare Source

Patch Changes

v2.0.0

Compare Source

Major Changes
Patch Changes
  • 78e7fa9: Add code execution provider defined tool

  • f916255: feat (provider/google): add new gemini models

  • 19a4336: Expose raw usageMetadata returned from Google Generative AI in providerMetadata

  • 8af9e03: Added Image Models to the Google Provider for Imagen 3 Support

  • 1a635b5: update supportedUrls to only support native URL

  • 888b750: feat(providers/google): Add taskType support for Text Embedding Models

  • 3259565: feat (providers/google): add thinking config to provider options

  • e2aceaf: feat: add raw chunk support

  • eb173f1: chore (providers): remove model shorthand deprecation warnings

  • 6a16dcf: embed() now uses the single embeddings endpoint
    No code updates are needed.

    This is to make sure that users are not ratelimited when using the batch endpoint, since many models have different limits for batch and single embeddings.

    Eg: Google has a limit of 150 RPM for batch requests, and 1500 RPM for single requests.

    Before, AI SDK would always use the batch endpoint, even for embed() calls, which led to ratelimits.

    This does not have any breaking functionality and is fully tested :)
    if (values.length > 1) {
    const batchResult = await this.doEmbedBatch({
    values,
    options,
    });
    return batchResult;
    }

  • 26735b5: chore(embedding-model): add v2 interface

  • 5cf30ea: fix (provider/google): allow "OFF" for Google HarmBlockThreshold

  • 443d8ec: feat(embedding-model-v2): add response body field

  • c68931f: Support tool schemas that allow additional properties (e.g z.record(z.string()))

  • 66962ed: fix(packages): export node10 compatible types

  • a313780: fix: omit system message for gemma models

  • fd98925: chore(providers/google): update embedding model to use providerOptions

  • cb787ac: fix: remove non-functional models

  • 7378473: chore(providers/google): switch to providerOptions

  • f07a6d4: fix(providers/google): accept nullish in safetyRatings

  • 75f03b1: Add Gemini 2.5 Flash Lite GA

  • 779d916: feat: add provider option schemas for vertex imagegen and google genai

  • 581a9be: fix (provider/google): prevent error when thinking signature is used

  • 2e06f14: feat (provider/google): Change to provider defined tools

    • Change the google search tool to be a provider defined tool
    • Added new URL context tool as a provider defined tool
  • 8e6b69d: feat(providers/google): Add support for Gemini 2.5 Pro and Gemini 2.5 Flash (now stable)

  • 42fcd32: feat(google): automatically handle system instructions for Gemma models

  • d1a034f: feature: using Zod 4 for internal stuff

  • fd65bc6: chore(embedding-model-v2): rename rawResponse to response

  • 878bf45: removes (unsupported) additionalProperties from the Schema sent in the request payloads to Google APIs

  • 0f05690: Add gemini-embedding-001 model, add embedding provider options type export

  • 7badba2: fix(google): grounding streaming sources

  • 205077b: fix: improve Zod compatibility

  • f10304b: feat(tool-calling): don't require the user to have to pass parameters

  • Updated dependencies [a571d6e]

  • Updated dependencies [742b7be]

  • Updated dependencies [e7fcc86]

  • Updated dependencies [7cddb72]

  • Updated dependencies [ccce59b]

  • Updated dependencies [e2b9e4b]

  • Updated dependencies [95857aa]

  • Updated dependencies [45c1ea2]

  • Updated dependencies [6f6bb89]

  • Updated dependencies [060370c]

  • Updated dependencies [dc714f3]

  • Updated dependencies [b5da06a]

  • Updated dependencies [d1a1aa1]

  • Updated dependencies [63f9e9b]

  • Updated dependencies [5d142ab]

  • Updated dependencies [d5f588f]

  • Updated dependencies [e025824]

  • Updated dependencies [0571b98]

  • Updated dependencies [b6b43c7]

  • Updated dependencies [4fef487]

  • Updated dependencies [48d257a]

  • Updated dependencies [0c0c0b3]

  • Updated dependencies [0d2c085]

  • Updated dependencies [40acf9b]

  • Updated dependencies [9222aeb]

  • Updated dependencies [e2aceaf]

  • Updated dependencies [411e483]

  • Updated dependencies [8ba77a7]

  • Updated dependencies [7b3ae3f]

  • Updated dependencies [a166433]

  • Updated dependencies [26735b5]

  • Updated dependencies [443d8ec]

  • Updated dependencies [a8c8bd5]

  • Updated dependencies [abf9a79]

  • Updated dependencies [14c9410]

  • Updated dependencies [e86be6f]

  • Updated dependencies [9bf7291]

  • Updated dependencies [2e13791]

  • Updated dependencies [9f95b35]

  • Updated dependencies [66962ed]

  • Updated dependencies [0d06df6]

  • Updated dependencies [472524a]

  • Updated dependencies [dd3ff01]

  • Updated dependencies [d9c98f4]

  • Updated dependencies [05d2819]

  • Updated dependencies [9301f86]

  • Updated dependencies [0a87932]

  • Updated dependencies [c4a2fec]

  • Updated dependencies [957b739]

  • Updated dependencies [79457bd]

  • Updated dependencies [a3f768e]

  • Updated dependencies [7435eb5]

  • Updated dependencies [8aa9e20]

  • Updated dependencies [4617fab]

  • Updated dependencies [ac34802]

  • Updated dependencies [0054544]

  • Updated dependencies [cb68df0]

  • Updated dependencies [ad80501]

  • Updated dependencies [68ecf2f]

  • Updated dependencies [9e9c809]

  • Updated dependencies [32831c6]

  • Updated dependencies [6dc848c]

  • Updated dependencies [6b98118]

  • Updated dependencies [d0f9495]

  • Updated dependencies [63d791d]

  • Updated dependencies [87b828f]

  • Updated dependencies [3f2f00c]

  • Updated dependencies [bfdca8d]

  • Updated dependencies [0ff02bb]

  • Updated dependencies [7979f7f]

  • Updated dependencies [39a4fab]

  • Updated dependencies [44f4aba]

  • Updated dependencies [9bd5ab5]

  • Updated dependencies [57edfcb]

  • Updated dependencies [faf8446]

  • Updated dependencies [7ea4132]

  • Updated dependencies [d1a034f]

  • Updated dependencies [5c56081]

  • Updated dependencies [fd65bc6]

  • Updated dependencies [023ba40]

  • Updated dependencies [ea7a7c9]

  • Updated dependencies [26535e0]

  • Updated dependencies [e030615]

  • Updated dependencies [5e57fae]

  • Updated dependencies [393138b]

  • Updated dependencies [c57e248]

  • Updated dependencies [88a8ee5]

  • Updated dependencies [41fa418]

  • Updated dependencies [205077b]

  • Updated dependencies [71f938d]

  • Updated dependencies [3795467]

  • Updated dependencies [28a5ed5]

  • Updated dependencies [7182d14]

  • Updated dependencies [c1e6647]

  • Updated dependencies [1766ede]

  • Updated dependencies [811dff3]

  • Updated dependencies [f10304b]

  • Updated dependencies [dd5fd43]

  • Updated dependencies [33f4a6a]

  • Updated dependencies [383cbfa]

  • Updated dependencies [27deb4d]

  • Updated dependencies [c4df419]


Configuration

📅 Schedule: Branch creation - "every weekend" in timezone US/Eastern, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, 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.

@renovate renovate bot force-pushed the renovate/ai-sdk-react-2.x branch 12 times, most recently from 49621f7 to c3ca252 Compare August 9, 2025 09:38
@renovate renovate bot force-pushed the renovate/ai-sdk-react-2.x branch 9 times, most recently from 21f65c2 to 981bc60 Compare August 16, 2025 14:52
@renovate renovate bot force-pushed the renovate/ai-sdk-react-2.x branch 8 times, most recently from 4763200 to dbcc0dd Compare August 21, 2025 20:30
@renovate renovate bot force-pushed the renovate/ai-sdk-react-2.x branch from dbcc0dd to 97ecb15 Compare August 22, 2025 07:05
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.

0 participants