Recent Releases
Review recent llamadart release highlights and jump to the canonical changelog for full release notes.
On this page
For canonical full release notes, use:
0.6.13#
-
Added package-managed model source downloads and cache management:
ModelSource,ModelLoadOptions,ModelCachePolicy, resolver targets, download/cache metadata, progress callbacks, cache inspection, removal, clearing, and age/size pruning. -
Added native/file-backed
DefaultModelDownloadManagersupport for streaming HTTP downloads,.partfiles with atomic promotion, authenticated bearer and custom headers, cooperative cancellation, retry, HTTP Range resume, cache hit/refresh/cache-only/no-cache policies, SHA-256 verification, and persisted redacted metadata for signed URLs. -
Improved Hugging Face
hf://ergonomics with?revision=...parsing for branch/ref names containing slashes, plus docs for private/gated bearer-token usage, separatemmprojassets, sharded-GGUF limitations, and redaction guarantees. -
Hardened download/cache correctness by serializing concurrent same-entry
downloads, recovering missing or malformed cache metadata sidecars, treating
mismatched byte-count/SHA-256 metadata as cache misses, and rejecting
remote-only options for local
ModelSource.path(...)inputs. -
Added
LlamaEngine.loadModelSource(...)so local path sources keep using the existing native loader, remote HTTP(S)/Hugging Face sources download through the package-managed native cache before local loading, and URL-capable web backends keep using direct URL loading for simple unauthenticated requests. -
Added KV-cache state persistence APIs:
LlamaEngine.supportsStatePersistence,stateSaveFile(...),stateLoadFile(...), backend support diagnostics, and WebGPU bridge forwarding for bridge assetsv0.1.15+. -
Compatibility note: no public API breaking changes in
0.6.13; existingloadModel(...)callers are unchanged.
0.6.12#
-
Synced default WebGPU bridge asset pinning to
leehack/llama-web-bridge-assets@v0.1.14(llama.cppb9016) to match the native runtime pin. - Picked up bridge-side Qwen UTF-8 streaming stabilization and multimodal fallback narrowing while preserving control-token output for parser consumers.
- Picked up the bridge-side BERT embedding thread-pool sizing fix so automatic thread selection does not exceed the compiled WebAssembly pthread pool.
-
Forwarded native-compatible
ModelParamsload tuning knobs through the WebGPU bridge path, including sequence slots, flash attention, KV cache type, RoPE overrides, split mode, and main GPU. -
Matched native batch defaults on WebGPU so unset
batchSizeandmicroBatchSizeusen_batch = n_ctxandn_ubatch = n_batch, avoiding first-embedding aborts for BERT-class/non-causal encoder models while preserving model-specific Qwen3.5-0.8B WebGPU safety tuning. - Filtered backend-owned runtime dependencies during native asset bundling so CUDA runtime DLLs and OpenBLAS runtime libraries are emitted only when their owning backend module is selected, while unknown runtime libraries stay bundled for forward compatibility.
- Compatibility note: no public API breaking changes in
0.6.12.
0.6.11#
-
Synced native hook pinning and regenerated bindings through
leehack/llamadart-native@b8955. -
Fixed Gemma 4 streaming so
<|channel>thought ... <channel|>output is emitted as thinking deltas instead of content text, including when channel markers are split across streamed chunks. - Tracked the chat app lockfile for stable generated Flutter plugin metadata in CI and release validation.
- Compatibility note: no public API breaking changes in
0.6.11.
0.6.10#
-
Synced native hook pinning and regenerated bindings through
leehack/llamadart-native@b8638. -
Hardened multimodal prompt overflow handling so native failures surface as
Dart exceptions, and reduced staged chat-app image size to a
384pxmax edge to lower multimodal context pressure. - Added built-in Gemma 4 template detection/render/parse support, including thinking and tool-call handling.
-
Added runtime projector capability gating so multimodal flows and the chat app
respect actual
supportsVision/supportsAudioresults instead of model-family assumptions. - Compatibility note: no public API breaking changes in
0.6.10.
0.6.9#
-
Documented that iOS builds require a minimum deployment target of
16.4or newer across the README, docs site, and example docs. -
Updated
example/chat_appiOS Podfile and Runner project settings to use deployment target16.4. -
Honored
ggml_backend_scoreduring Android asset-based backend fallback so unsupported CPU variant libraries are skipped before initialization. -
Changed Android
autobackend resolution to prefer CPU by default while keeping Vulkan available for explicit opt-in. -
Clarified that changing
hooks.user_definesrequiresflutter clean && flutter pub getbefore rebuilding. - Compatibility note: no public API breaking changes in
0.6.9.
0.6.8#
-
Synced native hook pinning and regenerated bindings to
leehack/llamadart-native@b8480. - Refreshed generated low-level FFI bindings to match the synced upstream headers.
- Compatibility note: no public API breaking changes in
0.6.8.
0.6.7#
-
Synced native hook pinning and regenerated bindings to
leehack/llamadart-native@b8373. -
Hardened Linux bundle loading for packaged apps and improved versioned
libllamadartdependency resolution. -
Fixed Hermes tool-call parsing when whitespace appears between
<tool_call>and the JSON payload. - Compatibility note: no public API breaking changes in
0.6.7.
0.6.6#
- Synced native hook pin to
leehack/llamadart-native@b8216. -
Updated default web bridge asset pinning to
leehack/llama-web-bridge-assets@v0.1.10(llama.cppb8216). - Switched bundled Qwen3.5 example presets to Unsloth
Q4_K_MGGUFs. -
Added native perf diagnostics chips in the chat app (
p_eval,eval,sample,reuse) and Android-specific Qwen tuning guidance. -
Restored a targeted Android Vulkan fast path for local Qwen3.5
0.8B/2B/4Bmodels while keeping CPU as the recommended Android preset for0.8B/2B. - Fixed local web chat app bridge/runtime handling for Qwen prompt streaming and multimodal fallback behavior.
- Compatibility note: no public API breaking changes in
0.6.6.
0.6.5#
-
Added embedding APIs:
LlamaEngine.embed(...)andLlamaEngine.embedBatch(...). - Added backend embedding capability interfaces for custom backend implementations.
-
Added multi-sequence embedding batching support via
ModelParams.maxParallelSequences(n_seq_max). -
Added native embedding benchmark tooling:
tool/testing/native_embedding_benchmark.dartandtool/testing/native_embedding_sweep.dart. - Added website docs for embeddings and updated basic-app docs with embedding examples.
-
Added a Basic App SQLite vector retrieval example using
bin/llamadart_sqlite_vector_example.dart. -
Updated default WebGPU bridge asset pinning to
leehack/llama-web-bridge-assets@v0.1.8. - Improved WebGPU runtime stability/tuning in chat app flows (backend switching, streaming smoothness, and multimodal regression gating).
- Added GPU-path multimodal image-size capping to reduce memory/runtime pressure on larger image inputs.
- Compatibility note: no public API breaking changes in
0.6.5.
0.6.4#
- Aligned multimodal projector offload with effective model-load settings, including CPU-only configurations.
- Added safer backend selection/discovery APIs and improved runtime backend status plus GPU-layer diagnostics accuracy.
- Improved web large-model handling with cache-prefetch download UX, bridge worker fallback paths, memory-pressure retries, and wasm64-core fallback wiring.
-
Synced native hook tag to
b8157and added Android arm64 CPU-profile and variant policy support with loader hardening.
0.6.3#
-
Synced native runtime to llama.cpp
b8138and picked up Android arm64 crash/compatibility hardening. - Example app performance/UX polish and web model handling improvements.
-
Added
example/tui_coding_agent, a terminal coding agent example with default stable text-protocol tool mode. - Added persisted settings log-level fallback handling with regression tests.
0.6.2#
- Native inference performance improvements (request overhead, stream batching, and prompt-prefix reuse with parity-safe fallback).
- Added native benchmark and prompt-reuse parity tooling, plus CI parity coverage.
0.6.1#
- Publishing compatibility fix for hook backend-config code paths.
- Continued parity hardening around template/parser behavior.
0.6.x line highlights#
- Expanded llama.cpp template and parser parity.
- Stronger handling for tool payload fidelity.
- More deterministic behavior around template routing and fallback removal.
0.5.x line highlights#
- Public API tightening and migration cleanup.
- Split Dart/native log controls.
- Example/runtime reliability improvements.
Release usage guidance#
- For upgrade planning, combine this page with Upgrade Checklist.
- For breaking changes, always validate against the exact release tag notes.