Releases: firebase/genkit
Releases · firebase/genkit
Genkit Go v0.5.1
Genkit CLI 1.6.1
What's Changed
fix: Go lang prompt counts to show up in the Dev UI nav bar by @ssbushi
Genkit Go v0.5.0
What's Changed
- feat(go): Added prompts as executable prompts by @apascal07 in #2535
- fix(go/genkit): use controlled flushing on JSON responses by @hugoaguirre in #2530
- feat(go): Call
DefineGenerateAction
inGenkit.Init
by @apascal07 in #2575 - refactor(go/plugins): keep gemini code in
googlegenai
by @hugoaguirre in #2576 - feat(go): Add customConfig field to ModelInfo by @huangjeff5 in #2537
- fix(go): remove legacy prompts from go by @ssbushi in #2598
- feat(go/ai): Use
dotprompt
package for rendering prompt templates by @rutujaD1999 in #2526 - chore(go): bump
go-genai
SDK to v0.7.0 by @hugoaguirre in #2620 - feat(go): Added
ModelArg
interface andModelRef
by @huangjeff5 in #2487 - fix(go): add tool to prompt metadata by @ssbushi in #2622
- feat(go/genkit): Added support for formatters and custom instructions by @dysrama in #2417
- feat(go/genkit): Exposed
DefineFormat
inGenkit
. by @apascal07 in #2647 - fix(go/plugins): Unpacked common fields in
GeminiConfig
and fixed output config by @apascal07 in #2649 - chore(go): expose model
gemini-2.5-pro-preview-03-25
by @hugoaguirre in #2651 - fix(go): minor bug fixes by @hugoaguirre in #2654
- fix(go): Fixed prompt fields not propagating to execute for loaded prompts. by @apascal07 in #2655
- fix(go): Fix Issues in using genkit with ollama plugin. by @suapapa in #2681
- feat(go/plugins/googlegenai): add constrained generation by @hugoaguirre in #2467
- fix(go): metadata and status enum fixes by @ssbushi in #2698
- fix(go): Fixed nil pointer in Google AI plugin. by @apascal07 in #2700
- fix(go/py/tooling): More small fixes related to evals by @ssbushi in #2703
- refactor(go)!: Updated all primitives to unified options. by @apascal07 in #2550
- bug(go)!: remove
local
provider from tools and prompts by @hugoaguirre in #2713 - fix(go): update samples to use
GeminiConfig
by @hugoaguirre in #2726 - fix(go): use
GeminiConfig
in cache live tests by @hugoaguirre in #2730
New Contributors
Full Changelog: go/v0.3.0...go/v0.5.0
Genkit JS and CLI 1.6.0
What's Changed
- chore(js/plugins/vertexai): add gemini-2.5-pro-exp-03-25 model by @nozomi-koborinai in #2666
CLI/Dev UI changes
- feat(dev ui): prompt support for golang by @ssbushi
- feat(dev ui): show duration and token count in traces table by @hugomurillomtz
New Contributors
- @nozomi-koborinai made their first contribution in #2666
Full Changelog: https://github.com/firebase/genkit/compare/genkit@1.5.0...genkit@1.6.0
Genkit JS 1.5.0
What's Changed
- fix: make customOptions consistent in action metadata by @ssbushi in #2465
- feat(evals): add
status
enum for evaluation scores by @ssbushi in #2169 - chore(js): Update Dotprompt to v1.1.0. Fixes #2039 by @mbleigh in #2573
- feat(js/plugins/firebase): Data Connect tools (beta), serverApp context. by @mbleigh in #2572
- fix(js/plugins/express): Check request.body is defined before reading data from it by @ifielker in #2600
- chore: Add descriptions for fields in model config schemas by @shrutip90 in #2627
- chore: expose model
gemini-2.5-pro-preview-03-25
by @hugoaguirre in #2651
New Contributors
- @AbeJLazaro made their first contribution in #2466
- @mukezhz made their first contribution in #2439
Full Changelog: https://github.com/firebase/genkit/compare/genkit@1.4.0...genkit@1.5.0
Genkit Go v0.3.0
What's Changed
- breaking(go): remove multiple candidates support by @dysrama in #1307
- fix(go): readd old result body for runAction, skip go test by @dysrama in #1430
- fix(go): set log level to debug in golang by @falonso81 in #1236
- breaking(go): Refactored into instance-based Genkit and Registry. by @apascal07 in #1459
- fix(go): Fix TestActionTracing test case by @hugoaguirre in #1595
- breaking(go): update flow streaming protocol to SSE by @hugoaguirre in #1316
- breaking(go): upgrade ergonomics of prompt definition and calling by @dysrama in #1447
- feature(go): add support for multiple model versions by @hugoaguirre in #1575
- feat(go): add gemini-2.0 models to vertexAI and googleAI plugins by @hugoaguirre in #1876
- feat(go): Added /util/generate + filled feature gaps in Generate API. by @apascal07 in #1818
- fix(go/plugins/googleai): convertTools err propagate and schema type integer by @decibelcooper in #1911
- feat(go/plugins/firebase): add retriever, init methods by @cabljac in #1470
- fix(go): fix go test cases by @hugoaguirre in #1964
- docs(contribution): update contribution guide to include GO by @kekoawong in #2038
- refactor(go): Refactored Flow, context providers, and server definition. by @apascal07 in #1956
- fix(go): Fixed nil options on Generate() calls in samples. by @apascal07 in #2187
- fix(go): bin/fmt to format go code #2193 by @yesudeep in #2194
- refactor(go): Removed exposure to internal action interface. by @apascal07 in #2174
- feat(go): Added generate-level middleware. by @apascal07 in #1949
- fix(go): Added JSON schema hack for []any types. by @apascal07 in #2207
- fix(bin/fmt): issue with finding the go path when formatting by @yesudeep in #2225
- fix(go): Fixed e2e tests. by @apascal07 in #2228
- fix(go): Fixed retrievers data types (Dev UI mismatch). by @apascal07 in #2242
- feat(go/plugins/googleai): Respect ToolChoice setting by @kwjw in #2238
- refactor(go): Moved model version validation to middleware. by @apascal07 in #2233
- breaking(go): refactored prompts API #1491 by @dysrama in #1980
- fix(go): Fixed stream callback naming. by @apascal07 in #2251
- fix(go): check validation for json part on text that generated by LLM (#2265) by @jcooky in #2273
- feat(go/plugins): Use go-genai SDK in VertexAI and GoogleAI plugins by @hugoaguirre in #2259
- refactor(go/ai): Refactored Generate API with unified options. by @apascal07 in #2320
- refactor(go/ai): Refactored Prompt API with unified options. by @apascal07 in #2256
- fix({go,cli}): relax time event shema by @pavelgj in #2370
- fix(go/samples/rag): Fixed rag sample missing template. by @apascal07 in #2372
- feat(go): Add evaluation primitives by @ssbushi in #2227
- fix(go): Fixed Go schema generator. by @huangjeff5 in #2367
- fix(go): Fixed duplicate Score. by @apascal07 in #2389
- feat(go/plugins): add context-caching to VertexAI and GoogleAI plugins by @hugoaguirre in #2266
- fix(go): Added simulated system prompt support by @sahdev77 in #2399
- fix(go): Made WithTools accept a ToolRef interface by @apascal07 in #2403
- feat(go): add batch evaluator by @ssbushi in #2388
- refactor(go): Added better naming for generated types. by @apascal07 in #2409
- fix(go): Return error message if go code is not re-generated from updated schema by @huangjeff5 in #2424
- refactor(go): Added genkit.WithPlugins option with unified plugin interface by @apascal07 in #2423
- feat(go): Added simulated document-based context support by @sahdev77 in #2415
- feat(go): Added media download middleware (enabled for Google GenAI) by @sahdev77 in #2402
- fix(go): use stable versions of go: 1.23+ by @yesudeep in #2455
- feat(go/genkit): Added loading of dotprompt files on Genkit init by @rutujaD1999 in #2413
- feat(go/plugins)!: Added unified googlegenai plugin by @hugoaguirre in #2450
- feat(go/plugins/googlegenai): add gemini-2.5-pro-exp-03-25 model by @hugoaguirre in #2464
- fix(go): Fixed error propagation in Reflection API. by @apascal07 in #2410
- feat(go/plugins): Add genkitEval plugin by @ssbushi in #2436
- feat(go/plugins/googlegenai): Added data part support by @hugoaguirre in #2469
- docs(go): Updated package docs and made various fixes along the way by @apascal07 in #2474
- fix(go/samples): samples maintentance by @hugoaguirre in #2480
- fix(go): Fixed default input for prompts. by @apascal07 in #2491
- docs(go/genkit): Updated genkit package docs and increment version by @apascal07 in #2499
New Contributors
- @dysrama made their first contribution in #1307
- @hugoaguirre made their first contribution in #1595
- @yesudeep made their first contribution in #1682
- @decibelcooper made their first contribution in #1911
- @kekoawong made their first contribution in #2038
- @kwjw made their first contribution in #2238
- @sahdev77 made their first contribution in #2399
- @rutujaD1999 made their first contribution in #2413
Full Changelog: go/v0.2.1...go/v0.3.0
Genkit JS 1.4.0
What's Changed
- fix(cli): default to current folder when looking for project root by @pavelgj in #2400
- chore(js/plugins/googleai): expose gemini-2.5-pro-exp-03-25 (
gemini25ProExp0325
) by @pavelgj in #2461 - feat(js/plugins/mcp): Adds websocket support, fixes tool schema issue. by @mbleigh in #2478
Full Changelog: https://github.com/firebase/genkit/compare/genkit@1.3.0...genkit@1.4.0
Genkit JS 1.3.0
What's Changed
- feat(js/plugins/googleai): adds native image generation support by @mbleigh in #2366
- feat(js/plugins/ollama): tool calling in ollama by @ssbushi in #2355
- chore(js/plugins/{googleai,vertexai}): expose gemini-2.0-flash-lite model by @pavelgj in #2360
- fix(js/plugins/firebase): Ensure Firestore retriever works with no options. by @mbleigh in #2267
Full Changelog: https://github.com/firebase/genkit/compare/genkit@1.2.0...genkit@1.3.0
Genkit JS 1.2.0
What's Changed
- feat(evals): show a link to the Dev UI on running evals by @ssbushi in #2024
- feat(js/plugins/evaluator): added deep equals, regexp and jsonata evaluators by @pavelgj in #2307
- feat(js/plugins/{googleai,vertexai}): adds YouTube URL support by @mbleigh in #2319
- feat(js/plugins/googleai): Adds support for variable apiKey in Google AI. by @mbleigh in #2324
- fix(js): export all standard types through tooling by @ssbushi in #2257
- fix(evals): populate
testcaseId
when inference failed by @ssbushi in #2281
Full Changelog: https://github.com/firebase/genkit/compare/genkit@1.1.0...genkit@1.2.0
Genkit JS 1.1.0
What's Changed
- feat(js/plugins/vertexai): added support for restricts and numerical restricts in vector search by @ifielker in #2186
- feat(js/plugins/firebase): Expose vector distance and distance threshold options in Firestore vector store retriever by @ifielker in #2246
- fix(js): Update Gemini plugins to handle parallel tools calls. Fixes #2241 by @mbleigh in #2250
- fix(js/plugins/google-cloud): allow user specified otel instrumentations by @MichaelDoyle in #2033
- fix(js/ai/src/prompt): Add variant name in prompt metadata by @shrutip90 in #2057
- fix(js/plugins/google-cloud) don't truncate stopSequences by @MichaelDoyle in #2071
- fix(js/plugins/firebase): add FirebaseTelemetryOptions by @MichaelDoyle in #1942
- fix(js/plugins/{googleai,vertexai}): add usage stats for streaming results by @MichaelDoyle in #2070
- fix(js/core): set
streamSchema
on defineAction by @zerolethanh in #2156 - fix(js/ai/prompt): set prompt metadata for render action as expected by dev ui by @MichaelDoyle in #2180
- fix(cli): bump max dev ui request size to 30mb (from 100kb) by @pavelgj in #2239
- docs(js): added @genkit-ai/next to api ref by @pavelgj in #2247
- chore(samples): Update the two Angular samples by @MarkTechson in #2248
New Contributors
- @kekoawong made their first contribution in #2038
- @yimajo made their first contribution in #2051
- @zerolethanh made their first contribution in #2156
- @MarkTechson made their first contribution in #2248
Full Changelog: https://github.com/firebase/genkit/compare/genkit@1.0.5...genkit@1.1.0