diff --git a/CHANGELOG.md b/CHANGELOG.md index 91683e1c7..d664f48d7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,13 +1,15 @@ Releases before 0.10.0 are in the [changelog archive](https://github.com/leehack/llamadart/blob/main/doc/changelog_archive.md). -## Unreleased +## 0.19.6 -- LiteRT-LM unsupported-runtime errors name the pinned runtime tag (`v0.19.1-3`) instead of `v0.19.1-2` ([#1861](https://github.com/leehack/llamadart/issues/1861)). -- Qwen3-Coder and Ling 3 tool-call grammars no longer define a rule twice, which rejected valid calls, when a nested argument property is named `at-value-end` ([#1861](https://github.com/leehack/llamadart/issues/1861)). -- Seed-OSS replies with a closed call followed by unclosed `` scopes no longer end their content with an added `` ([#1861](https://github.com/leehack/llamadart/issues/1861)). +- Keep the default WebGPU bridge assets at `v0.1.83` (unchanged from 0.19.5). +- Adopt native LiteRT-LM `v0.19.1-4`, whose `LiteRtLm` embeds LiteRT and its GPU accelerator: generation on CPU and GPU is unchanged, the unused `LiteRt` and WebGPU accelerator libraries no longer ship on macOS and the unused loose `libLiteRt` no longer ships on iOS, the macOS hook bundle download is 6.2 MB smaller (16.9 MB installed), macOS apps using `llamadart_litert_lm_flutter` drop the same two libraries and 6.2 MB of XCFramework downloads, and the iOS hook download is 2.7 MB smaller ([#1911](https://github.com/leehack/llamadart/issues/1911)). - A thinking budget on Qwen3-Coder XML templates (Qwen3.5, Nemotron 3 Nano, StepFun 3.5 Flash) now closes the thought with a line break before ``, as llama.cpp does, so the reply no longer continues the thought or the raw tool call as content ([#1914](https://github.com/leehack/llamadart/issues/1914)). -- Stop shipping the unused LiteRT-LM `LiteRt` and WebGPU accelerator libraries on macOS, and the unused loose `libLiteRt` on iOS: native LiteRT-LM moves to `v0.19.1-4`, whose `LiteRtLm` embeds LiteRT and its GPU accelerator, so generation on CPU and GPU is unchanged while the macOS hook bundle drops 6.2 MB of download (16.9 MB installed), macOS apps using `llamadart_litert_lm_flutter` drop the same two libraries and 6.2 MB of XCFramework downloads, and the iOS hook download drops 2.7 MB ([#1911](https://github.com/leehack/llamadart/issues/1911)). +- The Qwen3-Coder and Ling 3 tool-call grammars no longer define a rule twice, which rejected valid calls, when a nested argument property is named `at-value-end`; Seed-OSS replies with a closed call followed by unclosed `` scopes no longer end their content with an added `` ([#1861](https://github.com/leehack/llamadart/issues/1861)). +- LiteRT-LM unsupported-runtime errors name the pinned runtime tag (`v0.19.1-4`) instead of `v0.19.1-2` ([#1861](https://github.com/leehack/llamadart/issues/1861)). + +Runtime baseline: native llama.cpp `v0.9.0` and Web use upstream `v0.9.0@cd959bae99ff4bed22bef2604f45241c09bbb8c8`; native LiteRT-LM uses `v0.19.1-4` and stable-diffusion uses `v0.3.0-3`. Web LiteRT-LM uses `@litert-lm/core@0.19.0`. Manifest SHA-256: `ae6f488408672f9ba28d8f9e664a2b85f4e12048f290e259e18dd0b750c038e5`. ## 0.19.5 diff --git a/README.md b/README.md index bbee06577..25e0566cf 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.19.5 + llamadart: ^0.19.6 ``` ```bash @@ -56,10 +56,10 @@ companion shares its core's `MAJOR.MINOR` and constrains `llamadart` to it. ```yaml dependencies: - llamadart: ^0.19.5 - llamadart_llama_cpp_flutter: ^0.19.5 # GGUF / llama.cpp - llamadart_litert_lm_flutter: ^0.19.5 # Apple .litertlm / LiteRT-LM targets - llamadart_stable_diffusion_flutter: ^0.19.5 # Apple image generation, opt-in + llamadart: ^0.19.6 + llamadart_llama_cpp_flutter: ^0.19.6 # GGUF / llama.cpp + llamadart_litert_lm_flutter: ^0.19.6 # Apple .litertlm / LiteRT-LM targets + llamadart_stable_diffusion_flutter: ^0.19.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 3ddc343ed..ca1efb5ca 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.19.5" + version: "0.19.6" llamadart_litert_lm_flutter: dependency: "direct main" description: path: "../../packages/llamadart_litert_lm_flutter" relative: true source: path - version: "0.19.5" + version: "0.19.6" llamadart_llama_cpp_flutter: dependency: "direct main" description: path: "../../packages/llamadart_llama_cpp_flutter" relative: true source: path - version: "0.19.5" + version: "0.19.6" llamadart_stable_diffusion_flutter: dependency: "direct main" description: path: "../../packages/llamadart_stable_diffusion_flutter" relative: true source: path - version: "0.19.5" + version: "0.19.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 7eecd9685..b9745e469 100644 --- a/packages/llamadart_litert_lm_flutter/CHANGELOG.md +++ b/packages/llamadart_litert_lm_flutter/CHANGELOG.md @@ -1,6 +1,7 @@ -## Unreleased +## 0.19.6 -- Pin `leehack/litert-lm-native@v0.19.1-4` and drop the unused `LiteRt` and `LiteRtWebGpuAccelerator` targets: `LiteRtLm` embeds both, so macOS apps no longer embed two dylibs (about 16.9 MB) or download 6.2 MB of XCFrameworks ([#1911](https://github.com/leehack/llamadart/issues/1911)). +- Refresh README installation guidance for core `0.19.6`. +- Pair with core `>=0.19.6 <0.20.0`; pin `leehack/litert-lm-native@v0.19.1-4` and drop the unused `LiteRt` and `LiteRtWebGpuAccelerator` targets: `LiteRtLm` embeds both, so macOS apps no longer embed two dylibs (about 16.9 MB) or download 6.2 MB of XCFrameworks ([#1911](https://github.com/leehack/llamadart/issues/1911)). ## 0.19.5 diff --git a/packages/llamadart_litert_lm_flutter/README.md b/packages/llamadart_litert_lm_flutter/README.md index d30119401..cb9f04641 100644 --- a/packages/llamadart_litert_lm_flutter/README.md +++ b/packages/llamadart_litert_lm_flutter/README.md @@ -27,8 +27,8 @@ also request an x86_64 Simulator slice must exclude x86_64 for LiteRT-LM builds. ```yaml dependencies: - llamadart: ^0.19.5 - llamadart_litert_lm_flutter: ^0.19.5 + llamadart: ^0.19.6 + llamadart_litert_lm_flutter: ^0.19.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 1ac24090d..e4b537dac 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.19.5 +version: 0.19.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 @@ -17,7 +17,7 @@ environment: dependencies: flutter: sdk: flutter - llamadart: '>=0.19.5 <0.20.0' + llamadart: '>=0.19.6 <0.20.0' dev_dependencies: flutter_test: diff --git a/packages/llamadart_llama_cpp_flutter/CHANGELOG.md b/packages/llamadart_llama_cpp_flutter/CHANGELOG.md index 56c1b1bce..fb0ea82d2 100644 --- a/packages/llamadart_llama_cpp_flutter/CHANGELOG.md +++ b/packages/llamadart_llama_cpp_flutter/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.19.6 + +- Refresh README installation guidance for core `0.19.6`; Apple SwiftPM stays pinned to `leehack/llamadart-native@v0.9.0`. + ## 0.19.5 - Refresh README installation guidance for core `0.19.5`; Apple SwiftPM stays pinned to `leehack/llamadart-native@v0.9.0`. diff --git a/packages/llamadart_llama_cpp_flutter/README.md b/packages/llamadart_llama_cpp_flutter/README.md index 33b74c960..a70adfb84 100644 --- a/packages/llamadart_llama_cpp_flutter/README.md +++ b/packages/llamadart_llama_cpp_flutter/README.md @@ -13,8 +13,8 @@ with core `0.19.x`. Upgrade both together. Earlier pairings are in the ```yaml dependencies: - llamadart: ^0.19.5 - llamadart_llama_cpp_flutter: ^0.19.5 + llamadart: ^0.19.6 + llamadart_llama_cpp_flutter: ^0.19.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 f43b0594c..2b7fa1132 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.19.5 +version: 0.19.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 f6ee671d7..0cea48c92 100644 --- a/packages/llamadart_stable_diffusion_flutter/CHANGELOG.md +++ b/packages/llamadart_stable_diffusion_flutter/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.19.6 + +- Refresh README installation guidance for core `0.19.6`; Apple SwiftPM stays pinned to `leehack/stable-diffusion-native@v0.3.0-3`. + ## 0.19.5 - Refresh README installation guidance for core `0.19.5`; Apple SwiftPM stays pinned to `leehack/stable-diffusion-native@v0.3.0-3`. diff --git a/packages/llamadart_stable_diffusion_flutter/README.md b/packages/llamadart_stable_diffusion_flutter/README.md index b0b6b7638..ac7ca5f2d 100644 --- a/packages/llamadart_stable_diffusion_flutter/README.md +++ b/packages/llamadart_stable_diffusion_flutter/README.md @@ -19,8 +19,8 @@ with core `0.19.x`. Upgrade both together. Earlier pairings are in the ```yaml dependencies: - llamadart: ^0.19.5 - llamadart_stable_diffusion_flutter: ^0.19.5 + llamadart: ^0.19.6 + llamadart_stable_diffusion_flutter: ^0.19.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 ac4609743..5040f3dfa 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.19.5 +version: 0.19.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 64a709eae..addcffa3e 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.19.5" + version: "0.19.6" logging: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index bd243b179..438ca6c3a 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.19.5 +version: 0.19.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 59fb13b31..637873b6f 100644 --- a/website/docs/changelog/recent-releases.md +++ b/website/docs/changelog/recent-releases.md @@ -11,13 +11,15 @@ For upgrade planning, combine this page with the [Upgrade Checklist](../migration/upgrade-checklist). For breaking changes, validate against the exact release tag notes. -## Unreleased +## 0.19.6 -- LiteRT-LM unsupported-runtime errors name the pinned runtime tag (`v0.19.1-3`) instead of `v0.19.1-2` ([#1861](https://github.com/leehack/llamadart/issues/1861)). -- Qwen3-Coder and Ling 3 tool-call grammars no longer define a rule twice, which rejected valid calls, when a nested argument property is named `at-value-end` ([#1861](https://github.com/leehack/llamadart/issues/1861)). -- Seed-OSS replies with a closed call followed by unclosed `` scopes no longer end their content with an added `` ([#1861](https://github.com/leehack/llamadart/issues/1861)). +- Keep default WebGPU bridge assets at `v0.1.83` (unchanged from 0.19.5). +- Adopt native LiteRT-LM `v0.19.1-4`, whose `LiteRtLm` embeds LiteRT and its GPU accelerator: generation on CPU and GPU is unchanged, the unused `LiteRt` and WebGPU accelerator libraries no longer ship on macOS and the unused loose `libLiteRt` no longer ships on iOS, the macOS hook bundle download is 6.2 MB smaller (16.9 MB installed), macOS apps using `llamadart_litert_lm_flutter` drop the same two libraries and 6.2 MB of XCFramework downloads, and the iOS hook download is 2.7 MB smaller ([#1911](https://github.com/leehack/llamadart/issues/1911)). - A thinking budget on Qwen3-Coder XML templates (Qwen3.5, Nemotron 3 Nano, StepFun 3.5 Flash) now closes the thought with a line break before ``, as llama.cpp does, so the reply no longer continues the thought or the raw tool call as content ([#1914](https://github.com/leehack/llamadart/issues/1914)). -- Stop shipping the unused LiteRT-LM `LiteRt` and WebGPU accelerator libraries on macOS, and the unused loose `libLiteRt` on iOS: native LiteRT-LM moves to `v0.19.1-4`, whose `LiteRtLm` embeds LiteRT and its GPU accelerator, so generation on CPU and GPU is unchanged while the macOS hook bundle drops 6.2 MB of download (16.9 MB installed), macOS apps using `llamadart_litert_lm_flutter` drop the same two libraries and 6.2 MB of XCFramework downloads, and the iOS hook download drops 2.7 MB ([#1911](https://github.com/leehack/llamadart/issues/1911)). +- The Qwen3-Coder and Ling 3 tool-call grammars no longer define a rule twice, which rejected valid calls, when a nested argument property is named `at-value-end`; Seed-OSS replies with a closed call followed by unclosed `` scopes no longer end their content with an added `` ([#1861](https://github.com/leehack/llamadart/issues/1861)). +- LiteRT-LM unsupported-runtime errors name the pinned runtime tag (`v0.19.1-4`) instead of `v0.19.1-2` ([#1861](https://github.com/leehack/llamadart/issues/1861)). + +Runtime baseline: native llama.cpp `v0.9.0` and Web use upstream `v0.9.0@cd959bae99ff4bed22bef2604f45241c09bbb8c8`; native LiteRT-LM uses `v0.19.1-4` and stable-diffusion uses `v0.3.0-3`. Web LiteRT-LM uses `@litert-lm/core@0.19.0`. Manifest SHA-256: `ae6f488408672f9ba28d8f9e664a2b85f4e12048f290e259e18dd0b750c038e5`. ## 0.19.5 diff --git a/website/docs/getting-started/installation.md b/website/docs/getting-started/installation.md index c798bdae5..b9923aacb 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.19.5 + llamadart: ^0.19.6 ``` Then resolve packages: @@ -42,10 +42,10 @@ Apple XCFrameworks: ```yaml dependencies: - llamadart: ^0.19.5 - llamadart_llama_cpp_flutter: ^0.19.5 # GGUF / llama.cpp - llamadart_litert_lm_flutter: ^0.19.5 # Apple .litertlm / LiteRT-LM targets - llamadart_stable_diffusion_flutter: ^0.19.5 # Apple image generation, opt-in + llamadart: ^0.19.6 + llamadart_llama_cpp_flutter: ^0.19.6 # GGUF / llama.cpp + llamadart_litert_lm_flutter: ^0.19.6 # Apple .litertlm / LiteRT-LM targets + llamadart_stable_diffusion_flutter: ^0.19.6 # Apple image generation, opt-in ``` Companions use the core's `MAJOR.MINOR`; pub refuses a mismatched pair. diff --git a/website/examples/observability/pubspec.lock b/website/examples/observability/pubspec.lock index 421466917..e902bf4ad 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.19.5" + version: "0.19.6" logging: dependency: transitive description: