Skip to content

Commit 8c3aa7f

Browse files
Version Packages
1 parent d87cf1d commit 8c3aa7f

10 files changed

+16
-40
lines changed

.changeset/better-vans-act.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: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
# @google/generative-ai
22

3+
## 0.22.0
4+
5+
### Minor Changes
6+
7+
- b546cba: Breaking change: Fix typo of groundingChunks
8+
- 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.
9+
10+
### Patch Changes
11+
12+
- 864afb7: Swapped the package manager to npm, in order to take advantage of npm audit fix
13+
- 070bcdc: Fix undefined candidate index.
14+
- 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.
15+
- 25d3a92: update FinishReason enum
16+
- d87cf1d: Fix flaky integration test with tools
17+
318
## 0.21.0
419

520
### 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)