@genkit-ai/google-cloud
1.44.0 · 3 Nov 2026Apache-2.0226.2k / weekRepositoryHomepagenpmAtom feed
Upgrading @genkit-ai/google-cloud From 1.38.0 to 1.39.0
1 release in betweenevery note read
- 1
- change to make
- 0
- advisories fixed
- 15
- new
- 0
- fixes
Before you upgrade
Tick each one off as you go- Breaking1.39.0
Release by release
- Breaking
The beta Chat API has been removed and replaced by the new Agents API (#5248, #5251). The
Chatclass,ai.chat(...), andsession.chat(...)are gone. Migrate toai.defineAgent(...)andagent.chat()(see Agents below). All removed surface was beta. - New
Stateful, multi-turn chats —
chat()threadsstate,messages,snapshotId, andsessionIdfor you (send & stream). - New
Typed custom state with Zod validation (
stateSchema). - New
Pluggable persistence via
SessionStore(in-memory + file stores included); server-managed sessions resumable bysessionId.
- Breaking
2 other lines we could not sort, mostly version bumps
- 1.39.0
Initialization data for flows & actions (#5247) — flows/actions can declare an
initSchemaand receive validatedinitdata (separate frominput) over HTTP. Plumbed throughgenkit/beta/client(runFlow/streamFlow) and the express, fastify, fetch, and next handlers. - 1.39.0
Bidi actions and flows (#4288) — foundational support for bidirectional (streaming both ways) actions and flows.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.