genkit_google_genai 1.2.0
genkit_google_genai: ^1.2.0 copied to clipboard
Google AI plugin for Genkit Dart.
1.2.0 #
Features #
- new models, Lyria, embedders and vertexAI options (#662)
- call newer Gemini models through the Interactions API (#661)
- new Gemini API models and options (Omni, Lyria, Antigravity, ...) (#660)
- call newer Gemini models through Interactions (#659)
Fixes #
- send tool_choice none and auto as plain strings on the Interactions API (#758)
1.1.0 #
1.0.1 #
- updated internal dependencies.
1.0.0 #
Breaking Changes #
- prefix exported option types with provider (#572)
- rename GenkitException.underlyingException to cause; drop statusCode (#548)
- type usage counts and indexes as int (#546)
- make GenerateResult and GenerateResponseChunk read-only views (#547)
- non-null input for Model/Embedder/Evaluator/Flow constructors (#536)
- remove GoogleAiModels, stop exporting catalog enums, refresh the catalog (#524)
- rename StatusCodes to StatusCode with lowerCamelCase values (#542)
- remove embedMany in favor of embed (#535)
- align naming of ToolFnArg, ModelInfo params and RemoteAction.close (#537)
- generate plain JSON schema maps instead of json_schema_builder calls (#522)
- make constrained generation simulation an opt-in middleware (#519)
Features #
- discover gemini-embedding-* embedders and embed media (#394)
- extend curated model catalog toward the JS/Go union (#513)
Fixes #
- honor the portable toolChoice option (#494)
- degrade list() to curated catalog on discovery failure (#512)
- stop closing injected clients and honour late cancellation (#454)
- map Gemini finish reasons to Genkit vocabulary (#425)
Other Changes #
- add Genkit Dart agent skill install instructions to READMEs (#521)
- state that common.dart is not covered by semver (#501)
0.4.0 #
0.3.1 #
- updated internal dependencies.
0.3.0 #
Breaking Changes #
- redesign tool API around ToolResult + multipart, type actionType with ActionType (#350)
Features #
- wire curated Gemini catalog into googleai plugin (#329)
Fixes #
- drop safety settings with unset category instead of sending UNSPECIFIED (#392)
- gate responseJsonSchema on constrained JSON mode (#375)
0.2.10 #
0.2.9 #
- updated internal dependencies.
0.2.8 #
Other Changes #
- update model references to gemini-flash-latest (#293)
- split schemantic into runtime and schemantic_builder packages (#292)
0.2.7 #
- updated internal dependencies.
0.2.5 #
Features #
- add additionalProperties support to @Schema and implement strict object validation (#251)
0.2.4 #
- updated internal dependencies.
0.2.2 #
- updated internal dependencies.
0.2.1 #
- updated internal dependencies.
0.2.0+1 #
- Update a dependency to the latest release.
0.2.0 #
Note: This release has breaking changes.
- BREAKING REFACTOR: moved vertexAI plugin from genkit_google_genai into genkit_vertexai package (#202).
0.1.0 #
- Graduate package to a stable release. See pre-releases prior to this version for changelog entries.
0.1.0-dev.1 #
- Update a dependency to the latest release.
0.0.1-dev.19 #
- FIX: conditionally add
toolUsePromptTokenCountto custom metadata.
0.0.1-dev.18 #
Note: This release has breaking changes.
- REFACTOR: migrate Vertex AI authentication to use the
genkit_vertex_auth(#193). - REFACTOR(google_genai): switch to rest api (#183).
- REFACTOR: make all classes
finalorbase(#179). - FEAT(genkit_google_genai): implemented vertexai support (#184).
- BREAKING REFACTOR: renamed @Schematic() to @Schema() (#192).
- BREAKING FEAT: introduced dynamic action provider and migrated MCP plugin to use DAP (#187).
0.0.1-dev.17 #
Note: This release has breaking changes.
- REFACTOR: hide package:json_schema_builder (#167).
- FIX: fix strict casts (#165).
- FEAT: Allow implicit media content types for data URIs (#162).
- BREAKING FEAT: move basic type functions to static creation method on SchemanticType (#154).
0.0.1-dev.16 #
- REFACTOR: Introduce a dedicated plugin.dart entry point for plugin-related exports (#149).
- REFACTOR: remove GoogleSearchRetrieval option (deprecated) (#147).
0.0.1-dev.15 #
- Update a dependency to the latest release.
0.0.1-dev.14 #
- REFACTOR: automate telemetry exporter configuration (#131).
- DOCS: added skills (#132).
0.0.1-dev.13 #
Note: This release has breaking changes.
- REFACTOR: remove detailed token usage arrays from usage metadata and add tests for usage extraction. (#127).
- FEAT: Implemented real-time tracing (#128).
- BREAKING REFACTOR: generate api cleanup (#125).
0.0.1-dev.12 #
- FEAT: added support for embedders (embedding models) (#88).
0.0.1-dev.11 #
Note: This release has breaking changes.
- FIX: Coerce
numvalues todoublefor generated double fields during JSON parsing. (#65). - FEAT: add Google Search and multi-speaker voice config support, extract usage metadata, and introduce reasoning parts (#82).
- FEAT: Add
$GenerateResponsetype, refine schema types, and update generated class constructors to uselate finaland regular constructors. (#66). - FEAT: added schemas for gemini models, made sure TTS and nano banana models are working (#63).
- BREAKING REFACTOR: update GenkitException to use a StatusCodes enum instead of raw integer status codes. (#68).
0.0.1-dev.10 #
- FEAT: updated AnyOf support for union types in Schemantic, including helper class generation and schema type handling. (#62).
0.0.1-dev.9 #
Note: This release has breaking changes.
- REFACTOR: reimplement schema generation from extension types to classes, enhance
PartExtensiongetters, and simplifyGenerateResponseand tool invocation. (#53). - FEAT: Add support for specifying default values for schema fields and types, and generate them in the JSON Schema. (#61).
- FEAT: use combining builder and header option (#52).
- BREAKING FEAT: implement Schemantic API redesign with $ prefixed schema definitions and static
$schemafor unified schema access. (#60).
0.0.1-dev.8 #
Note: This release has breaking changes.
- BREAKING REFACTOR: renamed JsonExtensionType to SchemanticType (#44).
0.0.1-dev.7 #
- REFACTOR: Consolidate Google GenAI examples into a single file, fixed tools calling, and schema flattening helper (#43).
- FEAT: implemented streaming and various config options for genkit_google_genai plugin (#42).
0.0.1-dev.6 #
Note: This release has breaking changes.
- BREAKING FEAT: Refactor basic types into factory functions to support schema constraints (#34).
0.0.1-dev.5 #
- REFACTOR: move the package-specific schema generator into a peer package (#31).
0.0.1-dev.4 #
- REFACTOR: make generated JsonExtensionType factory classes (*TypeFactory) private (#29).
- FEAT: added support for defining listType and mapType in schemantic (#28).
0.0.1-dev.3 #
Note: This release has breaking changes.
- FEAT: bump analyzer dependency (#25).
- FEAT: added support for schema refs/defs in the schema generator (#22).
- BREAKING REFACTOR: renamed genkit_schema_builder package to schemantic (#26).
0.0.1-dev.2 #
- Update a dependency to the latest release.
0.0.1-dev.1 #
- Initial release.