Repository navigation
v0.10.2 - MDK
MDK 0.10.2
MDK 0.10.2 updates the Rust workspace, WN Agent, MarmotKit (iOS, macOS and
Android), and Marmot C from one source commit.
Highlights
- Accepted conversations acquire attachments in the background, including
retained history. Protected checkpoints resume interrupted downloads when
servers support validated ranges. Authentication completes before local
bytes become available to clients. - Swift/Kotlin and C expose bounded attachment history, local reads, progress,
and durable cancel, retry, remove, and download-again controls. Automatic
acquisition defaults on with per-account policy, storage quotas, disk reserve,
and one transfer across accounts. - Message projections expose accepted deletion provenance and preserve
custom-event tags. Historical tombstones without evidence remain unknown. - Local-first KeyPackage inventory distinguishes local ownership from relay
observations. Compatible White Noise packages are preferred, and missing
invitation packages produce an explicit error. - Conversation opening and timeline projection avoid repeated account,
profile, and message work. Readiness and contention measurements make delays
easier to diagnose. - Losing-branch messages remain parked for possible revival; retained replay
and deferred-peel budget fixes avoid premature retirement. - Account identity creation handles concurrent database initialization.
Size-rotated audit segments retain source metadata. - QUIC broker subscriber writes are bounded. Optimized macOS C libraries
preserve Mach-O alignment for Xcode 27.
Compatibility and adoption
Update generated Swift/Kotlin source and native libraries together from the
same immutable release. C consumers must update headers and libraries together
because message records have new fields. Rebuild downstream apps to adopt the
new APIs and behavior.
Apple consumers must stage the matching shared Swift source and platform
privacy asset in their wrapper, rename the latter to PrivacyInfo.xcprivacy,
and declare resources: [.copy("PrivacyInfo.xcprivacy")]. Every consuming app
and extension must depend on that wrapper. See the
distribution guide and
consumer adoption tracking.
The existing native required-reason and SDK-signing questions remain open for
host App Store submission; resource validation does not resolve them.
Account databases advance through migrations 81–86: attachment history,
deletion provenance, retained attachment acquisition, worker demand,
protected partial downloads, and durable attachment controls. Back up or
export before upgrading. Downgrade after migration is unsupported; re-upgrade
or restore a pre-upgrade account database/export. Never remove migration rows.
See the storage-format definition and compatibility evidence.
Upgrades from before migration 47 also require at least 3.25 times the account
database size in free space for its table rebuild and gradual promotion.
Release artifacts
v0.10.2: MDK source snapshot.wn-agent-v0.10.2: WN Agent and terminal harness binaries, gateway plugins,
and checksum-paired installers; this track retains prerelease status.marmotkit-v0.10.2: iOS/macOS XCFrameworks, shared Swift source, platform
privacy assets, Android Kotlin and all four JNI ABIs, manifests and checksums.marmotc-v0.10.2: C ABI bundle and checksum.
Verify sibling SHA-256 files and manifest source/version metadata. Apple
binary ZIPs also provide SwiftPM checksums. Use matched release inputs.
Source commit: 7dba6fc83eb054c6d703da182300a8e0f140eefc. All four release tracks use this commit.
Storage-upgrade verification used 2,048 representative rows: migration 5,001 ms, bounded promotion 4,185 ms, slowest promotion batch 77 ms, and peak disk use about 4.01 times the starting database footprint. The documented requirement of at least 3.25 times the account database size in free space remains applicable to upgrades crossing migration 47.
What's Changed
- Reuse ready workers before account reconciliation by @dannym-arx in #1876
- Add local-first KeyPackage inventory with typed ownership by @agent-p1p in #1865
- Bound QUIC broker subscriber writes so stalled peers cannot pin stream permits by @agent-p1p in #1861
- Add bounded, revisioned attachment discovery in SQLite by @erskingardner in #1888
- Expose bounded local attachment history through native APIs by @erskingardner in #1895
- Read groups without loading full account state by @dannym-arx in #1887
- Reuse local accounts across directory hydration by @dannym-arx in #1897
- Adjust the nightly CPU budget to measured usage by @dannym-arx in #1900
- Scope the deferred-peel account budget to groups the sweep can enter by @jgmontoya in #1886
- Keep a replayed row refused for lack of room retained instead of retiring it as processed by @jgmontoya in #1904
- Batch snapshot display-name profile reads by @dannym-arx in #1901
- Expose deletion provenance and custom-event tags in message projections by @erskingardner in #1894
- Add durable attachment acquisition and retention storage by @erskingardner in #1898
- Filter retained rows on the positive send gate by @dannym-arx in #1906
- fix: retain source metadata in size-rotated audit segments by @erskingardner in #1908
- Acquire and retain accepted-chat attachments in the background by @erskingardner in #1907
- Resume interrupted attachment downloads from protected checkpoints by @erskingardner in #1909
- Fix account database initialization race during identity creation by @erskingardner in #1913
- Expose bounded local attachment access to native clients by @erskingardner in #1915
- Prefer compatible White Noise KeyPackages and add client publication labels by @erskingardner in #1910
- Measure conversation readiness and runtime contention by @erskingardner in #1916
- Reduce repeated timeline projection work by @dannym-arx in #1899
- Report missing invitation key packages by @dannym-arx in #1903
- Park losing-branch application messages for revival instead of invalidating them by @jgmontoya in #1912
- Enable bounded attachment downloads with native progress and controls by @erskingardner in #1917
- Audit remaining chat-row contracts and fix macOS C release builds by @erskingardner in #1918
- Release MDK 0.10.2 by @erskingardner in #1919
Full Changelog: v0.10.1...v0.10.2