Skip to content

Commit 61013d6

Browse files
chore(main): release 1.51.0 (#1503)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: Amy Wu <wuamy@google.com>
1 parent 8137d23 commit 61013d6

5 files changed

Lines changed: 20 additions & 5 deletions

File tree

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "1.50.1"
2+
".": "1.51.0"
33
}

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,21 @@
11
# Changelog
22

33

4+
## [1.51.0](https://github.com/googleapis/js-genai/compare/v1.50.1...v1.51.0) (2026-04-29)
5+
6+
7+
### Features
8+
9+
* [Interactions] Add FileCitation.{custom_metadata,media_id,page_number} ([9e08ba9](https://github.com/googleapis/js-genai/commit/9e08ba923452a7028931ba4d054290115514578e))
10+
* Add `output_info` to `BatchJob` ([5327c60](https://github.com/googleapis/js-genai/commit/5327c605960c1e06ff987d488082704bdbae597a))
11+
* Add gemini-3.1-flash-tts-preview model to options ([35c941b](https://github.com/googleapis/js-genai/commit/35c941b024f7bff50fdcf155dda409d977b1cfcb))
12+
* Add ImageResizeMode for GenerateVideos ([faa1088](https://github.com/googleapis/js-genai/commit/faa1088785f0a733b9b65af9f78229f464a9f4c3))
13+
* Add new Gemini Deep Research agent models ([6f83a05](https://github.com/googleapis/js-genai/commit/6f83a0533f6c9ea7cd97e218f313ebfbd77323ad))
14+
* Add Vertex Dataset input and output options for batch jobs ([6aa848e](https://github.com/googleapis/js-genai/commit/6aa848e9be75843821ba44db1e9947e4ee9cf899))
15+
* **interaction-api:** Add grounding tool usage breakdown to Interaction Usage. ([e1c31ad](https://github.com/googleapis/js-genai/commit/e1c31ad0853be56ba0cddabe8eceb208eaf5c2a4))
16+
* introduce enterprise flag and GOOGLE_GENAI_USE_ENTERPRISE env var ([cf7ad52](https://github.com/googleapis/js-genai/commit/cf7ad529f2b0d5b228ea238660f88df61305eacd))
17+
* Replace the more ambiguous rate field with sample_rate. ([6c80464](https://github.com/googleapis/js-genai/commit/6c804649ec721d9e8ac20922252183eec5b57dc9))
18+
419
## [1.50.1](https://github.com/googleapis/js-genai/compare/v1.50.0...v1.50.1) (2026-04-14)
520

621

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@google/genai",
3-
"version": "1.50.1",
3+
"version": "1.51.0",
44
"description": "",
55
"type": "module",
66
"main": "dist/node/index.mjs",

src/_api_client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const CONTENT_TYPE_HEADER = 'Content-Type';
1818
const SERVER_TIMEOUT_HEADER = 'X-Server-Timeout';
1919
const USER_AGENT_HEADER = 'User-Agent';
2020
export const GOOGLE_API_CLIENT_HEADER = 'x-goog-api-client';
21-
export const SDK_VERSION = '1.50.1'; // x-release-please-version
21+
export const SDK_VERSION = '1.51.0'; // x-release-please-version
2222
const LIBRARY_LABEL = `google-genai-sdk/${SDK_VERSION}`;
2323
const VERTEX_AI_API_DEFAULT_VERSION = 'v1beta1';
2424
const GOOGLE_AI_API_DEFAULT_VERSION = 'v1beta';

0 commit comments

Comments
 (0)