Releases: googleapis/js-genai
Releases · googleapis/js-genai
v1.11.0
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
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 callingmcpToTool
(a70f9c4)
Bug Fixes
v1.9.0
v1.8.0
v1.7.0
v1.6.0
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
v1.5.0
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
v1.4.0
v1.3.0
1.3.0 (2025-05-30)
Features
- Adding
thought_signature
field to thePart
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)