Update MLKit GenAI to latest beta; add genai-schema and genai-speech-recognition#1508
Draft
mattleibow wants to merge 1 commit into
Draft
Update MLKit GenAI to latest beta; add genai-schema and genai-speech-recognition#1508mattleibow wants to merge 1 commit into
mattleibow wants to merge 1 commit into
Conversation
…recognition Bump the MLKit GenAI family to the latest prerelease and add two new bindings that ship alongside it. Versions: - com.google.mlkit:genai-prompt 1.0.0-alpha1 -> 1.0.0-beta4 - com.google.mlkit:genai-common 1.0.0-beta2 -> 1.0.0-beta4 - com.google.mlkit:genai-schema new: 1.0.0-alpha1 (transitive dep of genai-prompt) - com.google.mlkit:genai-speech-recognition new: 1.0.0-alpha1 Binding fixes (consistent with existing genai conventions): - Enumify new IntDefs: AudioSourceMode (genai-common); ModelPreference, ModelReleaseStage, TypedCandidateFinishReason (genai-prompt); SpeechRecognizerOptionsMode (genai-speech-recognition), removing the nested annotation interfaces they replace. - Strip Kotlin file-facade classes (*Kt), companion objects, obfuscated zz* members, and data-class component/copy synthetics from the public API. Also regenerates cgmanifest.json, docs/artifact-list*.md, published-namespaces.txt, and the PublicAPI files. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 418a4307-6325-4810-a01d-cf793cea9f0f
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.
Summary
Updates the MLKit GenAI family to the latest prerelease and adds two new bindings.
Versions
com.google.mlkit:genai-prompt1.0.0-alpha11.0.0-beta4com.google.mlkit:genai-common1.0.0-beta21.0.0-beta4com.google.mlkit:genai-schema1.0.0-alpha1(new; transitive dep of genai-prompt)com.google.mlkit:genai-speech-recognition1.0.0-alpha1(new)All other transitive dependencies were already present at satisfying versions.
Binding fixes (consistent with existing genai conventions)
AudioSourceMode(genai-common)ModelPreference,ModelReleaseStage,TypedCandidateFinishReason(genai-prompt)SpeechRecognizerOptionsMode(genai-speech-recognition)*Kt), companion objects (their static members are correctly hoisted onto the parent type), obfuscatedzz*members, and Kotlin data-classcomponent*/copysynthetics.Generated / derived files
cgmanifest.json,docs/artifact-list*.md,published-namespaces.txtPublicAPI.Unshipped.txtfor all affected packages (auto-generated from the built assemblies)Local validation
net10.0-android36.0(the net9 / API-35 ref pack is not installed on my machine; binding code is TFM-independent so CI covers net9).metadata-verify,namespace-checkpass;config.jsonis canonically sorted.Opening as draft to confirm the full CI build (net9 + net10, api-diff, namespace verify).
Generated with GitHub Copilot CLI