Packages

@ai-sdk/google

4.0.122 · 17 Nov 2026Apache-2.014.6M / weekRepositoryHomepagenpmAtom feed

Upgrading @ai-sdk/google From 2.0.42 to 2.0.43

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 2.0.42Newest 2.x2.0.111Latest4.0.122
  1. 2.0.42yours
  2. 2.0.43target
0
changes to make
0
advisories fixed
0
new
1
fix

Release by release

  1. 2.0.43

    24 Nov 20251 fix
    • Fixed

      Fixed Zod validation error when using google.tools.fileSearch(). The Google File Search API returns fileSearchStore instead of uri in retrievedContext. Updated extractSources() function to handle both the old format (Google Search with uri) and new format (File Search with fileSearchStore), maintaining backward compatibility while preventing validation errors. Also fixed title handling to use undefined for URL sources and 'Unknown Document' for document sources.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.