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