genkit
1.44.0 · 3 Nov 2026Apache-2.0269.9k / weekRepositoryHomepagenpmAtom feed
Upgrading genkit From 1.42.0 to 1.44.0
2 releases in betweenevery note read
Reading releases, release notes and advisories…
- 1
- change to make
- 0
- advisories fixed
- 19
- new
- 18
- fixes
Before you upgrade
Tick each one off as you go- Breaking1.44.0
Release by release
- Breaking
Google GenAI, Interactions API usage: per-modality token counts moved from
inputCharacters,inputImages,outputAudioFiles, etc. tousage.custom.*Tokens(e.g.inputTextTokens). Those old fields held token counts by mistake. See #6963 for the full mapping. - New
Added the Gemini Deep Research agent (
deep-research-preview-04-2026) to thevertexAIplugin as a background model. - New
googleAInow sendsstoreongenerateContentrequests when it's set, so you can opt out of the Gemini API's new default request logging for paid projects. - New
Interactions API models now accept Word, Excel and other document types instead of only PDF and CSV.
- Breaking
- New
throwOnError: falseongenerate()returns the failure and the conversation up to the last completed tool round, so you can retry from there. Code that doesn't set it still gets the same errors as before. - New
Failed and aborted agent turns are now resume points. A failed turn is saved as a
failedsnapshot and a stopped run is saved as anabortedsnapshot. Both can be resumed. (#6361, #6362, #6360) - New
waitForSnapshotis the blocking version ofgetSnapshot. It waits on the server until a detached turn finishes, so you don't need a polling loop. - New
Background delegation in the
agentsmiddleware. Withasync: true, delegation tools acceptbackground: trueand return a task ID right away. Newcheck_background_tasks,wait_for_background_tasksandabort_background_taskstools let the orchestrator manage those tasks.
- New
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.