Repository navigation
Releases
3.8.0
Dari now records whether a bridge message actually reached the page, follows androidx.web WebContent pages across re-attached views, and keeps bridge calls on the right page after a WebView is gone. dari, dari-core, dari-noop, dari-runtime, dari-kmp, dari-inspector-protocol and dari-gradle-plugin 3.8.0 are on Maven Central, and the Dari Swift package is at 3.8.0. The wire protocol stays at version 1, so any app and desktop combination from 2.0.0 still connects.
Behavior changes
- The Gradle plugin now also routes
WebView.evaluateJavascriptcall sites throughDariHooks, as it already does foraddJavascriptInterface. Use plugin 3.8.0 withdari/dari-noop3.8.0: plugin 3.8.0 withdari3.7.0 fails on the firstevaluateJavascriptcall. (#316) MessageEntrygains adeliveryproperty. Binary callers of the 3.7 constructors keep working, but code compiled against 3.7 that callsMessageEntry.copy(for example a customDariPayloadRedactor) must be recompiled; source stays compatible. (#316)
What's Changed
- feat: record whether a message reached the page by @easyhooon in #316
- Closes #313. A Web → App response or an App → Web request now carries a delivery state (
PENDING,DELIVERED,FAILED), separate from its status. The in-app, iOS and desktop detail views show it; a message still pending 5 s after it was sent reads "Not confirmed: the page never ran it". - Android: a message is marked delivered when a script run on its own WebView names its
requestIdin quotes, or when the page answers an App → Web request. Custom interceptors getDariInterceptor.onDeliveryChanged(default no-op). - iOS auto capture marks scripts
DELIVEREDfromevaluateJavaScriptcompletions, orFAILEDwhen the script threw or WebKit couldn't run it. - Existing entries load with no delivery state (DB 7 → 8). Older desktops ignore the new field.
- Closes #313. A Web → App response or an App → Web request now carries a delivery state (
- feat(sample): WebContent screen and page URL fix after re-attach by @easyhooon in #312
- Bridge calls from an androidx.web
WebContentpage keep their interceptor, page URL and tag when the page moves to a newWebContentView(rotation, navigation back).WebContentViewis matched by class name, sodarihas no androidx.web dependency. - Adds a
WebContentscreen to the Android sample and aWebContentsection to the interceptor guide.
- Bridge calls from an androidx.web
- fix(auto): keep bridge calls on their page after the WebView is collected by @easyhooon in #315
- Closes #314. A bridge call that arrived after its WebView was garbage collected could be recorded under another WebView's page. It now stays on the page it was registered on, and a bridge shared by several WebViews records under each WebView's own JS name.
- Docs and samples: the Kotlin Multiplatform guide (#305) and README section (#308),
dari-kmptraffic in the Android sample (#306), and troubleshooting for an empty desktop detail pane (#309).
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 | bashFull Changelog: 3.7.0...3.8.0
3.7.0
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)incommonMainreturns aDariInterceptor?. On Android it uses whichever ofdari/dari-noopthe app depends on; on iOS it forwards to theDariSwift 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 incommonMain. - The Swift SDK gains
DariObjC/DariObjCInterceptor, an@objcentry point. The Swift API is unchanged. - Adds
sample-kmpand 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 | bashFull Changelog: 3.6.0...3.7.0
3.6.0 (iOS only)
iOS SDK only. Android stays at 3.0.0 on Maven Central and the desktop app at 3.3.0; neither needs to update.
What's Changed
- Keep recorded messages across relaunches by @easyhooon in #300
- Opt in with
DariConfiguration(persistsMessages: true): messages are written toApplication Support/Dari/messages.jsonland come back on the nextstart(), in the in-app inspector and the desktop app - Stored messages load in the background, so
start()doesn't slow app launch;maxEntriesandretentionPeriodapply to them too - Responses never complete a request from an earlier launch, even when the bridge reuses callback ids
- Payloads are stored as recorded; the file is excluded from backups, protected until first unlock, and deleted by Clear or by starting with
persistsMessages: false - No total size cap yet, matching Android; a cap for both platforms is tracked in #299
- Opt in with
Full Changelog: 3.5.0...3.6.0
3.5.0 (iOS only)
iOS SDK only. Android stays at 3.0.0 on Maven Central and the desktop app at 3.3.0; neither needs to update.
Behavior changes
- The Swift package now needs iOS 16. Apps whose deployment target is iOS 15 can't add 3.5.0 through SPM, even with
import Daribehind#if DEBUG; stay on 3.4.0 until they move to 16. (#295)
What's Changed
- Add an in-app inspector (
DariUI) by @easyhooon in #295- New optional
DariUIlibrary:Dari.shared.presentInspector()from your debug menu, orDariInspectorViewin your own sheet - Lets QA and web developers check bridge messages on a device without a Mac
- Searchable list, Overview / Request / Response with pretty JSON, protobuf Decoded / Raw
- Share one message as text, export all as text or JSON (same format as Android and the desktop app), clear
- Mask Sensitive Values switch, remembered across launches, masks the list, search, detail, share and export with the desktop's rules
- Built from system components, so it follows the host app's look, including Liquid Glass on iOS 26+
- Desktop masking and
setPayloadRedactorapply only to what's sent to the desktop app - Sample app gets an Inspector button; the iOS guide and README describe the new library
- New optional
Full Changelog: 3.4.0...3.5.0
3.4.0 (iOS only)
iOS SDK only. Android stays at 3.0.0 on Maven Central and the desktop app at 3.3.0; neither needs to update.
What's Changed
- Add a
retentionPeriodoption by @easyhooon in #291DariConfiguration(retentionPeriod:), in seconds, drops messages older than the period when a new one is recorded, using Android's cutoffnilkeeps today's behavior;.infinitykeeps everything- Like Android, a connected desktop isn't told about pruned messages
- Add a custom payload redactor by @easyhooon in #292
Dari.shared.setPayloadRedactor { message in … }rewritesrequestData,responseDataandpageUrlbefore a message reaches the desktop app, after the built-in masking- A throwing redactor hides that message's payloads and page URL instead of sending them
- The closure is
@Sendableand runs on background threads;DariMessagehas a public init for testing redactors
- Inspect Protocol Buffers payloads by @easyhooon in #293
Dari.shared.interceptor(tag:protobufDecoder:)andonWebToAppProtobufRequestand friends takeData;DariProtobufDecodermaps each handler to your own decoding closure, with no SwiftProtobuf dependency- The desktop app shows the same Decoded and Raw views as for Android; sizes report the protobuf bytes
- Raw previews are hidden with masking on or a payload redactor set
autoCaptureand@DariBridgestill record strings only
- Docs: the README is a landing page for both platforms, and the iOS guide is split into setup, capture and connection pages by @easyhooon in #284, #289 and #290
Full Changelog: 3.3.0...3.4.0
3.3.0 (Desktop only)
Desktop app only. The library stays at 3.0.0, so there is no 3.3.0 on Maven Central and apps don't need to update.
Behavior changes
- The desktop app now checks for updates every hour instead of every six hours, still with a single request to
github.comand nothing else sent. (#273)
What's Changed
- feat(desktop): pair Android devices over Wi-Fi with QR or pairing code by @easyhooon in #282
- Session → Pair Device over Wi-Fi… pairs an Android 11+ phone for wireless debugging with a QR code or a 6-digit pairing code, the way Android Studio does. The "No device" screen has the same button.
- A phone on USB and Wi-Fi at once is listed once.
- On macOS, an adb server Dari starts uses Bonjour for discovery, which finds phones on office Wi-Fi where the default backend didn't.
- perf(desktop): check for updates every hour instead of every six by @easyhooon in #273
- A release published while Dari is open now shows the Update button within an hour.
- fix(desktop): don't fail a staged update on a busy DMG detach by @easyhooon in #275
- On macOS, updating failed with
couldn't unmount ... Resource busywhile an iOS simulator was running. The update now finishes anyway. - Clicking Update failed checks again and brings the Update button back.
- On macOS, updating failed with
- fix(desktop): hint at a backgrounded app while a detail load waits by @easyhooon in #279
- When the app is in the background, the system can pause it and details can't load. After 2 seconds the pane now says so instead of showing a spinner for 10 seconds.
- fix: brace
$archbefore the ellipsis in install-desktop.sh by @easyhooon in #277- The Terminal installer no longer stops with
arch…: unbound variableon macOS.
- The Terminal installer no longer stops with
- chore: bump the desktop app to 3.3.0 by @easyhooon in #278
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 | bashUpdating from 3.2.1 or earlier on macOS with an iOS simulator running can still fail, because the fix ships in the new version. Shut down the simulator first, or use the Terminal installer above.
Full Changelog: 3.2.1...3.3.0
3.2.1 (Desktop only)
Desktop app only. The library stays at 3.0.0, so there is no 3.2.1 on Maven Central and apps don't need to update.
What's Changed
- fix(desktop): keep Copy clear of a bare primitive payload by @easyhooon in #271
- A payload that is a single JSON string (e.g. a token) no longer runs under the Copy button in the detail pane.
- chore: bump the desktop app to 3.2.1 by @easyhooon in #272
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 | bashFull Changelog: 3.2.0...3.2.1
3.2.0 (iOS only)
iOS SDK only. Android stays at 3.0.0 on Maven Central and the desktop app at 3.0.0; neither needs to update.
What's Changed
- Record message handlers with
@DariBridgemacros by @easyhooon in #269- New opt-in
DariMacrosproduct.@DariBridge(tag:parseMessage:)on aWKScriptMessageHandlerrecords each message at compile time, with no swizzling - Covers sync,
replyHandlerandasynchandlers, and handlers declared in extensions dariEvaluateJavaScriptanddariCallAsyncJavaScriptrecord App → Web calls without hooks- With
autoCapturealso on, each message is recorded once - Needs Xcode 16 or later; swift-syntax runs on the host and isn't linked into the app
- Sample app records its bridge with
@DariBridge; the iOS guide walks through setup in English and Korean
- New opt-in
Full Changelog: 3.1.0...3.2.0
3.1.0 (iOS only)
iOS SDK only. Android stays at 3.0.0 on Maven Central and the desktop app at 3.0.0; neither needs to update. Update the Dari Swift package to 3.1.0.
What's Changed
- feat(ios): capture WebKit bridge traffic automatically by @easyhooon in #264
- Pass
autoCapture: DariAutoCapture()toDariConfigurationand Dari recordsWKScriptMessagehandlers (with and without reply) andevaluateJavaScriptcalls without manualDariInterceptorcalls, like the Android Gradle plugin. - The default parsers read
handler,requestIdanddatafrom message bodies and name scripts after the function they call; passparseMessage/parseScriptfor other bridge shapes. - Start Dari before creating web views; handlers added earlier aren't wrapped.
- The
sample-iosapp now records throughautoCapture.
- Pass
- Docs: Swift Package Index badges in the README (#262).
Full Changelog: 3.0.0...3.1.0
3.0.0
Dari now inspects iOS apps. The Dari Swift package records WKWebView bridge traffic, and the desktop app shows it next to your Android apps. dari, dari-core, dari-noop, dari-runtime, dari-inspector-protocol and dari-gradle-plugin 3.0.0 are on Maven Central.
Android apps need no migration. The wire protocol stays at version 1, so desktop 3.0.0 still connects to Android apps on 2.x, and older desktop apps keep working with Android apps on 3.0.0. iOS apps need desktop 3.0.0 or later.
What's Changed
- feat: inspect iOS Simulator apps from the desktop app by @easyhooon in #256
- New
DariSwift package (iOS 15+). Addhttps://github.com/easyhooon/darifrom3.0.0, callDari.shared.start()in debug builds and record calls withDari.shared.interceptor(tag:). Pairing, tags, fire-and-forget, truncation and masking match Android. - Apps serve the inspector protocol on 127.0.0.1 only. The desktop app finds them under an iOS Simulator device, and works on a Mac without adb.
- The handshake gains optional
platformandosVersion. The status line and exports show the iOS version.
- New
- feat: inspect iOS apps on USB devices from the desktop app by @easyhooon in #257
- iPhones and iPads attached over USB appear under their own name, reached through macOS's usbmuxd. Unplugging, replugging and app restarts reconnect on their own.
- iOS connections are macOS-only by design; Wi-Fi is not offered.
- Adds the
sample-iosapp and the iOS guide with install, compatibility and troubleshooting.
- fix(desktop): restore the main window on a secondary screen by @easyhooon in #259
- A window last placed on another screen no longer reopens at the minimum size on the main screen.
- fix(desktop): readable dropdown chevrons and a sensible export folder by @easyhooon in #260
- Pickers and the Export button draw a clearer chevron. The save dialog opens in the last export folder, or Downloads the first time, instead of
/Applications.
- Pickers and the Export button draw a clearer chevron. The save dialog opens in the last export folder, or Downloads the first time, instead of
- test(desktop): fix race in FinishLinuxUpdateScriptTest by @easyhooon in #258
- fix: skip rounded Scarf download observations by @easyhooon in #254
- Docs: README and site now describe Android and iOS (#261).
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 | bashFull Changelog: 2.9.0...3.0.0