Skip to content

Releases: googleapis/js-genai

v0.7.0

27 Mar 22:49
7fe5313
Compare
Choose a tag to compare

0.7.0 (2025-03-27)

⚠ BREAKING CHANGES

  • Change File.sizeBytes from number type to string type

Features

  • Add experimental generate_video support (0fa1f05)
  • add MediaModalities for ModalityTokenCount (9869098)

Bug Fixes

  • Change File.sizeBytes from number type to string type (184c7db)
  • Update tLiveClienttToolResponse() to accept FunctionResponse[] (4cab8bf)

v0.6.1

25 Mar 18:43
97d20dd
Compare
Choose a tag to compare

0.6.1 (2025-03-25)

Features

  • Add engine to VertexAISearch (69dfbaf)
  • allow title property to be sent to Gemini API. Gemini API now supports the title property, so it's ok to pass this onto both Vertex and Gemini API. (c5855a3)
  • implement files.delete for JS client SDK. (4ac44de)
  • Save prompt safety attributes in dedicated field for generate_images (1a774fa)

Bug Fixes

  • schema transformer logic fix. (6311f60)

v0.6.0

20 Mar 22:26
7d33ca5
Compare
Choose a tag to compare

0.6.0 (2025-03-20)

⚠ BREAKING CHANGES

  • Unexport Content converter functions

Features

  • add IMAGE_SAFTY enum value to FinishReason (81ae907)

Code Refactoring

  • Separate converter functions to dedicated _{module}_converters.ts file for readability (bb9ba98)

v0.5.0

20 Mar 18:00
a7937e6
Compare
Choose a tag to compare

0.5.0 (2025-03-20)

⚠ BREAKING CHANGES

  • Make "turnComplete:true" the default.

Features

  • Add sendClientContent, sendRealtimeInput, sendToolResponse to live session (e7ec3c0)
  • Make "turnComplete:true" the default. (5f77e3e)
  • Support Google Cloud Express for Vertex AI (e15c7f3)
  • support new UsageMetadata fields (fe000ed)
  • Support Vertex AI on browser runtimes (e15c7f3)
  • Upgrade the SDK launch stage to preview. (da38b6d)

v0.4.0

14 Mar 20:51
9b7bd67
Compare
Choose a tag to compare

0.4.0 (2025-03-14)

⚠ BREAKING CHANGES

  • remove the createPartFromVideoMetadata usability function.

Features

  • enable union type for Schema when calling Gemini API. (180983c)
  • Provide a better error message when trying to use VertexAI in browsers. (1ab1402)
  • Support returned safety attributes for generate_images (a0e0fcf)
  • throw exception when given method is not supported in Gemini API or Vertex AI (96ccb6f)

Bug Fixes

  • remove the createPartFromVideoMetadata usability function. (d660a7f)

0.3.1

11 Mar 21:57
Compare
Choose a tag to compare
0.3.1 Pre-release
Pre-release
chore(main): release 0.3.1

PiperOrigin-RevId: 735899692

v0.3.0

11 Mar 21:29
Compare
Choose a tag to compare
v0.3.0 Pre-release
Pre-release
chore(main): release 0.3.0

PiperOrigin-RevId: 735890319