From 142ad5a2bce2b875b41265717e09a20f014247e2 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 15 Jul 2024 16:18:24 -0700 Subject: [PATCH] chore(main): release 1.4.0 (#381) Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- .release-please-manifest.json | 2 +- CHANGELOG.md | 12 ++++++++++++ package.json | 2 +- src/util/constants.ts | 2 +- 4 files changed, 15 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 2a8f4ffd..3e9af1b3 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.3.0" + ".": "1.4.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 6a38bd5a..5fee2e16 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,17 @@ # Changelog +## [1.4.0](https://github.com/googleapis/nodejs-vertexai/compare/v1.3.0...v1.4.0) (2024-07-15) + + +### Features + +* support responseMimeType in GenerationConfig to allow users specify output response mimetype of the generated candidate text. ([93f6d70](https://github.com/googleapis/nodejs-vertexai/commit/93f6d70660dbee44f81766544047da7baf427e30)) + + +### Bug Fixes + +* handle case when content is undefined in candidate. ([f16f040](https://github.com/googleapis/nodejs-vertexai/commit/f16f0405c0419152119385780ba21b2d9c18dc9b)) + ## [1.3.0](https://github.com/googleapis/nodejs-vertexai/compare/v1.2.0...v1.3.0) (2024-06-26) diff --git a/package.json b/package.json index 8b956729..847f39d8 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@google-cloud/vertexai", "description": "Vertex Generative AI client for Node.js", - "version": "1.3.0", + "version": "1.4.0", "license": "Apache-2.0", "author": "Google LLC", "engines": { diff --git a/src/util/constants.ts b/src/util/constants.ts index a01f6ff7..a3247478 100644 --- a/src/util/constants.ts +++ b/src/util/constants.ts @@ -21,7 +21,7 @@ export const USER_ROLE = 'user'; export const MODEL_ROLE = 'model'; export const SYSTEM_ROLE = 'system'; const USER_AGENT_PRODUCT = 'model-builder'; -const CLIENT_LIBRARY_VERSION = '1.3.0'; // x-release-please-version +const CLIENT_LIBRARY_VERSION = '1.4.0'; // x-release-please-version const CLIENT_LIBRARY_LANGUAGE = `grpc-node/${CLIENT_LIBRARY_VERSION}`; export const USER_AGENT = `${USER_AGENT_PRODUCT}/${CLIENT_LIBRARY_VERSION} ${CLIENT_LIBRARY_LANGUAGE}`; export const CREDENTIAL_ERROR_MESSAGE =