main
1.3.3
Cargo workspace
ondeis now a hybrid root-package Cargo workspace. Members are the rootondecrate, theuniffi-bindgenhelper,sdk/dart/rust, andsdk/react-native/rust; the React Native example app is excluded. No files moved, and the root package is still the publishable crate.- Shared dependency versions (
log,serde,serde_json,thiserror,tokio,uniffi,smbcloud-gresiq-sdk) are hoisted into[workspace.dependencies]. Each member opts in withworkspace = trueand keeps its own feature list, so only the version requirement is shared. Resolved versions are unchanged.
Packaging
- No public API changes: the published
ondecrate surface is identical to1.3.2. - Completes the
1.3.2version propagation that release commitf45253bmissed and that never reached the tagged commit —sdk/react-native/rust/Cargo.toml, the React Native changelog, and theonde-react-nativeentry in the root lockfile were still on1.3.1at tag1.3.2. All version sources are aligned on1.3.3here.
1.3.2
Stateless tool calling (Rust-native only)
- Added
ChatEngine::complete(turns, tools, sampling), which runs the loaded model on a conversation the caller supplies instead of the engine's history.turnsis a list ofChatTurns (system, user, assistant with its tool calls, tool result) and is the whole conversation: the engine's history and system prompt are neither read nor changed. Hosts that keep their own conversation, such as an ACP agent that persists and reloads sessions, can now use on-device tool calling. Previously only the statefulsend_message_with_toolsandsend_tool_resultscould, andpush_historycan't restore tool calls or tool results. completereturns aCompletionResultwith the reply text, the tool calls, the finish reason, prompt and completion token counts, and the model's reasoning. Reasoning comes from the model's reasoning output or, for Qwen3 thinking models, from a leading<think>…</think>block, which is removed from the reply text.GgufModelConfig::from_supported_model_idis now public, so a host can load a model frommodels::TOOL_CALLING_MODELSormodels::SUPPORTED_MODELSby its ID.ToolCallRequestnow implementsPartialEqandEq.
1.3.1
Fixes
- Fixed a panic when logging a chat message or reply longer than 100 bytes whose 100th byte fell inside a multi-byte UTF-8 character. The log preview sliced the string at a fixed byte index, so text with accented letters, CJK, or emoji at that position could abort
send_messageand the streaming paths. The preview now cuts at the nearest character boundary at or below the limit.
Packaging
- Release metadata is aligned for Rust, Swift, Kotlin, Flutter/Dart, and React Native SDKs under version
1.3.1.
1.3.0
Pulse document telemetry
- Added opt-in dual-write to the GresIQ document gateway for attributed model-load and inference events. Documents are scoped by Onde app and edge identities so retries remain idempotent and separate installations cannot overwrite one another.
- Streaming inference now reports Pulse events, including measured time to first token. Setup and mid-stream failures report
error, dropped receivers reportcancelled, and unmeasured TTFT stays absent instead of becoming a misleading zero. - Edge documents now carry a last-seen timestamp so readers can derive liveness from recency instead of a durable
onlinevalue.
Privacy-preserving geography
- Added
ChatEngine::with_pulse_country()and theONDE_PULSE_COUNTRYhost setting for an optional, device-declared ISO 3166-1 alpha-2 country. - Country observations are limited to one app-scoped edge document per UTC day. Invalid or user-assigned codes are ignored, no network-derived location is used, and
ONDE_DISABLE_PULSE_GEOGRAPHYdisables geography without stopping other telemetry.
Packaging
- Release metadata is aligned for Rust, Swift, Kotlin, Flutter/Dart, and React Native SDKs under version
1.3.0.
1.2.5
Tool calling (Rust-native only)
ChatEngine::tool_calling_support()reports whether the loaded model is one Onde has verified for structured tool calls.Supportedmeans catalogued and tested.Unsupportedmeans catalogued and not tested, which is a statement about Onde's coverage rather than the model's capability: some of those models ship tool-call templates and may well work.Unknownmeans the repository is not in the catalogue at all. An engine with nothing loaded answersUnsupported.models::tool_calling_support()andmodels::TOOL_CALLING_MODELSgive the same answer without an engine. Matching is exact, so a custom repository whose name resembles a catalogued one staysUnknownrather than inheriting a verification it never had.ChatEngine::record_tool_results()appends tool results to history without starting another inference round. Agent hosts need it when a turn is cancelled after the assistant has already asked for tools. It records only results answering a call the assistant actually made and has not already been answered, and returns how many it kept, because a tool result with no matching request builds a message sequence the model cannot read.ToolCallingSupportis exported fromonde::inference.
None of this reaches the UniFFI surface yet, so the Swift, Kotlin, Flutter/Dart, and React Native packages gain no new API in this release.
Release automation
- The React Native package publishes through npm trusted publishing (OIDC) instead of a long-lived
NPM_TOKEN. The publish job requestsid-token: writeand upgrades npm before publishing, since Node 22 still ships npm 10 and trusted publishing needs 11.5.1 or newer. The trusted publisher configured on npmjs.com has to keep matching what the job declares, or npm answers the publish with a 404. - The npm workflow runs a preflight gate before the publish step.
- Fixed the crates.io publish guard. It asked
cargo info onde@$VERSION, which resolves against the local workspace rather than the registry when run from inside the repo, so it reported every version as already published and skipped the upload while exiting green. That is why 1.2.3 and 1.2.4 were tagged, showed a passing release run, and never reached crates.io. The check now queries the sparse index throughscripts/crates-io-published.py, and the workflow asserts the version is actually on the index after publishing. sync-release-version.py --checknow gates on the rootCHANGELOG.mdas well as the Dart and React Native ones, so a release cannot be tagged without notes here.
Packaging
- Release metadata is aligned for Rust, Swift, Kotlin, Flutter/Dart, and React Native SDKs under version
1.2.5.
1.1.1
Apple SDK compatibility
- Swift XCFramework and Kotlin macOS/JVM builds now honor explicit Apple deployment targets instead of inheriting the newest runner SDK defaults.
- This fixes downstream macOS app integration warnings caused by the macOS static library slice being built with a newer minimum OS than consumer apps target.
Packaging
- Release metadata is aligned for Rust, Swift, Kotlin, Flutter/Dart, and React Native SDKs under version
1.1.1.
1.1.0
Swift / UniFFI runtime stability
- Added
#[uniffi::export(async_runtime = "tokio")]to the Swift/Kotlin FFI export surface so async UniFFI calls consistently run on the Tokio runtime. - Made pulse telemetry initialization lazy and panic-safe on Apple platforms. The GresIQ client is no longer created from the synchronous UniFFI constructor path, and telemetry now gracefully disables itself instead of crashing if a Tokio reactor is unavailable.
- Added a one-time Rust panic hook so panics are logged through the host logger instead of relying on stderr in iOS/tvOS simulator and device contexts.
Telemetry
- Added
ONDE_DISABLE_PULSE=1as an explicit runtime kill switch for pulse telemetry during local validation and host-app debugging. - Hardened
model_loadedandinference_eventtelemetry writes so they never require a current Tokio handle on the calling thread.
Packaging
- Release metadata is aligned for Rust, Swift, Kotlin, Flutter/Dart, and React Native SDKs under version
1.1.0.
1.0.0
Onde has already been running in real Splitfire AB apps on the App Store for months, so keeping it on 0.x no longer felt accurate.
Assigned model loading (FFI)
load_assigned_model is now exposed through the UniFFI layer. Swift and Kotlin consumers can call it directly. The method hardcodes Environment::Production, so SDK consumers do not need to know about the internal environment enum. Pass your app_id and app_secret from ondeinference.com, and the SDK will fetch the model assigned in the dashboard. If nothing has been assigned yet, it falls back to the platform default.
New models
- Qwen 3 1.7B, 4B, 8B, and 14B (GGUF Q4_K_M)
- Qwen 2.5 Coder 1.5B, 3B, and 7B (GGUF Q4_K_M)
- DeepSeek Coder 6.7B (GGUF Q4_K_M) — ships with a bundled chat template since the GGUF doesn't include one
Type changes
GgufModelConfignow has achat_template: Option<String>field for models that need a custom template.InferenceResultnow carriestool_calls: Vec<ToolCallInfo>. It will be empty for most responses, but when a model requests a tool call, you now get structured data instead of raw markup intext.- New types:
ToolCallInfo,ToolDefinition, andToolResult. The last two are Rust-only for now. They will reach the FFI surface oncesend_message_with_toolsis wired up.
Engine
- Model weights are now dropped outside the write lock during model swaps, so status queries no longer block while the old model's memory is being freed.
platform_default()now returns Coder variants, Qwen 2.5 Coder 1.5B on mobile and Coder 3B on desktop.
Tool calling (Rust-native only)
send_message_with_tools,send_tool_results, andstream_tool_resultsare now available onChatEngine. These are available to direct Rust consumers, like siGit, but are not exposed through UniFFI yet. The types already cross the FFI boundary on the output side throughInferenceResult.tool_calls, just not on the input side yet.
Dependencies
- Switched from the git-based
mistralrsdependency to the publishedonde-mistralrs 0.8.2crates on crates.io. That means no more[patch.crates-io]gymnastics forcargo publish.
Cross-platform
- Linux and Windows CPU builds now work properly too, thanks to a
TokenSourcefix for non-Darwin platforms. - Added cross-compile CI for all supported targets.
0.1.8
- Published to crates.io with
onde-mistralrs 0.8.2registry dependencies (replacing git refs thatcargo publishstrips).
0.1.7
- Qwen 3 4B GGUF model with OpenAI-compatible tool calling.
GgufModelConfig::qwen3_4b()constructor.
0.1.6
- License fix: canonical MIT text so crates.io recognizes the license correctly.
0.1.5
ChatEngine::load_assigned_model()— Rust-native API for fetching operator-assigned models from the GresIQ backend.- GresIQ pulse telemetry client (build-time credential embedding via
dotenvy). - watchOS and visionOS platform support.
0.1.4
- Switched all
mistralrsdependencies to thefix/all-platform-fixesfork for cross-platform stability. - Dual-licensed MIT OR Apache-2.0.
0.1.3
- Added watchOS and visionOS targets.
0.1.2
- HF cache sandbox workaround for iOS and Android (
GLOBAL_HF_CACHEseeding). configure_cache_dirfree function for sandboxed platforms.
0.1.1
- CI/CD:
release-sdk-swift.ymlbuilds the XCFramework and auto-updatesonde-swifton tag push.
0.1.0
- Initial release.
- Multi-turn chat with Qwen 2.5 1.5B and 3B GGUF models.
- Metal on iOS/macOS, CPU on Android/Linux/Windows.
- Streaming inference via
tokio::sync::mpsc. - Conversation history management.
- One-shot
generate()API. - Configurable sampling with presets.
- UniFFI bindings for Swift/Kotlin.