Packages

@genkit-ai/compat-oai

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

Upgrading @genkit-ai/compat-oai From 1.38.0 to 1.39.0

1 release in betweenevery note read

Other targets from 1.38.0Newest 1.x, Latest1.44.0
  1. 1.38.0yours
  2. 1.39.0target
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

  1. 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.

2 other lines we could not sort, mostly version bumps
  • Initialization data for flows & actions (#5247) — flows/actions can declare an initSchema and receive validated init data (separate from input) over HTTP. Plumbed through genkit/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.

    1.39.0

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.