Packages

genkit

1.44.0 · 3 Nov 2026Apache-2.0269.9k / weekRepositoryHomepagenpmAtom feed

Your version

Where each line stands

Plan an upgrade
  • 1.x1.44.0No known advisoryLatest line
  • 0.x0.9.12No known advisoryTo 1.44.0

Latest releases

All 94 releases
  1. 1.44.0

    3 Nov 2026
    • Breaking

      Google GenAI, Interactions API usage: per-modality token counts moved from inputCharacters, inputImages, outputAudioFiles, etc. to usage.custom.*Tokens (e.g. inputTextTokens). Those old fields held token counts by mistake. See #6963 for the full mapping.

    • Added the Gemini Deep Research agent (deep-research-preview-04-2026) to the vertexAI plugin as a background model.

      const { operation } = await ai.generate({
        model: vertexAI.model('deep-research-preview-04-2026'),
        prompt: 'Compare TCP and UDP in a short markdown table.',
      });
    • googleAI now sends store on generateContent requests when it's set, so you can opt out of the Gemini API's new default request logging for paid projects.

  2. 1.43.0

    21 Oct 2026
    • throwOnError: false on generate() 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.

      const opts = { model: googleAI.model('gemini-flash-latest'), tools: [getWeather], throwOnError: false };
      let res = await ai.generate({ ...opts, prompt: 'What should I wear in Tokyo today?' });
      if (res.finishReason === 'failed' || res.finishReason === 'aborted') {
        res = await ai.generate({ ...opts, messages: res.messages });
      }
    • Failed and aborted agent turns are now resume points. A failed turn is saved as a failed snapshot and a stopped run is saved as an aborted snapshot. Both can be resumed. (#6361, #6362, #6360)

    • waitForSnapshot is the blocking version of getSnapshot. It waits on the server until a detached turn finishes, so you don't need a polling loop.

      const task = await reportAgent.chat().detach('Write the report');
      const snap = await task.wait();
  3. 1.42.0

    1 Sep 2026
    • OpenTelemetry logs are now enabled by default; the GENKIT_OTEL_ENABLE_LOGS flag has been removed, and custom log record processors set in telemetryConfig are no longer overwritten.

    • plugins/google-genai: Surface API errors from streaming responses by mapping HTTP status codes to Genkit statuses and parsing JSON error bodies returned with HTTP 200 (e.g. overloaded models), so middleware like retry can react appropriately.

    • plugins/compat-oai: Fix inverted 401/403 status mapping so a bad or missing API key now surfaces as UNAUTHENTICATED instead of PERMISSION_DENIED; affects all compat-oai based providers (openai, xai, deepseek).

Dependency tracking

Know when your own dependencies move

genkit published 21 releases in the last 12 months. inlinr folds the routine ones into a line and keeps the few that need you.

  • Advisories reach you

    An email when a critical or high advisory affects a project, before the next install.

  • Upgrades checked first

    Peer ranges, Node, ESM-only and types changes read before you bump.

  • Only what matters

    Majors and breaking notes stay; patches and sibling bumps fold into one line.

How dependency tracking works

Reading releases, release notes and advisories…

Registry facts last checked 22 Nov 2026. Releases and advisories last read 22 Nov 2026.

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.