Unreleased documentation for the next version. Read v0.9.0, the latest release

Upgrade checklist

A step-by-step checklist for upgrading llamadart: release notes, migration guides, version-specific behavior changes, runtime checks, templates and pins.

On this page

Use this checklist when upgrading llamadart across minor or major versions.

1. Read release notes first#

2. Review migration guides#

3. Validate build and runtime behavior#

  • Run dart analyze.
  • Run dart test.
  • Run platform smoke checks for your deployment targets.

4. Validate template and tool-calling behavior#

  • Re-run critical prompt and tool scenarios with production-like settings.
  • Confirm any custom template assumptions still apply.

5. Validate deployment and runtime pins#

  • Confirm native runtime bundle expectations.
  • Confirm web bridge asset tags and compatibility rules.

6. Update docs for your team or app#

  • Capture changed defaults, removed APIs and new flags.
  • Link internal runbooks to the exact release tag.

Version-specific notes#

0.8.10: model download and cache defaults#

No source change is required, but two runtime defaults changed:

  • DefaultModelDownloadManager() on desktop and server now uses the per-user platform cache (for example $HOME/Library/Caches/llamadart/models on macOS) instead of the process temporary directory. Without a home or cache environment it falls back to Directory.systemTemp/llamadart/models.
  • DefaultModelDownloadManager.auto() on Android and iOS without a mobile directory no longer throws; it falls back to Directory.systemTemp/llamadart/models. Pass an app-private directory for large durable model files.

To keep the old desktop behavior, pass defaultCacheDirectory explicitly. Tests that expected the old temporary path or the mobile LlamaUnsupportedException need updating. Details: MIGRATION.md and Download and cache models.

0.6.4: Android arm64 CPU profile#

Shorthand android-arm64: [vulkan] now uses the default cpu_profile: full. Set cpu_profile: compact for baseline-only, smaller packaging.

Searches the latest release. Esc to close.