PackageTrack

npm · #4234

@ai-sdk/google

4.0.54vercel/ai

Release timeline

636 releases since 2024
20252026

Releases

  1. 3.0.718 May 2026

    Nothing published for this version

  2. 3.0.707 May 2026

    Nothing published for this version

  3. 3.0.686 May 2026
    Release notes4 sources agree

    Patch Changes

    Open source →
  4. 3.0.671 May 2026
    Release notes3 sources agree

    Patch Changes

    Open source →
    Additional notes

    Patch Changes

    • 404a9d9: Preserve tool input lifecycles when LangGraph steps reuse a provider tool call ID.
    Open source →
  5. 3.0.6630 Apr 2026
    Release notes4 sources agree

    Patch Changes

    Open source →
  6. 3.0.6529 Apr 2026
    Release notes4 sources agree

    Patch Changes

    • Updated dependencies [dc8caae]
    • Updated dependencies [72ec74f]
    • Updated dependencies [c5b0515]
    Open source →
  7. 3.0.6416 Apr 2026

    Nothing published for this version

  8. 3.0.6313 Apr 2026

    Nothing published for this version

  9. 3.0.6211 Apr 2026

    Nothing published for this version

  10. 3.0.619 Apr 2026

    Nothing published for this version

  11. 3.0.607 Apr 2026
    Release notes

    Patch Changes

    Open source →
  12. 3.0.596 Apr 2026

    Nothing published for this version

  13. 3.0.583 Apr 2026
    Release notes

    Patch Changes

    Open source →
  14. 3.0.573 Apr 2026

    Nothing published for this version

  15. 3.0.562 Apr 2026

    Nothing published for this version

  16. 3.0.551 Apr 2026
    Release notes

    Patch Changes

    Open source →
  17. 3.0.5430 Mar 2026
    Release notes

    Patch Changes

    Open source →
  18. 3.0.5323 Mar 2026

    Nothing published for this version

  19. 3.0.5220 Mar 2026

    Nothing published for this version

  20. 3.0.5110 Mar 2026

    Nothing published for this version

  21. 3.0.5010 Mar 2026

    Nothing published for this version

  22. 3.0.4910 Mar 2026

    Nothing published for this version

  23. 3.0.4810 Mar 2026

    Nothing published for this version

  24. 3.0.479 Mar 2026

    Nothing published for this version

  25. 3.0.465 Mar 2026

    Nothing published for this version

  26. 3.0.455 Mar 2026

    Nothing published for this version

  27. 3.0.445 Mar 2026

    Nothing published for this version

  28. 3.0.435 Mar 2026
    Release notes

    Patch Changes

    • 7ba09a4: Fix gateway failover losing thoughtSignature when failing over from Vertex to Google AI Studio. The Google provider now falls back to checking the vertex namespace for thoughtSignature, matching the existing Vertex-to-Google fallback behavior.
    Open source →
  29. 3.0.425 Mar 2026
    Release notes

    Patch Changes

    Open source →
  30. 3.0.415 Mar 2026
    Release notes

    Patch Changes

    Open source →
  31. 3.0.404 Mar 2026
    Release notes

    Patch Changes

    • 89d8b45: fix(google): make urlMetadata optional in urlContextMetadata schema
    Open source →
  32. 3.0.394 Mar 2026
    Release notes

    Patch Changes

    • 2565e70: feat(google): add support for image search, replace obsolete google_search_retrieval implementation
    Open source →
  33. 3.0.384 Mar 2026
    Release notes

    Patch Changes

    Open source →
    Additional notes

    Patch Changes

    • 2291047: fix(ai): fix missing support for image thought signatures (e.g. for Gemini image models)
    Open source →
  34. 3.0.373 Mar 2026
    Release notes

    Patch Changes

    • 10bec50: feat(provider/google): add gemini-3.1-flash-lite-preview
    Open source →
  35. 3.0.362 Mar 2026
    Release notes

    Patch Changes

    Open source →
  36. 3.0.352 Mar 2026
    Release notes

    Patch Changes

    • 9435df8: feat(provider/moonshotai): normalize tool schemas for Moonshot's MFJS validator. Tuple items arrays become prefixItems, type next to anyOf moves into the branches, and non-object root schemas fail with a clear client-side error instead of Moonshot's opaque 400. Everything else passes through unchanged; the original schema is still used for AI SDK result validation.
    Open source →
    Additional notes

    Patch Changes

    • 64a8fae: chore: remove obsolete model IDs for Anthropic, Google, OpenAI, xAI
    Open source →
  37. 3.0.3428 Feb 2026
    Release notes

    Patch Changes

    • ba40fab: fix(fireworks): enable structured outputs so response_format json_schema is forwarded instead of degrading to json_object
    Open source →
    Additional notes

    Patch Changes

    Open source →
  38. 3.0.3326 Feb 2026
    Release notes

    Patch Changes

    Open source →
    Additional notes

    Patch Changes

    • 1ece97a: feat(provider/google): add support for new Google image model aspect ratios and sizes
    Open source →
  39. 3.0.3226 Feb 2026
    Release notes

    Patch Changes

    Open source →
    Additional notes

    Patch Changes

    • 45f0a7f: feat(provider/google): add support for gemini-3.1-flash-image-preview
    Open source →
  40. 3.0.3124 Feb 2026
    Release notes

    Patch Changes

    • 86892f3: fix(openai-compatible): preserve unmapped usage fields in usage.raw

      usage.raw is specified as usage "in the shape that the provider returns", and the chat model already parsed the usage object loosely so that extra top-level fields survived. The nested prompt_tokens_details and completion_tokens_details objects were still strict, so anything a provider reported inside them was dropped — which is where providers put their most distinguishing detail. The existing "should preserve extra usage fields" fixture was itself losing audio_tokens, image_tokens and text_tokens this way.

      Both nested objects are now parsed loosely, as is the completion model's usage schema, which was strict throughout despite feeding the same raw field.

      Only usage.raw changes. The mapped token counts are unaffected.

    Open source →
    Additional notes2 sources agree

    Patch Changes

    Open source →
    Additional notes

    Patch Changes

    • 2fa3ca8: Added missing model IDs to GoogleGenerativeAIModelId and GoogleGenerativeAIVideoModelId types for better autocomplete support.
    Open source →
  41. 3.0.3019 Feb 2026
    Release notes

    Patch Changes

    • 765b013: feat(provider/google): add support for gemini-3.1-pro-preview
    Open source →
  42. 3.0.2912 Feb 2026
    Release notes

    Patch Changes

    Open source →
  43. 3.0.2812 Feb 2026
    Release notes

    Patch Changes

    • 5a307f5: feat(provider/google-vertex): allow using Gemini image models with generateImage
    Open source →
  44. 3.0.2712 Feb 2026
    Release notes

    Patch Changes

    • 051361b: fix(vertex): add fallback for providerOptions keyname
    Open source →
  45. 3.0.2611 Feb 2026
    Release notes

    Patch Changes

    • 4c27179: feat(google): allow using Gemini image models with generateImage
    Open source →
  46. 3.0.2511 Feb 2026
    Release notes

    Patch Changes

    • 99fbed8: feat: normalize provider specific model options type names and ensure they are exported
    Open source →
  47. 3.0.2410 Feb 2026
    Release notes

    Patch Changes

    • 3b3e32f: fix(google): handle thoughtSignature on empty-text parts in doGenerate and doStream
    Open source →
  48. 3.0.239 Feb 2026
    Release notes

    Patch Changes

    • ba98c56: fix(google): make codeExecutionResult.output optional in response schema

      Gemini 3 Flash omits the output field in codeExecutionResult when code execution produces no text output (e.g., only saves files). The Zod response schema now accepts a missing output field and defaults it to an empty string.

    Open source →
  49. 3.0.226 Feb 2026
    Release notes

    Patch Changes

    Open source →
  50. 3.0.214 Feb 2026
    Release notes

    Patch Changes

    • ae30443: fix(google): remove shut down gemini-2.5-flash-image-preview
    Open source →
  51. 3.0.201 Feb 2026
    Release notes

    Patch Changes

    Open source →
  52. 3.0.1931 Jan 2026
    Release notes

    Patch Changes

    Open source →
  53. 3.0.1829 Jan 2026
    Release notes

    Patch Changes

    Open source →
  54. 3.0.1729 Jan 2026
    Release notes

    Patch Changes

    • 1524271: chore: add skill information to README files
    Open source →
  55. 3.0.1628 Jan 2026
    Release notes

    Patch Changes

    • 97b3ebb: fix (provider/google): make segment optional in groundingSupports schema

      The Google Generative AI API sometimes returns grounding supports without a segment field. This change makes the segment field optional to handle these responses correctly.

    Open source →
  56. 3.0.1527 Jan 2026
    Release notes

    Patch Changes

    Open source →
    Additional notes

    Patch Changes

    • 2c70b90: chore: update provider docs
    Open source →
  57. 3.0.1427 Jan 2026
    Release notes

    Patch Changes

    Open source →
  58. 3.0.1322 Jan 2026
    Release notes

    Patch Changes

    Open source →
  59. 3.0.1222 Jan 2026
    Release notes

    Patch Changes

    • 2b8369d: chore: add docs to package dist
    Open source →
  60. 3.0.1122 Jan 2026
    Release notes

    Patch Changes

    • 8dc54db: chore: add src folders to package bundle
    Open source →