Skip to content

Latest commit

 

History

History
136 lines (75 loc) · 7.66 KB

CHANGELOG.md

File metadata and controls

136 lines (75 loc) · 7.66 KB

Changelog

0.8.0 (2025-04-09)

Features

  • Add domain to Web GroundingChunk (dc56670)
  • Add generationComplete notification to LiveServerContent (4d9811b)
  • add session resumption to live module (b5c6975)
  • add session resumption. (fff2b66)
  • Add thinking_budget to ThinkingConfig for Gemini Thinking Models (76e0e18)
  • Add traffic type to GenerateContentResponseUsageMetadata (d84156e)
  • Add types for configurable speech detection (fc861bc)
  • Add types to support continuous sessions with a sliding window (0fd8256)
  • Add UsageMetadata to LiveServerMessage (67b34f7)
  • expose generation_complete, input/output_transcription & input/output_audio_transcription to SDK for Vertex Live API (1e8be50)
  • merge GenerationConfig into LiveConnectConfig (d25d77d)
  • Populate X-Server-Timeout header when a request timeout is set. (6f00495)
  • support media resolution (9ebd58b)
  • Support models.get() for getting model information (fc62381)
  • Update Live converters to pass along configurable speech detection parameters (8301fa2)
  • Update Live converters to pass along params to support continuous sessions with a sliding window (3814d92)

Bug Fixes

  • Use authentication headers as provided by google-auth-library (94b11a1)

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)

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)

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)

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)

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 (2025-03-11)

0.3.0 (2025-03-11)

⚠ BREAKING CHANGES

  • Make file.upload use named parameters.

Features

  • Enable Live for Vertex AI. (2bda9d4)

Bug Fixes

  • Set web as the browser entry points for bundlers that don't support the exports key (18cb728)

Miscellaneous Chores

  • Make file.upload use named parameters. (60433f4)