Skip to content

Commit 1b9b7b3

Browse files
Version Packages
1 parent 85621eb commit 1b9b7b3

11 files changed

+17
-45
lines changed

.changeset/better-vans-act.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/brave-cloths-relate.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/dry-pugs-bow.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/flat-gorillas-happen.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/funny-paws-visit.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/good-beans-cheat.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/lucky-grapes-rest.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/thirty-moons-count.md

Lines changed: 0 additions & 4 deletions
This file was deleted.

.changeset/young-rivers-shout.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
# @google/generative-ai
22

3+
## 0.22.0
4+
5+
### Minor Changes
6+
7+
- b546cba: Breaking change: Fix typo of groundingChunks
8+
- 85621eb: Breaking change: Fix typo of 'groundingSupport' -> 'groundingSupports'
9+
- 3004d3b: The schema types are now more specific, using a [discriminated union](https://www.typescriptlang.org/docs/handbook/2/narrowing.html#discriminated-unions) based on the 'type' field to more accurately define which fields are allowed.
10+
11+
### Patch Changes
12+
13+
- 864afb7: Swapped the package manager to npm, in order to take advantage of npm audit fix
14+
- 070bcdc: Fix undefined candidate index.
15+
- 6a99ed8: Make sure chat api do not send empty text request after encounter any server error that returns empty response. This fixes issue #124 and issue #286.
16+
- 25d3a92: update FinishReason enum
17+
- d87cf1d: Fix flaky integration test with tools
18+
319
## 0.21.0
420

521
### Minor Changes

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@google/generative-ai",
3-
"version": "0.21.0",
3+
"version": "0.22.0",
44
"description": "Google AI JavaScript SDK",
55
"main": "dist/index.js",
66
"module": "dist/index.mjs",

0 commit comments

Comments
 (0)