1.3.3

Cargo workspace

  • onde is now a hybrid root-package Cargo workspace. Members are the root onde crate, the uniffi-bindgen helper, sdk/dart/rust, and sdk/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 with workspace = true and keeps its own feature list, so only the version requirement is shared. Resolved versions are unchanged.

Packaging

  • No public API changes: the published onde crate surface is identical to 1.3.2.
  • Completes the 1.3.2 version propagation that release commit f45253b missed and that never reached the tagged commit — sdk/react-native/rust/Cargo.toml, the React Native changelog, and the onde-react-native entry in the root lockfile were still on 1.3.1 at tag 1.3.2. All version sources are aligned on 1.3.3 here.

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. turns is a list of ChatTurns (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 stateful send_message_with_tools and send_tool_results could, and push_history can't restore tool calls or tool results.
  • complete returns a CompletionResult with 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_id is now public, so a host can load a model from models::TOOL_CALLING_MODELS or models::SUPPORTED_MODELS by its ID.
  • ToolCallRequest now implements PartialEq and Eq.

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_message and 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 report cancelled, 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 online value.

Privacy-preserving geography

  • Added ChatEngine::with_pulse_country() and the ONDE_PULSE_COUNTRY host 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_GEOGRAPHY disables 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. Supported means catalogued and tested. Unsupported means 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. Unknown means the repository is not in the catalogue at all. An engine with nothing loaded answers Unsupported.
  • models::tool_calling_support() and models::TOOL_CALLING_MODELS give the same answer without an engine. Matching is exact, so a custom repository whose name resembles a catalogued one stays Unknown rather 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.
  • ToolCallingSupport is exported from onde::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 requests id-token: write and 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 through scripts/crates-io-published.py, and the workflow asserts the version is actually on the index after publishing.
  • sync-release-version.py --check now gates on the root CHANGELOG.md as 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=1 as an explicit runtime kill switch for pulse telemetry during local validation and host-app debugging.
  • Hardened model_loaded and inference_event telemetry 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

  • GgufModelConfig now has a chat_template: Option<String> field for models that need a custom template.
  • InferenceResult now carries tool_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 in text.
  • New types: ToolCallInfo, ToolDefinition, and ToolResult. The last two are Rust-only for now. They will reach the FFI surface once send_message_with_tools is 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, and stream_tool_results are now available on ChatEngine. 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 through InferenceResult.tool_calls, just not on the input side yet.

Dependencies

  • Switched from the git-based mistralrs dependency to the published onde-mistralrs 0.8.2 crates on crates.io. That means no more [patch.crates-io] gymnastics for cargo publish.

Cross-platform

  • Linux and Windows CPU builds now work properly too, thanks to a TokenSource fix for non-Darwin platforms.
  • Added cross-compile CI for all supported targets.

0.1.8

  • Published to crates.io with onde-mistralrs 0.8.2 registry dependencies (replacing git refs that cargo publish strips).

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 mistralrs dependencies to the fix/all-platform-fixes fork 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_CACHE seeding).
  • configure_cache_dir free function for sandboxed platforms.

0.1.1

  • CI/CD: release-sdk-swift.yml builds the XCFramework and auto-updates onde-swift on 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.