这是indexloc提供的服务,不要输入任何密码
Skip to content

Releases: googleapis/js-genai

v1.11.0

23 Jul 22:40
2e2cd00
Compare
Choose a tag to compare

1.11.0 (2025-07-23)

Features

  • Add image_size field for Vertex Imagen 4 generation (b6cc23e)
  • enable function calling for Callable Tool besides McpClient in generateContent. (90565bd)
  • Introduced Operations.get() which is a generic function to handle all Operation types. (a6f85c1)
  • return headers for list method in all modules. (e8591a3)
  • Updates to codegen instructions to improve performance for TypeScript (9c97ec6)

v1.10.0

17 Jul 01:00
43cedfc
Compare
Choose a tag to compare

1.10.0 (2025-07-17)

Features

  • Add addWatermark parameter to the edit image configuration. (16bca99)
  • Adding codegen instructions to guide LLMs to generate code with the Google GenAI SDK (7f74175)
  • Update hasMcpToolUsage to set the MCP tool usage when it is detected by calling mcpToTool (a70f9c4)

Bug Fixes

  • live: enhance security by moving api key from query parameters to header (f183b7d)
  • live: Rollback commit f183b7d, breaks live in web env (be24e86)

v1.9.0

09 Jul 23:20
bd97ae9
Compare
Choose a tag to compare

1.9.0 (2025-07-09)

Features

  • Add new languages for Imagen 4 prompt language (65be769)

Bug Fixes

  • add unref() for request timeouts (6b76c4b)

v1.8.0

01 Jul 22:35
86a2675
Compare
Choose a tag to compare

1.8.0 (2025-07-01)

Features

  • Enable Vertex Multimodal Dataset as input to supervised fine-tuning. (055b435)
  • Support Batches delete (6cd9174)
  • Support different media input in Vertex Live API (305952e)

v1.7.0

26 Jun 00:24
e424423
Compare
Choose a tag to compare

1.7.0 (2025-06-25)

Features

  • Add compressionQuality enum for generate_videos (4325773)
  • Add enhance_input_image and image_preservation_factor fields for upscale_image (13eedda)
  • Batches support in TS (dd7355e)
  • expose the responseJsonSchema in GenerateContentConfig (db54a5f)

Bug Fixes

  • live: support ArrayBuffer in WebSocket messages (5a8aeac), closes #714

v1.6.0

21 Jun 00:32
29a13c4
Compare
Choose a tag to compare

1.6.0 (2025-06-21)

Features

  • allow users to access headers for generateContent method and generateContentStream (f5f0e02)
  • enable json schema for controlled output and function declaration. (7d53d57)
  • Include status code and export HTTP errors (bcabcb6)
  • support extra_body in HttpOptions (1d48b6e)

Bug Fixes

  • Fix build errors when the mcp package is not installed. (5b7e695)

v1.5.1

13 Jun 19:51
05cef8a
Compare
Choose a tag to compare

1.5.1 (2025-06-13)

Bug Fixes

  • Update MCP dependencies to be type-only (648019b)

v1.5.0

12 Jun 21:31
0fe1d99
Compare
Choose a tag to compare

1.5.0 (2025-06-11)

Features

  • add a timeout parameter to CallableToolConfig (06f31fd)
  • Add datastore_spec field for VertexAISearch (1b18a52)
  • Add support for Veo frame interpolation and video extension (53f22e6)
  • Make the MCP SDK an optional peer dependency. (2472fd3)
  • RAG - Introducing context storing for Gemini Live API. (bdc2355)

Bug Fixes

  • Prioritize credentials over implicit api key (from env) for node client using Vertex AI (d82aba2), closes #616

v1.4.0

04 Jun 22:56
6077e53
Compare
Choose a tag to compare

1.4.0 (2025-06-04)

Features

  • Add enhance_prompt field for Gemini Developer API generate_videos (ea3cc8e)
  • Enable url_context for Vertex (e377f58)
  • js: Support GEMINI_API_KEY as environment variable for setting API key. (97850ad)

Bug Fixes

  • defined Type becomes TYPE_UNSPECIFIED when obfuscation is enabled (1ddf4f5)
  • Update live SDK sample to address choppy audio quality (319bcbb)
  • use Enum's value instead of keys for obfuscation. (132bd04)

v1.3.0

30 May 23:22
1c28ebf
Compare
Choose a tag to compare

1.3.0 (2025-05-30)

Features

  • Adding thought_signature field to the Part to store the signature for thoughts. (20815b2)
  • include UNEXPECTED_TOOL_CALL enum value to FinishReason for Vertex AI APIs. (bd5a2bf)
  • Support ephemeral auth tokens as API keys for live connections in TS. (507bfb5)
  • Support ephemeral token creation in TS (425cfe6)

Bug Fixes

  • Rename LiveEphemeralParameters to LiveConnectConstraints. (86e9652)