Skip to content

chore(deps): bump flutter_gemma from 0.12.0 to 0.13.1#23

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pub/flutter_gemma-0.13.1
Closed

chore(deps): bump flutter_gemma from 0.12.0 to 0.13.1#23
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pub/flutter_gemma-0.13.1

Conversation

@dependabot
Copy link
Copy Markdown

@dependabot dependabot Bot commented on behalf of github Apr 6, 2026

Bumps flutter_gemma from 0.12.0 to 0.13.1.

Release notes

Sourced from flutter_gemma's releases.

Release v0.13.1

Changes

  • LiteRT-LM 0.10.0: Updated Android and JVM SDK from 0.9.0 to 0.10.0
  • Gemma 4 Thinking Mode: isThinking: true now works with Gemma 4 E2B/E4B models via extraContext and streaming thought channels
  • Fix cancel download: Cancel download now works correctly (#196)
  • Fix large_file_handler platform support: Conditional imports for pub.dev platform analysis compatibility

Release v0.13.0

systemInstruction support

v0.12.7

No release notes provided.

Release v0.12.6

v0.12.6

  • LiteRT-LM 0.9.0-beta: Updated from 0.9.0-alpha02 on Android and Desktop (JVM)
  • Cancel Generation: Implemented on Android, Desktop, and Web
    • Android LiteRT-LM: Conversation.cancelProcess()
    • Desktop: gRPC CancelGeneration RPC
    • Web: LlmInference.cancelProcessing() (MediaPipe 0.10.26)
  • MediaPipe Web 0.10.26: Pinned CDN version
  • E2E Integration Tests: Full inference test suite with multimodal support

Release v0.12.5

Pre-converted tokenizer.json files for iOS embedding models (avoids SentencePiece/TFLite protobuf conflict).

Release v0.12.3

JAR for desktop support

Changelog

Sourced from flutter_gemma's changelog.

0.13.1

  • LiteRT-LM 0.10.0: Updated Android and JVM SDK from 0.9.0 to 0.10.0
  • Gemma 4 Thinking Mode: isThinking: true now works with Gemma 4 E2B/E4B models (Android, iOS, Desktop; not Web)
  • Fix cancel download: Cancel download now works correctly (#196)
  • Fix large_file_handler platform support: Conditional imports for pub.dev platform analysis compatibility

0.13.0

  • Gemma 4 E2B/E4B: Added support for next-gen multimodal models (text + image + audio)
  • systemInstruction: New parameter in createChat() and createSession() for setting system-level context
  • ModelFileType.litertlm: New file type to properly handle .litertlm models across platforms
  • iOS LiteRT-LM support: .litertlm models now work on iOS
  • stopGeneration on iOS: Supported for .litertlm models
  • MediaPipe GenAI 0.10.33: Updated iOS (from 0.10.24) and Android (from 0.10.29)
    • iOS: GPU backend selection via preferredBackend (Metal delegate now activated)
    • iOS: Audio modality support (addAudio + enableAudioModality)
    • Android: Unified inference engine (CPU-only path removed), improved error handling
    • Web: Updated to 0.10.27
  • Example WASM compatibility: Replaced direct dart:io imports with conditional imports for WASM compilation support
  • Benchmark integration test: example/integration_test/benchmark_comparison_test.dart for comparing model performance on device

0.12.8

  • ToolChoice enum: auto / required / none parameter in createChat() to control tool calling behavior
  • Parallel Tool Calls: ParallelFunctionCallResponse for multiple function calls in one response
  • Strategy Pattern Parser: Per-model FunctionCallFormat implementations (Gemma, Qwen, DeepSeek, Llama, Phi, FunctionGemma)
  • <tool_call> Format: Qwen/Mistral-style function call parsing
  • ModelType.phi: Dedicated model type for Phi-4 with <|tool_calls|> format support
  • NPU Fix: Pass nativeLibraryDir to LiteRT-LM Backend.NPU()
  • Embeddings: Models return L2-normalized vectors (dot product = cosine similarity)
  • Windows/Linux Embeddings Fix: TFLite C library now correctly copied to build output (#200)

0.12.7

  • Dual-Prefix Embeddings (TaskType): Improved RAG retrieval quality with query/document prefixes
    • TaskType.retrievalQuery (default) — for search queries
    • TaskType.retrievalDocument — for document indexing
    • Follows Google RAG SDK convention (EmbedData.TaskType)
    • All platforms: Android, iOS, Web, Desktop
    • addDocument() automatically uses document prefix
  • Desktop Embeddings: Run .tflite embedding models (EmbeddingGemma, Gecko) on macOS, Windows, Linux
    • LiteRT C API via dart:ffi — no gRPC, no JVM overhead
    • Pure Dart tokenizer via dart_sentencepiece_tokenizer (BPE + Unigram, auto-detect format)
    • LiteRT C library built from google-ai-edge/LiteRT v2.1.3
    • XNNPACK delegate with default options (QS8/QU8 quantization support)
    • Desktop scores match Android/Python exactly (cosine similarity 0.708)
    • CI workflow for building LiteRT C library on all 4 platform/arch combinations
  • Unified VectorStore: Single Dart implementation using sqlite3 dart:ffi replacing platform-specific code
  • Test Migration: Removed patrol dependency, migrated all integration tests to standard integration_test

0.12.6

  • LiteRT-LM 0.9.0-beta: Updated from 0.9.0-alpha02 on Android and Desktop (JVM)
    • Breaking API change: Backend enum to Backend factory constructors

... (truncated)

Commits
  • 2efc470 Fix: cancel download not working in SmartDownloader
  • 3ed8f7b Release 0.13.0: systemInstruction session-level, Gemma 4, MediaPipe 0.10.33/0...
  • 1558dc4 Merge pull request #206 from DenisovAV/fix/ci-analyze-warnings
  • fa8df65 Fix CI analyze warnings: remove unused imports in test helpers
  • e0c00e4 Merge pull request #205 from DenisovAV/feature/v0.12.8
  • 45bf582 Integration tests: use device files instead of network downloads, fix TFLite ...
  • 98fcc69 Fix review round 2: streaming parseAll, DeepSeek regex, zero-arg functions, h...
  • 91850ba Fix review issues: ModelType.phi, ToolChoice.none guard, streaming buffer det...
  • 76c43ed Bump version to 0.12.8, update docs, handle ParallelFunctionCallResponse in e...
  • ac2f14d Fix NPU nativeLibraryDir and add tool calling integration tests
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [flutter_gemma](https://github.com/DenisovAV/flutter_gemma) from 0.12.0 to 0.13.1.
- [Release notes](https://github.com/DenisovAV/flutter_gemma/releases)
- [Changelog](https://github.com/DenisovAV/flutter_gemma/blob/main/CHANGELOG.md)
- [Commits](DenisovAV/flutter_gemma@v0.12.0...v0.13.1)

---
updated-dependencies:
- dependency-name: flutter_gemma
  dependency-version: 0.13.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dart Pull requests that update dart code dependencies Pull requests that update a dependency file labels Apr 6, 2026
@dependabot @github
Copy link
Copy Markdown
Author

dependabot Bot commented on behalf of github Apr 7, 2026

Superseded by #24.

@dependabot dependabot Bot closed this Apr 7, 2026
@dependabot dependabot Bot deleted the dependabot/pub/flutter_gemma-0.13.1 branch April 7, 2026 03:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dart Pull requests that update dart code dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants