Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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 `<seed:tool_call>` scopes no longer end their content with an added `</seed:tool_call>` ([#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 `</think>`, 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 `<seed:tool_call>` scopes no longer end their content with an added `</seed:tool_call>` ([#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

Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
8 changes: 4 additions & 4 deletions example/chat_app/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
5 changes: 3 additions & 2 deletions packages/llamadart_litert_lm_flutter/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
4 changes: 2 additions & 2 deletions packages/llamadart_litert_lm_flutter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
4 changes: 2 additions & 2 deletions packages/llamadart_litert_lm_flutter/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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:
Expand Down
4 changes: 4 additions & 0 deletions packages/llamadart_llama_cpp_flutter/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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`.
Expand Down
4 changes: 2 additions & 2 deletions packages/llamadart_llama_cpp_flutter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
2 changes: 1 addition & 1 deletion packages/llamadart_llama_cpp_flutter/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 4 additions & 0 deletions packages/llamadart_stable_diffusion_flutter/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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`.
Expand Down
4 changes: 2 additions & 2 deletions packages/llamadart_stable_diffusion_flutter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/llamadart_stable_diffusion_flutter/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/llamadart_validation/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ packages:
path: "../.."
relative: true
source: path
version: "0.19.5"
version: "0.19.6"
logging:
dependency: transitive
description:
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
12 changes: 7 additions & 5 deletions website/docs/changelog/recent-releases.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 `<seed:tool_call>` scopes no longer end their content with an added `</seed:tool_call>` ([#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 `</think>`, 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 `<seed:tool_call>` scopes no longer end their content with an added `</seed:tool_call>` ([#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

Expand Down
10 changes: 5 additions & 5 deletions website/docs/getting-started/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion website/examples/observability/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ packages:
path: "../../.."
relative: true
source: path
version: "0.19.5"
version: "0.19.6"
logging:
dependency: transitive
description:
Expand Down
Loading