diff --git a/CHANGELOG.md b/CHANGELOG.md index 03e49ccf..aa3fd760 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,12 +8,11 @@ of throwing. Apps or tests that asserted the old temp path or mobile exception should pass an explicit cache directory or follow `MIGRATION.md`. -* Added `DefaultModelDownloadManager.auto(...)` plus explicit model cache root - constructors for shared desktop caches, app-private mobile caches, - user-selected model libraries, and App Group containers. `auto(...)` now uses - platform-specific or generic app-private directories on Android/iOS when - supplied, and otherwise falls back to a best-effort temporary/cache directory - instead of requiring application `if` branches for simple cross-platform code. +* Added optional `androidAppPrivateCacheDirectory` and + `iosAppPrivateCacheDirectory` arguments to + `DefaultModelDownloadManager.auto(...)` so apps can provide platform-specific + mobile cache roots without constructor-level `Platform.isAndroid` / + `Platform.isIOS` branching. * Updated the default native `DefaultModelDownloadManager()` constructor to use the per-user shared model cache on desktop/server platforms and the mobile app-private cache fallback, so plain `LlamaEngine(...)` remote source loads use @@ -44,6 +43,12 @@ the `llamadart_llama_cpp_flutter` Apple SwiftPM checksum, and aligned current README/website native override docs. +* Added `DefaultModelDownloadManager.auto(...)` plus explicit model cache root + constructors for shared desktop caches, app-private mobile caches, + user-selected model libraries, and App Group containers. Implicit shared cache + resolution now fails loudly on mobile and web where the OS cannot provide a + hidden cross-developer model folder. + ## 0.8.7 * Fixed multimodal chat-template rendering so templates that force-open diff --git a/website/docs/changelog/recent-releases.md b/website/docs/changelog/recent-releases.md index 5de89dcc..f1f8b38b 100644 --- a/website/docs/changelog/recent-releases.md +++ b/website/docs/changelog/recent-releases.md @@ -17,12 +17,11 @@ For canonical full release notes, use: of throwing. Apps or tests that asserted the old temp path or mobile exception should pass an explicit cache directory or follow `MIGRATION.md`. -- Added `DefaultModelDownloadManager.auto(...)` plus explicit model cache root - constructors for shared desktop caches, app-private mobile caches, - user-selected model libraries, and App Group containers. `auto(...)` now uses - platform-specific or generic app-private directories on Android/iOS when - supplied, and otherwise falls back to a best-effort temporary/cache directory - instead of requiring application `if` branches for simple cross-platform code. +- Added optional `androidAppPrivateCacheDirectory` and + `iosAppPrivateCacheDirectory` arguments to + `DefaultModelDownloadManager.auto(...)` so apps can provide platform-specific + mobile cache roots without constructor-level `Platform.isAndroid` / + `Platform.isIOS` branching. - Updated the default native `DefaultModelDownloadManager()` constructor to use the per-user shared model cache on desktop/server platforms and the mobile app-private cache fallback, so plain `LlamaEngine(...)` remote source loads use @@ -53,6 +52,12 @@ For canonical full release notes, use: refreshed the `llamadart_llama_cpp_flutter` Apple SwiftPM checksum, and aligned current README/website native override docs. +- Added `DefaultModelDownloadManager.auto(...)` plus explicit model cache root + constructors for shared desktop caches, app-private mobile caches, + user-selected model libraries, and App Group containers. Implicit shared cache + resolution now fails loudly on mobile and web where the OS cannot provide a + hidden cross-developer model folder. + ## 0.8.7 - Fixed multimodal chat-template rendering so templates that force-open