Skip to content

Commit eb3ef50

Browse files
IvanLHcopybara-github
authored andcommitted
Copybara import of the project:
-- 051231b by release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>: chore(main): release 1.42.0 COPYBARA_INTEGRATE_REVIEW=#1324 from googleapis:release-please--branches--main--components--genai 014028b PiperOrigin-RevId: 872488477
1 parent b23b04d commit eb3ef50

File tree

5 files changed

+12
-5
lines changed

5 files changed

+12
-5
lines changed

.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.41.0"
2+
".": "1.42.0"
33
}

CHANGELOG.md

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

33

4+
## [1.42.0](https://github.com/googleapis/js-genai/compare/v1.41.0...v1.42.0) (2026-02-18)
5+
6+
7+
### Features
8+
9+
* Support multimodal embedding for Gemini Embedding 2.0 and support MaaS models in Models.embed_content() (Vertex AI API) ([944ae97](https://github.com/googleapis/js-genai/commit/944ae97f33168aa36612f4fec9717726b9d03629))
10+
411
## [1.41.0](https://github.com/googleapis/js-genai/compare/v1.40.0...v1.41.0) (2026-02-10)
512

613

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.41.0",
3+
"version": "1.42.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.41.0'; // x-release-please-version
21+
export const SDK_VERSION = '1.42.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)