Repository navigation
Release 0.17.0 - #1585
Merged
Merged
Release 0.17.0#1585
Conversation
Bump core and the three Apple companions to 0.17.0 with llamadart '>=0.17.0 <0.18.0', move Unreleased notes into 0.17.0 and compact them, regenerate the path-dependency locks, and update install snippets, pairing docs and the 0.17 migration guide.
Contributor
|
Chat app preview removed for |
This was referenced Oct 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Prepare core
0.17.0with all three Apple companions at0.17.0, per the 0.17.0 section of #922. A core minor re-releases every companion with the new core constraint.llamadartconstraintllamadart0.16.50.17.0llamadart_llama_cpp_flutter0.16.00.17.0>=0.16.0 <0.17.0→>=0.17.0 <0.18.0v0.7.0-3(published0.16.0shipsv0.7.0-2)llamadart_litert_lm_flutter0.16.20.17.0>=0.16.2 <0.17.0→>=0.17.0 <0.18.0v0.18.1-4(unchanged)llamadart_stable_diffusion_flutter0.16.00.17.0>=0.16.0 <0.17.0→>=0.17.0 <0.18.0v0.3.0-1(published0.16.0shipsv0.3.0)genkit_llamadartllamadart_model_store0.1.0, unpublished)Package.swiftpins were already moved by #1476 and #1474; this PR changes no pin or checksum.Hook constants
llamaCppAppleCompanionVersionandstableDiffusionAppleCompanionVersionmove0.16.1→0.17.0, the first companion releases pinningv0.7.0-3andv0.3.0-1;native_release_pins_test.dartderives both from the companion changelogs. Core0.17.0lists no earlier llama.cpp or SD companion pins.The SD rejection test in
build_hook_stable_diffusion_integration_test.darthard-coded cores0.16.0/0.16.1; it now takes its cores from the first pinning companion's minor, which the hook requires for the named release (it failed 2 cases after the constant moved).Changelogs:
## Unreleasedbecomes## 0.17.0inCHANGELOG.mdandrecent-releases.md, compacted from 55 to 36 bullets (list below). Released sections are byte-identical. Companion## Unreleasednotes become## 0.17.0; the LiteRT-LM companion gets a0.17.0pairing entry.MIGRATION.md: the threeUnreleased:sections become0.16.x -> 0.17.0: upgrade guide(anchor016x-to-0170-upgrade-guide) with an upgrade-together intro, and gain two subsections: llama.cppv0.7.0-3companion requirement, and theenable_thinkingbehavior change (#1465, #750). The SPI section from #1537 was checked against theLlamaBackenddiff sincev0.16.5: all seven moved members and both interfaces are covered;BackendModelParamsCheck→BackendLoadCheckwas never exported, so it needs no entry. The upgrade checklist gets a 0.17.x section; the README table links the 0.17 guide.Install snippets and pairing prose describe the
0.17.0set: README,installation.md,native-build-hooks.md,image-generation.md,speech-to-text.md, the image-generation and speech skills, the companion READMEs, and the maintainer companion handoff.Lock files: the three tracked path-dependency locks are regenerated; only the local core/companion versions change.
No versioned docs snapshot:
docs_version_cut.ymlcreatesversion-0.17.0from thev0.17.0tag.Changelog compaction (55 → 36)
Every caveat, limitation, unsupported path, qualification clause and issue link is kept; a token diff of old vs new shows only the dropped bullet's identifiers missing.
next_token_scoringpack (#1196)loadMultimodalProjectorLiteRT-LM refusal (#1541)v0.7.0-3+ hook contract 2 (both #812) + Linux arm64 CPU variant ranking (#1459, unnumbered)0.17.0.checkLoad+ earlysetModelLiteRT-LM rejection (both #861)reasoning: trueempty thought (both #1523)ToolChoice.requiredgrammars (#1577) + Firefunction v2id(#1565)remove/prune/clearin-use (#1467) + overlap/Windows read-only (#1490) +.removal(#1507) + overlap/.REMOVALpart of #1522assets.json.absentand CUDA sidecar parts of #1490 + future-dated record part of #1506 + invalidassets.jsonpart of #1522SHA256SUMSpre-seed message (#1506)ios-arm64-sim+ios-x64-simload-failure names (both #1565)v0.3.0-1bullet0.17.0.v0.1.76bulletcheck_webgpu_bridge_tag.dartrequires.Bullets are reordered: breaking change, runtimes, additions, chat-template fixes, then state/cache/hook fixes.
What merging this PR does
Merging publishes. This PR carries the
release-preplabel (the branch namerelease/0.17.0does not match therelease/prep-X.Y.Zpattern, so the label is what selects it), modifies the rootpubspec.yamland touches nothing underpackages/genkit_llamadart/, sorelease_on_prep_merge.ymlruns on merge and:verify_release_docs_versions.dart --release-prepandcompanion_pub_preflight.dart; either failing stops it before any tag.v0.17.0, which startspublish_pubdev.yml(publishesllamadart 0.17.0, then creates the GitHub Release) anddocs_version_cut.yml(snapshotsversion-0.17.0docs, restores an empty## Unreleased, pushes tomain;docs_pages.ymldeploys).llamadart 0.17.0on pub.dev, then pushesllamadart_llama_cpp_flutter-v0.17.0,llamadart_litert_lm_flutter-v0.17.0andllamadart_stable_diffusion_flutter-v0.17.0; each runspublish_companion_pubdev.yml.ci.ymlandlaya_tetris_hf_static_deploy.ymlredeploy the hosted chat app and Laya Tetris demos.llamadart_model_storeis not published: the preflight discovers only packages withdarwin/<name>/Package.swift, the release workflow lists only the three Apple companions, andwebsite/docs/maintainers/model-store-package.mdsays it has no release routing yet. pub.dev versions cannot be unpublished. Hold the merge until the release is approved.Production-readiness scope
0.17.0and the three companions at0.17.0. Flutter Apple apps then get llama.cppv0.7.0-3and SDv0.3.0-1through SwiftPM.0.16.xcompanions do not resolve with core0.17.0(constraint<0.17.0); apps upgrade core and companions together, as MIGRATION.md says.0.16.0llama.cpp or SD companion fail withIncompatible Apple llama.cpp companion/Incompatible Apple stable_diffusion companion.llamadart 0.16.1, which stays accurate forgenkit_llamadart 3.5.0.llamadart_model_storepublication needs its own routing and approval; its lower-bound CI lane is added oncellamadart 0.17.0is on pub.dev (model-store-package.md).choosing-an-api.md("Checked on 2026-10-23", published0.16.x) is left as a dated check; refresh it after publish.Completeness checklist
0.17.0upgrade target.validation_coverage_test.dartpasses.PR type guidance
0.16.xcores.llamaCppAppleCompanionVersion,stableDiffusionAppleCompanionVersion), used only in incompatible-companion error text.Test Plan
Pinned Flutter 3.47.1, macOS arm64. Suites, gates and verifiers ran at
d4bdfda29f5081b33d0438b2113a631650249646;a0662585121bbed459f823501d1c5d5c2b525f0dchanges only the tool-result images bullet in both changelogs (bridge-tag check re-run: OK), and the Apple probes ran ata0662585121bbed459f823501d1c5d5c2b525f0d.6b5d069a07800a88867fd90bf2fefa529bc71429changes only text (docs, skill, one Dartdoc line and one exception message), so the probes were not rerun; at6b5d069a07800a88867fd90bf2fefa529bc71429: format 0 changed, analyze no issues,dart test -p vm test/unit/tooling/+1240 ~5 (includespackage_skills_test),engine_capabilities_test,test/unit/core/template/, tool-result media/parts, llama.cpp and native backend tests +1855,build_site.sh2992 pages with no broken internal links.dart run tool/prepare_workspace.dart: no tracked changes (worktree and fresh full clone).dart format --output=none --set-exit-if-changed .: 0 changed (1609 files).dart analyze: no issues.dart run tool/testing/check_platform_boundaries.dart: OK.TMPDIR=<isolated> dart test -p vm -j 1 --exclude-tags local-only: +9696 ~126, all passed.dart test -p chrome --exclude-tags local-only: +4117 ~1, all passed.dart test -p vm test/unit/tooling/validation_coverage_test.dart: +13, all passed.test/unit/hook/native_release_pins_test.dart+build_hook_stable_diffusion_integration_test.dart: +52, passed (the SD file failed 2 cases before the test fix).check_webgpu_bridge_tag.dart: OK on the promoted## 0.17.0sections.python3 tool/release/check_core_archive.py(fresh full clone, after workspace prep): passed, 1636 files staged../tool/docs/build_site.sh: 2992 pages, no broken internal links.dart run tool/release/companion_pub_preflight.dart: all three companions exist on pub.dev; no published version declares a differentllamadartconstraint.0.17.0companions as path dependencies): macOS and iOS simulator runs pass GGUF, LiteRT-LM and SD probes (Matrix Evidence).flutter analyzeno issues;flutter testpasses (2, 4, 2);flutter pub publish --dry-runwith the checkout override: 0 warnings, 1 expected override hint.Release docs versions verified: llamadart 0.17.0, llamadart_llama_cpp_flutter 0.17.0, llamadart_litert_lm_flutter 0.17.0, llamadart_stable_diffusion_flutter 0.17.0; checkout llamadart-native v0.7.0-3.exit 0.--release-prep: same line, exit 0.>=0.16.0fails--release-prep(exit 1), naming the minor-lockstep rule and coresv0.16.0–v0.16.5whose hooks rejectv0.7.0-3.Matrix Evidence
static-format-analyzeroot-vmroot-chromecoverage-liblib/; CI's coverage job gates itrelease-metadata-verification--release-prepexit 0;verify_release_docs_companion_pins_testpasses inroot-vm; floor negative control fails as expectedrelease-companion-pub-gate0.17.0of core and all three companions return 404, as expected; latest published companions are0.16.0/0.16.2/0.16.0with<0.17.0constraints, so no collision. Automated-publishing admin settings need a maintainer login to checkrelease-representative-smokes0.17.0companions as path dependenciesa0662585121bbed459f823501d1c5d5c2b525f0d, all 3 layouts: pub get resolves0.17.0x4; macOS runs GGUF on Metal, LiteRT-LM on gpu, SD reports MTL0; iOS sim runs GGUF CPU, LiteRT-LM gpu, SD MTL0. A universal iOS sim build fails with the documentedEXCLUDED_ARCHSmessage (as on0bddcde0dand v0.16.5) and passes with x86_64 excluded. Evidencellamadart-evidence/release-0.17.0/apple-probes/. Android and broader model smokes: cross-platform QA on0bddcde0d(#922)android-release-device-pool0bddcde0dgenkit-releasepackages/genkit_llamadartuntouchedstructured-output-adversariallitert-lm-json-schemahigh-risk-exact-head-independent-qa/opt/UnitySrc/personal/llama/llamadart-evidence/pr-1585/evidence-1585-dfb4121.jsonReview Notes
dfb4121dd98d96c200bdd0736e2d67c7d236b2ec, CI pending. Previous head6b5d069a07800a88867fd90bf2fefa529bc71429was green (CI run) and audited CLEAR;dfb4121ddchanges only release-note and doc wording (audit P2-1, P2-2, P3-1): Vulkan Tesla T4 evidence for image placement (Place image modules on the CPU and cap image GPU memory #1551) andgpuDevices(T4 + lavapipe QA), and the Cache and hook follow-ups from #1510/#1514 audits #1522 cache bullet.release-workflow.md, "Changelog merges") before any rebase or merge of this branch.qwen3vl_mergerprojector, Qwen3-VL template, macOS CPU and Metal) instead of "qualified on Qwen3-VL". README, the tool-calling guide, the support matrix, the tool-calling skill, thetoolResultMediaDartdoc and the unsupported-formatLlamaUnsupportedExceptionmessage say the same; no test pins that message.High-risk regression review
--release-prepfloor check fails with>=0.16.0floors;native_release_pins_testfails if either companion constant does not match its companion changelog; the SD rejection test failed when its cores did not share the companion's minor.Package.swiftpins are unchanged from #1474/#1476.