Skip to content

3.7.0

Latest

Choose a tag to compare

@easyhooon easyhooon released this 15 Nov 13:29
· 8 commits to main since this release
7bbc319

Dari now supports Kotlin Multiplatform. The new dari-kmp artifact lets a WebView bridge kept in commonMain record on Android and iOS with one call. dari, dari-core, dari-noop, dari-runtime, dari-kmp, dari-inspector-protocol and dari-gradle-plugin 3.7.0 are on Maven Central, and the Dari Swift package is at 3.7.0.

Existing apps need no migration. The Android library jumps from 3.0.0 to 3.7.0 to rejoin the shared number line (3.1.0–3.6.0 were desktop- and iOS-only releases), and the wire protocol stays at version 1.

What's Changed

  • feat: add dari-kmp, a KMP entry point backed by the Swift SDK on iOS by @easyhooon in #304
    • DariKmp.createInterceptor(tag) in commonMain returns a DariInterceptor?. On Android it uses whichever of dari / dari-noop the app depends on; on iOS it forwards to the Dari Swift SDK at runtime, with no linked library.
    • If the Swift SDK is missing or older than dari-kmp, the factory returns null and logs once instead of crashing. JVM targets return null, so Compose Multiplatform apps with a desktop target can keep the call in commonMain.
    • The Swift SDK gains DariObjC / DariObjCInterceptor, an @objc entry point. The Swift API is unchanged.
    • Adds sample-kmp and the Kotlin Multiplatform guide.
  • Docs: platform differences between Android and iOS (#298), WebView app wording (#303), and the project intro without Chucker (#302).

Desktop app downloads

Installers for macOS (Apple Silicon and Intel, signed and notarized), Windows (.exe and .msi) and Linux x64 (preview, .deb and .tar.gz) are attached below, with SHA-256 files. See the Desktop App guide for install steps, or install from the terminal on macOS:

curl -fsSL https://raw.githubusercontent.com/easyhooon/dari/main/scripts/install-desktop.sh | bash

Full Changelog: 3.6.0...3.7.0