Skip to content

v0.10.2 - MDK

Choose a tag to compare

@erskingardner erskingardner released this 19 Sep 07:59
· 960 commits to master since this release
Immutable release. Only release title and notes can be modified.
7dba6fc

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

Full Changelog: v0.10.1...v0.10.2