Skip to content

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 23 Nov 15:37
· 34 commits to main since this release
c2be40a

[0.1.0] - 2026-11-23

🚀 Features

  • (marmot) Add spec registries and result vocabulary
  • (mk-core) Add KV storage provider for the MDK engine
  • (mk-core) Add sans-IO session API over the engine
  • (mk-core) [breaking] Implement White Noise capability parity
  • (mk-bridge) Add byte-oriented JSON bridge crate
  • (mk-bridge) Tighten request decoding and attachment storage
  • (backend) Add mk-bridge wire protocol and codecs
  • (backend) Add typed Engine over the Backend port
  • (storage) Add IndexedDB KV driver with cipher and lock ports
  • (testing) Add in-memory KV driver
  • (marmot) Export backend storage and testing subpaths
  • (mk-wasm) Add wasm-bindgen bridge shell
  • (testing) Add manualClock, fakeRelay and runFlow
  • (marmot-wasm) Add wasm loader package and build scripts
  • (marmot) Make the backend port async
  • (mk-ffi) Add the C ABI shell over mk-bridge
  • (fuzz) Add the ffi_call target
  • (marmot) Add sqliteKv and localLocks
  • (marmot-native) Add the Nitro backend package
  • (scripts) Build the mk-ffi native prebuilts
  • (native-smoke) Add the Expo dev-client app
  • (native-smoke) Add the collector and platform drivers
  • (native-smoke) Add the perf measurement mode
  • (native-smoke) Add a no-native build switch
  • (native-smoke) Measure app size and memory
  • (transport) Add relay port, URL gate and planner
  • (storage) Add the sealed sync cursor store
  • (keys) Resolve relay lists and invitee KeyPackages
  • (invites) Surface signer-blocked Welcome unwraps
  • (groups) Add group and three-step media operations
  • (client) Add MarmotClient over a serialized pump
  • (core) Pace outbound retries; add not_sent status
  • (bridge) Wire availability + not_sent (v2)
  • (marmot) Mirror bridge protocol v2
  • (marmot) Add not_sent and connect to RelayPort
  • (marmot) Emit retryable pending invites
  • (marmot) Pace publishes on nextWakeMs; guard commits
  • (mk-core) M5a application surface (phase 1)
  • (mk-bridge) Protocol v3 app surface
  • (marmot) Protocol v3 typed app surface
  • (mk-core) Delivered index, holds, pacing
  • (mk-bridge) Protocol v4
  • (marmot) Protocol v4 wire surface
  • (core) Bump the spec pin to 04fbdf8
  • M6 steps 1-4 — selection, KeyPackage lifecycle, sign-out, self-update (#37)
  • M6 steps 5-7 — access, stall detector, rejoin, multi-device (#39)

🐛 Bug Fixes

  • (mk-core) Bound batch decoding and keep accepted commits
  • (mk-core) Tag only private-use ids in KeyPackage events
  • (ci) Install llvm-tools for the conformance build
  • (media) Surface HKDF failure instead of a constant file key
  • (storage) Make drivers terminal after a failed commit
  • (backend) Harden engine failure paths
  • (storage) Reject webLocks.acquire when the lock request fails
  • (backend) Defer durable acks until the bridge is ready
  • (mk-wasm) Gate the universal-time provider to wasm targets
  • (testing) Settle transient group_busy sends and drain deferred delivery
  • (marmot-wasm) Load generated glue at runtime in tests and e2e
  • (mk-bridge) Preserve host signer refusal
  • (marmot) [breaking] Bind sealed rows to the row key
  • (mk-core) Hand out bare key package bundles
  • (marmot) Make localLocks release own its grant
  • (native-smoke) Send enough messages for the 2000 window
  • (native-smoke) Merge app-size results across runs
  • (scripts) Annotate STANDALONE_APPS for isolatedDeclarations
  • (scripts) Type STANDALONE_APPS explicitly
  • (mk-core) Read one fanout per publish report
  • (core) Keep refused Welcome unwraps retryable
  • (marmot-wasm) Derive the wn interop version from upstream
  • (mk-core) Release drained resolution capacity
  • (mk-bridge) Adapt to mk-core M5a API
  • (mk-core) Tidy M5a session ops
  • (mk-bridge) Reject unknown intent fields
  • (marmot) Reconcile inside forget/disband ops
  • (marmot) Drive deferred lifecycle work via requestTick
  • (mk-core) Map in-flight commit refusal to busy
  • (marmot) Wake after confirmed commit merge
  • (interop) Expect message_sent result
  • (release) Bump every package and internal pin
  • (marmot-wasm) Keep stage-wasm off stdout
  • Harden ingest, signer, FFI and release paths from the security review (#34)

📚 Documentation

  • Add contributor guides and policies
  • Document mk-core, its gates and the interop build
  • Document the wn parity capability set and new gates
  • (mk-bridge) Note group_created carries the full group snapshot
  • Document the bridge, wasm and browser lanes
  • (marmot-wasm) Record the rebuilt wasm size
  • (marmot-wasm) Record the rebuilt wasm size
  • Record mk-ffi in the agent guide
  • Record sqliteKv and localLocks
  • Document marmot-native and the native build
  • Document the native smoke app
  • Document the perf and size commands
  • Record the client layer invariants
  • (marmot-wasm) Record the rebuilt wasm size
  • Update pump invariants for delivery semantics
  • (marmot-wasm) Record the rebuilt wasm size
  • Note the mk-core semantics module
  • Describe delivered index and pacing
  • Document interop CI and the release procedure

⚡ Performance

  • (testing) Track relay cursors per member and sync until quiescent
  • (mk-core) Add key-only store range scans
  • (mk-core) Answer message queries from indexes
  • (mk-core) Store message bytes as base64
  • (mk-core) Scope write generation to OpenMLS
  • (mk-core) Store Group rows with base64 bytes

🚜 Refactor

  • (backend) Share the exhaustive match helper
  • (marmot) Extract the shared KV commit chain
  • (mk-core) Require every GroupRow field

🎨 Styling

  • (conformance) Format rust-toolchain.toml with taplo
  • (mk-core) Format busy-in-flight test

🧪 Testing

  • (mk-core) Cover the nine crash and restart boundaries
  • (conformance) Replay MDK vectors through the session API
  • (fuzz) Add cargo-fuzz targets for mk-core decoders
  • (interop) Drive wn and wnd over a loopback relay
  • (vectors) Record encrypted-media fixtures and v2 crypto KATs
  • (fuzz) Add imeta_tag and stream_anchor targets
  • (interop) Assert wn parity scenarios
  • (conformance) Adapt the replay harness to the new session API
  • (upstream) Pin rolled-back own commits applied by convergence
  • (mk-bridge) Add protocol vectors and byte-level integration tests
  • (fuzz) Add bridge_request and bridge_config fuzz targets
  • (mk-bridge) Add crash fault-injection matrix and durability invariant
  • (backend) Add vector codec and engine tests
  • (marmot-wasm) Add flow and panic suites
  • (bridge) Instrument send and restart timings in full_flow
  • (marmot-wasm) Add chromium e2e suites for flow kill locks and perf
  • (marmot-wasm) Split the memory scenario out of the browser perf suite
  • (interop) Drive marmot through mk-bridge bytes in scenario 7
  • (mk-bridge) Add store scaling bench
  • (mk-bridge) Bound send time against history
  • (mk-bridge) Instrument scaling harness
  • (mk-ffi) Exercise the C ABI end to end
  • (marmot) Share the KV driver contract suite
  • (marmot-wasm) Give the perf spec the flow budget
  • (testing) Add relay network, timer and cursor fakes
  • (marmot-wasm) Pin Welcome refusal and same-second bursts
  • (marmot-wasm) Run client e2e and crash suites
  • (marmot-wasm) Cover MarmotClient in Chromium
  • (marmot-wasm) Add the wn interop scenario script
  • (marmot) Await the scripted backend's handle calls
  • (marmot-wasm) Wait for group snapshots to converge
  • (mk-bridge) Add large-group repro bench
  • (mk-core) Pin deferred listing to the index
  • (mk-bridge) Guard sends in a 200-member group
  • (marmot) Cover pending invites, pacing, floor, refusals
  • (marmot-wasm) Cover release-engine delivery semantics
  • (mk-ffi) Track availability enum and retry pacing
  • (marmot) Drop the unused network in dial test
  • (mk-core) Count OpenMLS group loads
  • (mk-bridge) Profile heap and count group loads
  • (mk-core) Model the engine's MLS group cache
  • (mk-bridge) Ack and drain in heap profile
  • (mk-core) Model held-savepoint rollback
  • (interop) Capture White Noise 0.17 app events
  • (mk-core) App-surface acceptance flows
  • (mk-core) Pin canonical row-id edge cases
  • (mk-bridge) V3 vectors and e2e flows
  • (marmot-wasm) App-surface e2e coverage
  • (interop) Wn 0.17 app-surface scenarios
  • (interop) Retry typed group_busy
  • (interop) Report progress on timeout
  • (mk-core) Compare checkpoint rows decoded
  • (mk-core) Cover delivered index and pacing
  • (mk-bridge) V4 vectors and app tests
  • (mk-core) Model covers openmls content filters
  • (marmot-wasm) Paced burst replaces flood
  • (marmot-wasm) Uncapped sends + modifiers e2e
  • (marmot-wasm) Wn unreact/edit/delete land
  • (mk-core) Wall-clock pacing throughput measure
  • (mk-core) Clippy-clean throughput test
  • (marmot-wasm) Serve NIP-11 limits in test:interop
  • (interop) Serve NIP-11 limits from the Rust rig
  • (mk-core) Drop the mdk#3524 crash relaxation

⚙️ Miscellaneous Tasks

  • (scripts) Add version sync and pin checks
  • Add workflows and dependabot
  • (scripts) Skip workspace-excluded crates in check-version
  • Add Rust, cross, conformance, interop and fuzz jobs
  • Merge origin/main into feat/wn-parity
  • (marmot-wasm) Run the node suite with the node on PATH
  • Drop temporary probe scripts and bridge timing instrumentation
  • Add wasm and browser jobs
  • (marmot-wasm) Normalize the wasm-bindgen shim hash in check:generated
  • (conformance) Ignore the chrono unmaintained advisory
  • Check mk-ffi on iOS and Android targets
  • Gate the mk-ffi host export surface
  • (scripts) Register standalone apps in the version check
  • (marmot-wasm) Regenerate wasm glue
  • (marmot-wasm) Regen glue, record size
  • (marmot-wasm) Sent-message callers, regen glue
  • (mk-bridge) Format large_group bench
  • (marmot-wasm) Regen glue, record size
  • (marmot-wasm) Regen glue for protocol v4
  • (marmot-wasm) Record wasm size
  • Add a temporary M7 measurement workflow
  • Measure the mk-core suite log in the M7 probe
  • Build wn from its pin and run the interop suites
  • Build the native prebuilts in CI
  • [breaking] Publish all three packages from one pipeline
  • Run the interop suites nightly against MDK master
  • Install the components MDK's toolchain file lists
  • Keep measuring the probe log when a test fails
  • Count S2 losses without stopping the loop
  • Remove the temporary M7 measurement workflow
  • Scope the known-upstream job to S1-S3 (#40)
  • Release v0.1.0 (#41)

💼 Other

  • Scaffold monorepo toolchain and config
  • (deps) Align hkdf and chacha20poly1305 with sha2 0.11
  • (deps) Bump getrandom from 0.3.4 to 0.4.3 in /crates/conformance (#18)
  • (deps) Bump sha2 from 0.10.9 to 0.11.1 in /crates/conformance (#17)
  • (native) Add armeabi-v7a to the Android prebuilts
  • Compile SQLCipher without memory locking
  • Pin White Noise separately in upstream.json
  • (marmot-wasm) Ship only a paired wasm and glue
  • (deps) Bump MDK and wn to v0.18.0
  • (wasm) Regenerate glue for MDK v0.18.0

Artifacts

@qntx/marmot-wasm

marmot_wasm_bg.wasm: 5689379 bytes, gzip -9 2888038 bytes

sha256 d11464b4bb88392ffc81cbb71848f2bc5e8d18a78b09c64d47a82586fe8c4c0e (two independent CI builds, byte-identical)

@qntx/marmot-native prebuilts

file bytes sha256
android/src/main/jniLibs/arm64-v8a/libmarmot_ffi.so 11132624 c440012f469680700286ba8624e179cd60bd069803b446164a8a782d8e06c5dd
android/src/main/jniLibs/armeabi-v7a/libmarmot_ffi.so 8212624 711d9d4546d44e671b7fc044428272e709ffe9cafb53433ecee3899b46c0c98d
android/src/main/jniLibs/x86_64/libmarmot_ffi.so 13479088 6aadd6a6bac02177b45c626e5314734ca8a02ca876f988bc6870e5b1bb2854d1
include/marmot_ffi.h 6299 118e1a1a9a8139c85ec33cfb5ba3ce3fa125ba155e95a77026c8bfe77a7059d7
ios/MarmotFfi.xcframework/ios-arm64-simulator/MarmotFfi.framework/Headers/marmot_ffi.h 6299 118e1a1a9a8139c85ec33cfb5ba3ce3fa125ba155e95a77026c8bfe77a7059d7
ios/MarmotFfi.xcframework/ios-arm64-simulator/MarmotFfi.framework/MarmotFfi 10886784 9c68777518043ed18a3e7e4a76453eef121217ff23c9a17be77132379176005c
ios/MarmotFfi.xcframework/ios-arm64/MarmotFfi.framework/Headers/marmot_ffi.h 6299 118e1a1a9a8139c85ec33cfb5ba3ce3fa125ba155e95a77026c8bfe77a7059d7
ios/MarmotFfi.xcframework/ios-arm64/MarmotFfi.framework/MarmotFfi 10835024 1d817152f5bef1f11a18a9f591557fe4fc56e18b5bf7b063b4f497a07655103a

npm tarballs

tarball bytes sha256
qntx-marmot-0.1.0.tgz 210732 313fb841e424cf26d9ca4898dee89dcaa774d1b5253748de323c8540f153cf5f
qntx-marmot-native-0.1.0.tgz 30258801 65977d6e7707c98177fb401ecc0a1ccc2e2074e79d9280f6329e037d39bfd744
qntx-marmot-wasm-0.1.0.tgz 2918890 7421ad8b2455867f26afd74d680219b59bac195374df55306607636b975dfb6d