Repository navigation
chore: release v0.14.0 - #130
Merged
Merged
Conversation
huangjeff5
marked this pull request as ready for review
November 15, 2026 18:47
This was referenced Nov 16, 2026
huangjeff5
force-pushed
the
release/v0.14.0
branch
2 times, most recently
from
November 18, 2026 22:37
a363012 to
fdaff37
Compare
huangjeff5
force-pushed
the
release/v0.14.0
branch
from
November 19, 2026 04:29
fdaff37 to
a325152
Compare
pavelgj
approved these changes
Nov 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
0.13 rewrote Genkit Python's veneer layer and public API surface to clean up ergonomics and typing ahead of 1.0. 0.14 keeps that API surface intact and focuses on hardening it before 1.0: we ran bug bashes across all surfaces—with an emphasis on Dev UI compatibility and provider plugins—and shipped those fixes alongside multi-tenant embedder configuration and a simpler
response.mediaaccessor.1.0 is coming very soon—we're holding the 1.0 tag until we finish moving the Google GenAI plugin onto the Interactions API and cleaning up the Vertex AI plugin naming to match organizational changes, avoiding post-1.0 deprecations. We expect both to ship very soon, and in the meantime we will continue to ship small improvements and bug fixes we find from our thorough bug bashing.
uv add --upgrade genkit # or: pip install --upgrade genkitConfigure embedders for multi-tenant use cases
GoogleAI()previously raised at startup if no environment API key was set, andai.embed()had no way to pass a per-request key or tenant context down to an embedder (#49, #114).GoogleAI()now starts keyless (logging one warning), andai.embed()/ai.embed_many()acceptcontext={'secrets': {'api_key': ...}}. Rejected keys reportErrorReason.INVALID_CREDENTIALSwith statusUNAUTHENTICATED.response.mediareturns the first media itemReading a generated image or audio part previously required indexing
response.media[0].response.media(along withMessage.mediaandModelResponseChunk.media) now returnsMedia | Nonedirectly, while the full list moves tomedia_parts(#47).Bug fixes
Dev UI & tracing
Errorbox (fix(py): Dev UI traces show why generate failed, where it started, and interrupted tools #63, fix(py): show error message and traceback on failed spans in the Dev UI #113, fix(py): lead Dev UI stacks with user frames, title boxed spans, and tighten error text #115).genkit startworks from subdirectories (fix(py): write Dev UI runtime files at the project root and bring reflection v1/v2 to parity #53), and Dev UI catalog models run instead of returning 404 (fix(py): prefix listed plugin action keys, hydrate unannotated model requests, and add OutputConfig.schema #87).Provider plugins
tools+output_schemastops looping (fix(py): stop Gemini tool-calling loops and log failed GenkitError turns #107).Role.SYSTEMmessages (fix(py/anthropic): keep every system message in the request #146), validatestemperature/top_plocally, and maps prompt-cache token counts (fix(py/anthropic): bound sampling config and map cache usage #70).gpt-4o-transcribe-diarizeworks from the Dev UI (fix(py/openai): don't send a blank transcription prompt #136).credentials=to all exporters, and adds trace IDs tostructlog(fix(py/google-cloud): export metrics, honor credentials=, and add trace IDs to structlog logs #62).GenkitError(fix(mcp): port genkit-ai/genkit#6930 and #7153 #72, fix(mcp): deterministic request timeout test; keep handshake timeout as the failure cause #74).Runtime, typing & prompts
genkit-fastapistops on client disconnect and returns 499 (fix(py): stop orphaned stream runs on reader disconnect #51).use=[...]instances keep constructor state, andRetry/Fallbacknever retry after streaming starts (fix(py): keep inline use=[...] instances, type middleware kwargs, and stop mid-stream retries #86).response.total_usagesums every model call in a run,.reasoningreturns thinking text, andPart.from_tool_responsesupports multipart content (feat(py): add .reasoning, ModelResponse.total_usage, and multipart Part.from_tool_response #48).inputand mismatched model configs likeVeoConfigon a Gemini ref (fix(py)!: require input on typed actions, type context-only tools as Tool[None, T], and pin ref configs #46)..promptfile no longer skips its folder,output.constrainedworks, andNaN/Infinityserialize asnullinstead of 500s (fix(py): isolate .prompt loader errors, honor output.constrained, and serialize NaN/Infinity as null #85).ai.run()accepts positional args and async callables (fix(py): accept positional steps and async callables in ai.run/Tool, and isolate child action context #84), interrupt restarts record approved input (fix(py): enforce generate invariants for system=, docs= media, restart input, and max_turns #83), andFilesystem/Skillsstay confined to their roots (fix(py/middleware)!: contain skills and filesystem tools to configured roots #52).Before you upgrade
FirestoreSessionStorerequires an extra (#54)genkit-google-cloudno longer installsgoogle-cloud-firestoreby default. Add thefirestoreextra if your app importsFirestoreSessionStore:response.mediareturns a singleMedia | None(#47)Run your type checker to catch
for item in response.media:loops—iterating a Pydantic model yields(field, value)tuples instead of raising at runtime.Other notes
0.14(with aFutureWarning) and will be removed next release (genkit-evaluatorsis capped at<0.15).Skillsuses folder names (fix(py/middleware)!: contain skills and filesystem tools to configured roots #52):use_skill()matches the skill's directory name rather than YAMLname:.EmbedContextand background/custom actions receiveActionContextinstead ofFlowContext; handlers now accept(req),(req, ctx), or(ctx, req).