From 39e4d68a24690754828222f90e345fd03a33158f Mon Sep 17 00:00:00 2001 From: leehack Date: Sun, 22 Nov 2026 17:53:33 -0500 Subject: [PATCH] Prepare llamadart 0.20.6 release --- CHANGELOG.md | 6 ++++++ README.md | 10 +++++----- example/chat_app/pubspec.lock | 8 ++++---- packages/llamadart_litert_lm_flutter/CHANGELOG.md | 4 ++++ packages/llamadart_litert_lm_flutter/README.md | 4 ++-- packages/llamadart_litert_lm_flutter/pubspec.yaml | 2 +- packages/llamadart_llama_cpp_flutter/CHANGELOG.md | 4 ++++ packages/llamadart_llama_cpp_flutter/README.md | 4 ++-- packages/llamadart_llama_cpp_flutter/pubspec.yaml | 2 +- .../llamadart_stable_diffusion_flutter/CHANGELOG.md | 4 ++++ packages/llamadart_stable_diffusion_flutter/README.md | 4 ++-- .../llamadart_stable_diffusion_flutter/pubspec.yaml | 2 +- packages/llamadart_validation/pubspec.lock | 2 +- pubspec.yaml | 2 +- website/docs/changelog/recent-releases.md | 6 ++++++ website/docs/getting-started/installation.md | 10 +++++----- website/docs/guides/image-generation.md | 2 +- website/examples/observability/pubspec.lock | 2 +- 18 files changed, 51 insertions(+), 27 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 958e73efd..cbea334f7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,12 @@ Releases before 0.10.0 are in the [changelog archive](https://github.com/leehack/llamadart/blob/main/doc/changelog_archive.md). +## 0.20.6 + +- Aligned the default WebGPU bridge assets to `v0.1.92` and added `ModelParams.jsBackedModelStaging` to control JS-backed Web GGUF and projector staging when the bridge supports it. + +Runtime baseline: native llama.cpp `v1.0.0-4` and Web use upstream `v1.0.0@b1b770d90d94cad9e9ea5b993bdbc383a522fb28`; native LiteRT-LM uses `v0.19.1-7` and stable-diffusion uses `v0.4.0`. Web LiteRT-LM uses `@litert-lm/core@0.19.0`. Manifest SHA-256: `4f2fb82d55a932e9182e703d5265f3fc5875f808d4d9aa0ba18a0585d0d7784b`. + ## 0.20.5 - Recognize committed WebKit model cache entries across cache formats and reuse cached projectors in the Web backend and chat app. diff --git a/README.md b/README.md index 5f5ddf220..dada3d83a 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ LFM2 replies cut off at a reported length limit expose raw `partialToolCalls` di ```yaml dependencies: - llamadart: ^0.20.5 + llamadart: ^0.20.6 ``` ```bash @@ -56,10 +56,10 @@ companion shares its core's `MAJOR.MINOR` and constrains `llamadart` to it. ```yaml dependencies: - llamadart: ^0.20.5 - llamadart_llama_cpp_flutter: ^0.20.5 # GGUF / llama.cpp - llamadart_litert_lm_flutter: ^0.20.5 # Apple .litertlm / LiteRT-LM targets - llamadart_stable_diffusion_flutter: ^0.20.5 # Apple image generation, opt-in + llamadart: ^0.20.6 + llamadart_llama_cpp_flutter: ^0.20.6 # GGUF / llama.cpp + llamadart_litert_lm_flutter: ^0.20.6 # Apple .litertlm / LiteRT-LM targets + llamadart_stable_diffusion_flutter: ^0.20.6 # Apple image generation, opt-in ``` Pairing rules, the SwiftPM bootstrap and the privacy manifest are in diff --git a/example/chat_app/pubspec.lock b/example/chat_app/pubspec.lock index a7a84c288..5aa010401 100644 --- a/example/chat_app/pubspec.lock +++ b/example/chat_app/pubspec.lock @@ -421,28 +421,28 @@ packages: path: "../.." relative: true source: path - version: "0.20.5" + version: "0.20.6" llamadart_litert_lm_flutter: dependency: "direct main" description: path: "../../packages/llamadart_litert_lm_flutter" relative: true source: path - version: "0.20.5" + version: "0.20.6" llamadart_llama_cpp_flutter: dependency: "direct main" description: path: "../../packages/llamadart_llama_cpp_flutter" relative: true source: path - version: "0.20.5" + version: "0.20.6" llamadart_stable_diffusion_flutter: dependency: "direct main" description: path: "../../packages/llamadart_stable_diffusion_flutter" relative: true source: path - version: "0.20.5" + version: "0.20.6" llamadart_validation: dependency: "direct main" description: diff --git a/packages/llamadart_litert_lm_flutter/CHANGELOG.md b/packages/llamadart_litert_lm_flutter/CHANGELOG.md index b09a07219..c1857d380 100644 --- a/packages/llamadart_litert_lm_flutter/CHANGELOG.md +++ b/packages/llamadart_litert_lm_flutter/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.20.6 + +- Update the installation example to core `0.20.6`. Apple SwiftPM stays pinned to `leehack/litert-lm-native@v0.19.1-7`. + ## 0.20.5 - Update the Apple SwiftPM runtime to `leehack/litert-lm-native@v0.19.1-7` to fix duplicate tokens and wrong arithmetic on macOS Metal. Requires core `>=0.20.5 <0.21.0`. diff --git a/packages/llamadart_litert_lm_flutter/README.md b/packages/llamadart_litert_lm_flutter/README.md index a6d73656a..a31fb6765 100644 --- a/packages/llamadart_litert_lm_flutter/README.md +++ b/packages/llamadart_litert_lm_flutter/README.md @@ -28,8 +28,8 @@ also request an x86_64 Simulator slice must exclude x86_64 for LiteRT-LM builds. ```yaml dependencies: - llamadart: ^0.20.5 - llamadart_litert_lm_flutter: ^0.20.5 + llamadart: ^0.20.6 + llamadart_litert_lm_flutter: ^0.20.6 ``` This package has no runtime Dart API of its own. Import `package:llamadart` diff --git a/packages/llamadart_litert_lm_flutter/pubspec.yaml b/packages/llamadart_litert_lm_flutter/pubspec.yaml index 4322b3d68..a300ddc5d 100644 --- a/packages/llamadart_litert_lm_flutter/pubspec.yaml +++ b/packages/llamadart_litert_lm_flutter/pubspec.yaml @@ -1,6 +1,6 @@ name: llamadart_litert_lm_flutter description: Flutter Apple SwiftPM runtime companion package for llamadart LiteRT-LM support. -version: 0.20.5 +version: 0.20.6 repository: https://github.com/leehack/llamadart/tree/main/packages/llamadart_litert_lm_flutter homepage: https://github.com/leehack/llamadart issue_tracker: https://github.com/leehack/llamadart/issues diff --git a/packages/llamadart_llama_cpp_flutter/CHANGELOG.md b/packages/llamadart_llama_cpp_flutter/CHANGELOG.md index d09c4005a..8988787bc 100644 --- a/packages/llamadart_llama_cpp_flutter/CHANGELOG.md +++ b/packages/llamadart_llama_cpp_flutter/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.20.6 + +- Update the installation example to core `0.20.6`. Apple SwiftPM stays pinned to `leehack/llamadart-native@v1.0.0-4`. + ## 0.20.5 - Update the installation example to core `0.20.5`. Apple SwiftPM stays pinned to `leehack/llamadart-native@v1.0.0-4`. diff --git a/packages/llamadart_llama_cpp_flutter/README.md b/packages/llamadart_llama_cpp_flutter/README.md index 6a6ca81af..915200eef 100644 --- a/packages/llamadart_llama_cpp_flutter/README.md +++ b/packages/llamadart_llama_cpp_flutter/README.md @@ -13,8 +13,8 @@ with core `0.20.x`. Upgrade both together. Earlier pairings are in the ```yaml dependencies: - llamadart: ^0.20.5 - llamadart_llama_cpp_flutter: ^0.20.5 + llamadart: ^0.20.6 + llamadart_llama_cpp_flutter: ^0.20.6 ``` This package has no runtime Dart API of its own. Import `package:llamadart` diff --git a/packages/llamadart_llama_cpp_flutter/pubspec.yaml b/packages/llamadart_llama_cpp_flutter/pubspec.yaml index e4baa18c2..82c7ebe25 100644 --- a/packages/llamadart_llama_cpp_flutter/pubspec.yaml +++ b/packages/llamadart_llama_cpp_flutter/pubspec.yaml @@ -1,6 +1,6 @@ name: llamadart_llama_cpp_flutter description: Flutter Apple SwiftPM runtime companion package for llamadart llama.cpp and GGUF support. -version: 0.20.5 +version: 0.20.6 repository: https://github.com/leehack/llamadart/tree/main/packages/llamadart_llama_cpp_flutter homepage: https://github.com/leehack/llamadart issue_tracker: https://github.com/leehack/llamadart/issues diff --git a/packages/llamadart_stable_diffusion_flutter/CHANGELOG.md b/packages/llamadart_stable_diffusion_flutter/CHANGELOG.md index c14a6c83f..afed81b1b 100644 --- a/packages/llamadart_stable_diffusion_flutter/CHANGELOG.md +++ b/packages/llamadart_stable_diffusion_flutter/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.20.6 + +- Update the installation example to core `0.20.6`. Apple SwiftPM stays pinned to `leehack/stable-diffusion-native@v0.4.0`. + ## 0.20.5 - Update the installation example to core `0.20.5`. Apple SwiftPM stays pinned to `leehack/stable-diffusion-native@v0.4.0`. diff --git a/packages/llamadart_stable_diffusion_flutter/README.md b/packages/llamadart_stable_diffusion_flutter/README.md index 8b1475f7a..8490634a9 100644 --- a/packages/llamadart_stable_diffusion_flutter/README.md +++ b/packages/llamadart_stable_diffusion_flutter/README.md @@ -19,8 +19,8 @@ with core `0.20.x`. Upgrade both together. Earlier pairings are in the ```yaml dependencies: - llamadart: ^0.20.5 - llamadart_stable_diffusion_flutter: ^0.20.5 + llamadart: ^0.20.6 + llamadart_stable_diffusion_flutter: ^0.20.6 ``` Adding the package selects the `stable_diffusion` runtime for Flutter iOS and diff --git a/packages/llamadart_stable_diffusion_flutter/pubspec.yaml b/packages/llamadart_stable_diffusion_flutter/pubspec.yaml index 347ab5979..480f70fd0 100644 --- a/packages/llamadart_stable_diffusion_flutter/pubspec.yaml +++ b/packages/llamadart_stable_diffusion_flutter/pubspec.yaml @@ -1,6 +1,6 @@ name: llamadart_stable_diffusion_flutter description: Flutter Apple SwiftPM runtime companion package for llamadart stable-diffusion.cpp image generation. -version: 0.20.5 +version: 0.20.6 repository: https://github.com/leehack/llamadart/tree/main/packages/llamadart_stable_diffusion_flutter homepage: https://github.com/leehack/llamadart issue_tracker: https://github.com/leehack/llamadart/issues diff --git a/packages/llamadart_validation/pubspec.lock b/packages/llamadart_validation/pubspec.lock index 4304390dd..6449cef2f 100644 --- a/packages/llamadart_validation/pubspec.lock +++ b/packages/llamadart_validation/pubspec.lock @@ -215,7 +215,7 @@ packages: path: "../.." relative: true source: path - version: "0.20.5" + version: "0.20.6" logging: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index adec21cf7..37f8c6619 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: llamadart description: Cross-platform, on-device LLM inference for Dart and Flutter. Run GGUF (llama.cpp) and LiteRT-LM models locally on Android, iOS, macOS, Windows, Linux and web. -version: 0.20.5 +version: 0.20.6 homepage: https://llamadart.leehack.com repository: https://github.com/leehack/llamadart issue_tracker: https://github.com/leehack/llamadart/issues diff --git a/website/docs/changelog/recent-releases.md b/website/docs/changelog/recent-releases.md index 8dba94b92..9bca69bea 100644 --- a/website/docs/changelog/recent-releases.md +++ b/website/docs/changelog/recent-releases.md @@ -11,6 +11,12 @@ For upgrade planning, combine this page with the [Upgrade Checklist](../migration/upgrade-checklist). For breaking changes, validate against the exact release tag notes. +## 0.20.6 + +- Aligned default WebGPU bridge assets to `v0.1.92` and added `ModelParams.jsBackedModelStaging` to control JS-backed Web GGUF and projector staging when the bridge supports it. + +Runtime baseline: native llama.cpp `v1.0.0-4` and Web use upstream `v1.0.0@b1b770d90d94cad9e9ea5b993bdbc383a522fb28`; native LiteRT-LM uses `v0.19.1-7` and stable-diffusion uses `v0.4.0`. Web LiteRT-LM uses `@litert-lm/core@0.19.0`. Manifest SHA-256: `4f2fb82d55a932e9182e703d5265f3fc5875f808d4d9aa0ba18a0585d0d7784b`. + ## 0.20.5 - Recognize committed WebKit model cache entries across cache formats and reuse cached projectors in the Web backend and chat app. diff --git a/website/docs/getting-started/installation.md b/website/docs/getting-started/installation.md index 9b29d5b7a..ef281e43a 100644 --- a/website/docs/getting-started/installation.md +++ b/website/docs/getting-started/installation.md @@ -23,7 +23,7 @@ For Genkit or Flutter Edge AI integration setup, see ```yaml dependencies: - llamadart: ^0.20.5 + llamadart: ^0.20.6 ``` Then resolve packages: @@ -42,10 +42,10 @@ Apple XCFrameworks: ```yaml dependencies: - llamadart: ^0.20.5 - llamadart_llama_cpp_flutter: ^0.20.5 # GGUF / llama.cpp - llamadart_litert_lm_flutter: ^0.20.5 # Apple .litertlm / LiteRT-LM targets - llamadart_stable_diffusion_flutter: ^0.20.5 # Apple image generation, opt-in + llamadart: ^0.20.6 + llamadart_llama_cpp_flutter: ^0.20.6 # GGUF / llama.cpp + llamadart_litert_lm_flutter: ^0.20.6 # Apple .litertlm / LiteRT-LM targets + llamadart_stable_diffusion_flutter: ^0.20.6 # Apple image generation, opt-in ``` Companions use the core's `MAJOR.MINOR`; pub refuses a mismatched pair. diff --git a/website/docs/guides/image-generation.md b/website/docs/guides/image-generation.md index 1cf5ac005..3715be38a 100644 --- a/website/docs/guides/image-generation.md +++ b/website/docs/guides/image-generation.md @@ -94,7 +94,7 @@ Apple SD companion pinning its own runtime, so upgrade the core and ```yaml dependencies: - llamadart_stable_diffusion_flutter: ^0.20.5 + llamadart_stable_diffusion_flutter: ^0.20.6 ``` Without it, `all` leaves the image runtime out of a Flutter iOS or macOS app diff --git a/website/examples/observability/pubspec.lock b/website/examples/observability/pubspec.lock index a7aaed7cd..897880b20 100644 --- a/website/examples/observability/pubspec.lock +++ b/website/examples/observability/pubspec.lock @@ -271,7 +271,7 @@ packages: path: "../../.." relative: true source: path - version: "0.20.5" + version: "0.20.6" logging: dependency: transitive description: