0.10.0 (2025-04-23)
- add additional realtime input fields (2150416)
- Add helper function
GenerateContentResponse.data
to return concatenation of all inline data parts. (97b59a2) - Allow users to set AbortSignal inside per request config to cancel http request (c44f48d)
- support
default
field in Schema when users call Gemini API (2e61cce) - Support setting the default base URL in clients via setDefaultBaseUrls() (df978b8)
- Use ws:// for websockets established over http base URLs. (774505b)
- Return actual error text from streaming response (808e0b5), closes #346
- Update _api_client to parse and throw errors during processing stream responses (fixes #461) (1932f1d)
0.9.0 (2025-04-17)
- Simplified the types allowed on the generateContent contents parameter.
- add a helper module to process zod objecsts. (fad2789)
- add support for model_selection_config to GenerateContentConfig (37a9cae)
- Expose transcription configurations for audio in TS, and move generationConfig to the top level LiveConnectConfig (d3a841d)
- Simplified the types allowed on the generateContent contents parameter. (324d158)
- Support audio transcription in Vertex Live API (8d11c04)
- Support RealtimeInputConfig, and language_code in SpeechConfig in python (004ff6a)
- Update VertexRagStore (043d06c)
- CI: Fix stable docs generation with release event (89c61b9)
0.8.0 (2025-04-09)
- 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)
- Use authentication headers as provided by google-auth-library (94b11a1)
0.7.0 (2025-03-27)
- Change File.sizeBytes from number type to string type
- Add experimental generate_video support (0fa1f05)
- add MediaModalities for ModalityTokenCount (9869098)
- Change File.sizeBytes from number type to string type (184c7db)
- Update tLiveClienttToolResponse() to accept FunctionResponse[] (4cab8bf)
0.6.1 (2025-03-25)
- 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)
- schema transformer logic fix. (6311f60)
0.6.0 (2025-03-20)
- Unexport Content converter functions
- add IMAGE_SAFTY enum value to FinishReason (81ae907)
- Separate converter functions to dedicated _{module}_converters.ts file for readability (bb9ba98)
0.5.0 (2025-03-20)
- Make "turnComplete:true" the default.
- 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)
- remove the createPartFromVideoMetadata usability function.
- 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)
- remove the createPartFromVideoMetadata usability function. (d660a7f)
- Make file.upload use named parameters.
- Enable Live for Vertex AI. (2bda9d4)
- Set web as the browser entry points for bundlers that don't support the exports key (18cb728)
- Make file.upload use named parameters. (60433f4)