Packages

@genkit-ai/google-cloud

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

Upgrading @genkit-ai/google-cloud From 1.27.0 to 1.44.0

18 releases in betweennotes for 14

  1. 1.27.0yours
  2. 11 releases
  3. 1.39.0breaking
  4. 1.40.0breaking
  5. 1 release
  6. 1.41.0breaking
  7. 2 releases
  8. 1.44.0target
  9. 7 pre
6+
changes to make
0
advisories fixed
33+
new
11+
fixes

Counted from 14 of 18 release notes. Advisories are counted from the advisory database, in full.

Before you upgrade

Tick each one off as you go
  • Breaking1.41.0
  • Breaking1.40.0
  • Breaking1.39.0
  • Deprecated1.35.0
  • Deprecated1.32.0
  • Deprecated1.30.1

Release by release

  1. 1.42.0 – 1.44.03 releases, no release note

  2. 1.41.0

    Migration needed11 Aug 202611 new
    • Breaking

      Security hardening for background operations (heads up: minor breaking change). The google-genai plugin no longer persists clientOptions in operation metadata, which previously risked leaking API keys if you returned a full operation object to a client. If you use per-request overrides (like a custom API key) with long-running models, you now need to pass those same overrides to each checkOperation/cancelOperation call.

    • New

      See and edit output config in the Model Runner. The Model Runner now has an editable Output panel. When you load a generation from a trace, you can inspect the inherited format and JSON schema, tweak them, or switch back to plain text for a freeform prompt. The schema shows up as readable JSON Schema instead of a raw Zod blob, and a reset restores the inherited config.

    • New

      Structured JSON output, rendered properly. Model Runner output that comes back as JSON is now rendered as clean, formatted JSON instead of a wall of text.

    • New

      Output conformance in the Prompt Runner. The Prompt Runner now supports output conformance, so prompts that define a structured schema behave consistently with the rest of the tooling.

  3. 1.40.1no release note

  4. 1.40.0

    Migration needed17 Jul 2026
    • Breaking

      agents: Return not found for missing snapshots

  5. 1.39.0

    Migration needed26 Jun 202615 new
    • Breaking

      The beta Chat API has been removed and replaced by the new Agents API (#5248, #5251). The Chat class, ai.chat(...), and session.chat(...) are gone. Migrate to ai.defineAgent(...) and agent.chat() (see Agents below). All removed surface was beta.

    • New

      Stateful, multi-turn chats — chat() threads state, messages, snapshotId, and sessionId for 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 by sessionId.

  6. 1.37.0 – 1.38.02 releases, nothing new or fixed in the notes

  7. 1.36.0

    27 May 20265 new · 5 fixes
    • New

      js: Introduce annotateschema for ui-specific metadata

    • New

      js/plugins/google-genai: Support for -latest in vertexai

    • New

      js/plugins/google-genai: Support for antigravity agent

    • New

      js/plugins/anthropic: Bump SDK to ^0.97.1 and ignore input_json_delta instead of throwing

  8. 1.35.0

    Deprecation21 May 2026
    • Deprecated

      js: Deprecate genkit/model/middleware retry and fallback middleware in favor of @genkit-ai/middleware

12 other lines we could not sort, mostly version bumps
  • New GPT-5.x models in the OpenAI-compatible plugin. Added gpt-5.2, gpt-5.4, gpt-5.4-mini, gpt-5.4-nano, and gpt-5.5 to compat-oai, so you can reach the latest OpenAI models without waiting on a plugin bump.

    1.41.0
  • Per-request Anthropic API keys. The Anthropic plugin now resolves the API key lazily at request time instead of only at init, so you can override the key per call. Handy for multi-tenant setups and key rotation.

    1.41.0
  • Clearer retry and fallback logs. The retry and fallback model middleware now emit structured warnings explaining what happened: which attempt, how long the backoff is, why a retry was skipped, and which model it's falling back to. AbortError and ToolInterruptError are now correctly treated as non-retryable.

    1.41.0
  • Fixed audio transcription file extensions. compat-oai speech-to-text now derives the right file extension from the content type (.mp3, .wav, .webm, and friends) instead of a generic name, which fixes transcription failures with providers that key off the extension.

    1.41.0
  • More reliable agent resume. validateResumeAgainstHistory now searches history newest-first, fixing an edge case when resuming interrupted conversations.

    1.41.0
  • Options for checkOperation and cancelOperation. You can now pass options (including per-request client config) when polling or cancelling long-running operations. Auth and secrets are also now scrubbed from context logging.

    1.41.0
  • ROUGE evaluator fix on Vertex AI. Corrected the type used by the ROUGE score evaluator and cleaned up duplicated evaluator types.

    1.41.0
  • Structured output now survives "Export to .prompt". When you export from the Dev UI model runner, the output schema is included in the front matter (written as Picoschema) instead of being dropped, so exported prompts keep their structured output config.

    1.41.0
  • Cleaner trace:get output. genkit trace:get <id> gets a readable tree view, and --format json gives you clean JSON that's easy to pipe into other tools.

    1.41.0
  • More reliable startup in ephemeral runtimes. The CLI now waits for actions to finish registering before proceeding, fixing flaky behavior where actions weren't yet available.

    1.41.0

7 internal lines (docs, tests, tooling) left out.

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.