Skip to content

Releases: genkit-ai/genkit

Genkit JS and CLI 1.32.0

10 Apr 14:48

Choose a tag to compare

What's Changed

  • feat(js): add interrupt metadata to span attribs by @ssbushi in #4989
  • fix(js/plugins/anthropic): remove duplicated keys maxOutputTokens, etc by @ifielker in #4988
  • feat(js/plugins/google-genai): Support for lyria 3 in vertexAI by @ifielker in #5028
  • chore(js/plugins/google-genai): deprecate some imagen and veo models by @ifielker in #5033
  • feat(js/plugins/google-genai): support for veo-3.1-lite-generate-preview by @ifielker in #5038
  • chore(js/core): Include key for all actions by @ifielker in #5041
  • feat(js/plugins/google-genai): Support for Gemma 4 by @ifielker in #5089

New Contributors

Full Changelog: v1.31.0...v1.32.0

Genkit JS and CLI 1.32.0-rc.0 (RC)

10 Apr 12:45

Choose a tag to compare

Pre-release

What's Changed

  • feat(js): add interrupt metadata to span attribs by @ssbushi in #4989
  • fix(js/plugins/anthropic): remove duplicated keys maxOutputTokens, etc by @ifielker in #4988
  • feat(js/plugins/google-genai): Support for lyria 3 in vertexAI by @ifielker in #5028
  • chore(js/plugins/google-genai): deprecate some imagen and veo models by @ifielker in #5033
  • feat(js/plugins/google-genai): support for veo-3.1-lite-generate-preview by @ifielker in #5038
  • chore(js/core): Include key for all actions by @ifielker in #5041
  • feat(js/plugins/google-genai): Support for Gemma 4 by @ifielker in #5089

New Contributors

Full Changelog: v1.31.0...v1.32.0-rc.0

Genkit Go v1.6.1

06 Apr 17:24
0aa818e

Choose a tag to compare

What's Changed

  • fix(go/plugins/vertexai): added oath scope to request by @apascal07 in #5066
  • fix(go/plugins/googlegenai): add support to IncludeServerSideToolInvocations by @Gerifield in #4971

New Contributors

Full Changelog: go/v1.6.0...go/v1.6.1

Genkit Go v1.6.0

02 Apr 16:20
62ee307

Choose a tag to compare

What's Changed

  • feat(go/plugins/ollama): add runtime options and thinking by @simakmak in #4028
  • feat(go/ollama): implement DynamicPlugin for dynamic model discovery by @Zereker in #4529

New Contributors

Full Changelog: go/v1.5.1...go/v1.6.0

Genkit Go v1.5.1

31 Mar 19:37
ff76f7a

Choose a tag to compare

What's Changed

  • fix(go/plugins/vertexai): fix plugin name collision and strict mode by @apascal07 in #5034

Full Changelog: py/v0.5.2...go/v1.5.1

Genkit JS and CLI 1.31.0

27 Mar 16:37

Choose a tag to compare

What's Changed

  • feat(js/plugins/google-genai): Support for googleai multimodal embedder by @ifielker in #4905
  • feat(trace-filter): Add string contains filter by @shrutip90 in #4929
  • chore(js): Updating typescript to 5.9.3 and a few other chores by @ifielker in #4920
  • fix(js): reflection context is always an object for runAction by @Ehesp in #4910
  • feat(cli,js): implemented reflection API v2 in CLI and JS by @pavelgj in #4295
  • feat(js/plugins/google-genai): Support for custom + builtin tools by @ifielker in #4983
  • chore(js/plugins/googleai): Completely remove deprecated googleai plugin plus by @ifielker in #4948
  • feat(js/plugins/google-genai): Support googleMaps tool for googleAI by @ifielker in #4990
  • fix: update macos-14 runner to macos-15-intel for darwin-x64 builds by @pavelgj in #4993
  • feat(cli): Introduced start:flutter command for Flutter integration, added --write-env-file option to start by @pavelgj in #4972
  • chore(js/core): add action key for DAP dynamic actions by @ifielker in #5001
  • feat(js/plugins/google-genai): Lyria 3 for googleAI by @ifielker in #5006

New Contributors

Full Changelog: v1.30.1...v1.31.0

Genkit Python SDK v0.5.2

27 Mar 22:33
45f19aa

Choose a tag to compare

GenKit 0.5.2 release notes

The big structural change in this release is a full pass on package layout, public API surface, and types (#4879), plus a simpler Dev UI integration path (#4812).

On the fixes side: we closed a batch of issues from a bug bash (#4987); FastAPI and Flask handlers should return errors in a shape clients can actually parse (#4954); reflection and streaming handle primitive values correctly now (#4958); Dev UI’s action list is cached and the Google GenAI plugin uses the right default embedding model for embeddings (#4956).

Multipart tool responses can carry an optional metadata field now (#4865).

Breaking changes

If you upgrade from 0.5.1, the main thing to watch is #4879: several imports and types moved. Expect missing modules and renamed symbols until you align with the new layout.

Migrating

Install the new version:

pip install -U "genkit==0.5.2"

Bump the same version in pyproject.toml or requirements.txt if you pin it.

Then chase import errors. The supported modules to import from are genkit, genkit.model, genkit.embedder, and genkit.evaluator. Implementation code lives under genkit._ai and genkit._core; treat those as internal unless you know you need them.

Rough mapping: use from genkit import … for the main API (see __all__ in genkit/__init__.py). Use genkit.model for model types (that replaces the old genkit.model_types and most of what people pulled from genkit.types). Use genkit.embedder and genkit.evaluator for those protocols. Plugin work may still go through genkit.plugin_api where we document it.

Packages that no longer exist:

  • genkit.types → split across genkit, genkit.model, genkit.embedder (check each __init__.py for the symbol).
  • genkit.model_typesgenkit.model
  • genkit.aifrom genkit import Genkit and the rest of the public genkit exports
  • genkit.blocks, genkit.core, genkit.aio → use genkit and genkit.model in app code; don’t wire apps to genkit._ai. Only reach into genkit._core.* if you’re doing something advanced—the old internals are under genkit._core and genkit._ai now.

Tips

  1. Do the upgrade in a branch. After bumping the dependency, run your test suite once—let it fail—and also run your type checker (mypy, pyright, or whatever you use) over the same tree. Fix imports before you chase logic bugs; most failures will be ModuleNotFoundError or missing attributes until imports line up.

  2. When you’re not sure where a type moved, open the installed package (or this repo’s py/packages/genkit/src/genkit/) and skim genkit/__init__.py, genkit/model/__init__.py, and genkit/embedder/__init__.py.

Genkit Go v1.5.0

19 Mar 21:33
ed3acb1

Choose a tag to compare

What's Changed

  • fix(go): fix error on tool requests during stream by @apascal07 in #4379
  • fix(go): Remove raw bytes from the debug messages by @traut in #4329
  • feat(go): add NewFlow and NewStreamingFlow by @apascal07 in #4380
  • feat(go): added channel-based streaming flow API by @apascal07 in #4186
  • fix(go): handle loosely formatted JSON markdown blocks by @hugoaguirre in #4700
  • feat(go/compat-oai): add OpenAI structured output API support by @dmeremyanin in #4680
  • fix(go): added nil check for config in ModelRef by @apascal07 in #4775
  • fix(go): preserve error chain in GenkitError via Unwrap by @Zereker in #4527
  • fix(go/plugins/googlegenai): fixed Vertex AI model resolution by @apascal07 in #4784
  • fix(go): include Type property in seen struct types by @hugoaguirre in #4216
  • feat(go): add HandlerFunc for error-returning handlers by @dmeremyanin in #4805
  • fix(go): allow WithPromptFS and WithPromptDir to be used together by @dmeremyanin in #4800
  • refactor(go/plugins/googlegenai): update plugin structure by @apascal07 in #4414
  • feat(go/plugins/anthropic): support native structured output by @hugoaguirre in #4701
  • fix(go/plugins/anthropic): resolve models using aliases by @hugoaguirre in #4703
  • fix(go/plugins/googlegenai): fixed tool thought signature by @apascal07 in #4798

Full Changelog: go/v1.4.0...go/v1.4.1

Genkit Python SDK v0.5.2-rc.2

18 Mar 22:59

Choose a tag to compare

Pre-release

Release candidate.

Genkit Python SDK v0.5.2-rc.1

18 Mar 19:39
976b9ba

Choose a tag to compare

Pre-release

Release candidate.