NiroWear

Release archive · Signed APK ledger

Changelog

Published builds in reverse chronological order, recording the artifact identity and the tests actually run for each cut.

Synced to tag v0.3.6 and main · Updated 2026-11-28

0.3.6 2026-11-28 Latest release

Scroll performance recovery, Wear animations, and repaired delete UX

Final 0.3.x polish and hardening release on top of 0.3.5, reducing idle scroll memory, adding smooth Wear-native screen and action micro-animations, and realigning History and Provider delete buttons with zero new dependencies.

  • Idle memory & draw-phase scroll performance (WatchMetrics, MainActivity, ProviderScreen): Replaced Wear M3 ScrollIndicator allocations with draw-phase WatchScrollIndicator (fades in while scrolling, 750 ms idle fade-out, round bezel arc and rectangular edge bar), hoisted reader top/bottom scrim brushes, eliminated the last Kotlin compiler warning, and expanded baseline.prof (8,022 B).
  • Wear-native transitions & micro-interactions (MainActivity, DocumentBlock): Added smooth AnimatedContent transitions (fadeIn/scaleIn 150 ms, fadeOut/scaleOut 110 ms), AnimatedVisibility on Latest, inline Copy to Copied ✓ morphing (1,800 ms) on answer footers and fenced code headers, and a compact live clock caption on the empty Home state.
  • Repaired & realigned two-step Delete UX (MainActivity, ProviderScreen): Rebuilt History conversation deletion around centered 40.dp-min pills inside AnimatedContent + FlowRow (Delete to Tap again to delete + Cancel, 5 s auto-disarm, wrapping cleanly at 384 px), centered Validate/Save/Delete labels in Providers with dark crimson + error tint and 5 s auto-disarm, and updated EN/ID parity to 160 + 11 entries.
versionCode
22
size
4,181,675 B
sha256
1b5206448984bb8d85f45f5ad61bd7637b6eeb6923439b22cfae0b1409849f78
certificate
CN=NiroWear Release (0dc50fc0…86543e)
CheckResult
JVM & localization352 passed, 1 skipped (353 tests across 53 suites, 0 failures; opt-in LiveProviderSmokeTest skipped); exact 160 + 11 EN/in-ID parity
ktlint & lintDebugktlintCheck 0 violations; lintDebug 0 errors, 0 source-code warnings (7 pinned dependency advisories); 0 Kotlin compiler warnings
CI & multi-size QA28/28 smoke tests (10/10 classes, 5m8s) green on Wear OS 5 API 34 (466 x 466) on PR #108; nirowear-b QA passed at 384x384, 466x466, and 360x402
Xiaomi Watch 2 HW (v0.3.6 signed)In-place upgrade over signed v0.3.5 (0 FATAL, versionCode 22, nfc_has_nirowear=False, Menu verified incl. Text size): cold start median 564 ms (WaitTime 577 ms), warm HOT 78 ms (WaitTime 82 ms), idle Home PSS 38,493 KB (post-Providers 51,852 KB), Providers 18-swipe gfxinfo 494 frames, 2 janky (0.40%, legacy 0.00%) (P50 5 ms, P90/P95/P99 14 ms), Thermal Status: 0
0.3.5 2026-11-28

Adaptive multi-watch layout, redesigned phone pairing web app, and wrist usability polish

UX and adaptive display release adapting across round (384-480 px) and square Wear OS dials, maximizing readable dial area with soft edge scrims, redesigning the local Wi-Fi phone pairing web app, and shipping high-MVP wrist ergonomics with zero new dependencies.

  • Multi-watch adaptive layout (WatchMetrics): Compute exact circular chord margins for round dials and tight margins for non-round watches, render a full-bleed LazyColumn framed by top/bottom fade scrims over always-visible compact controls, apply gentle roundEdgeTaper to short edge rows, adapt 2- vs 3-icon footer clearances, and add curved Wear Material 3 ScrollIndicator on Reader, History, and Providers.
  • Redesigned phone pairing web app (PAIRING_PAGE): Replace the plain setup form with a self-contained dark teal mobile card UI featuring an inline SVG Thread mark, live Wi-Fi ECDH status pill, 4 provider quick-select chips synced with #type, API key Show/Hide and clipboard Paste, collapsible Security & certificate disclosure, animated Fetch models spinner, and color-coded status banners.
  • Wrist usability & polish: Keep screen awake while generating, add persisted Reader Text size (Compact / Standard / Large) and Menu Quick Provider Switcher, two-tap History deletion with relative timestamps and empty state, Copy answer and fenced code-block Copy headers, NiroWear OLED teal palette, turn dividers, pulsing Thinking state, rounded Composer card, thumb-first pairing order, haptics, and 158 EN/ID + 11 renderer strings.
versionCode
21
size
4,148,043 B
sha256
c5ea10db79208050fa0694f25eb2ed6ea42900877c8c63aeab1f4ca007d6c254
certificate
CN=NiroWear Release (0dc50fc0…86543e)
CheckResult
JVM & WebCrypto JS351 passed, 1 skipped (352 tests across 53 suites, 0 failures; opt-in LiveProviderSmokeTest skipped); Node v26 WebCrypto E2E pairing simulation passed
ktlint & lintDebugktlintCheck 0 violations; lintDebug 0 errors, 0 source-code warnings (7 pinned dependency advisories)
CI instrumented (Wear OS 5)10/10 classes green on Wear OS 5 API 34 (466 x 466) on PR #106 before merge
Xiaomi Watch 2 HW (v0.3.5 signed)In-place upgrade over signed v0.3.4 (0 FATAL, versionCode 21, nfc_has_nirowear=False, Menu verified incl. Text size): cold start median 593 ms (598, 522, 535, 593, 606 ms, WaitTime 599 ms), warm HOT 65 ms (77, 79, 61, 63, 65 ms, WaitTime 71 ms), PSS 40,175 KB (RSS 125,224 KB), Providers 18-swipe gfxinfo 665 frames, 1 janky (0.15%) (P50 13 ms, P95 14 ms, P99 14 ms), Thermal Status: 0
0.3.4 2026-11-28

Incremental parser parity, pairing/streaming lifecycle fixes, and Compose/GPU optimizations

Maintenance and reliability cut landing deep bug fixes across ResponseParser, ChatViewModel, ProviderHttp, pairing/provider adapters, and Compose GPU caching, alongside 22 additional regression tests.

  • Markdown/LaTeX streaming parity (ResponseParser): Keep listContentIndent frozen inside open fences so nested YAML/list fences never swallow display math; align findSafePrefixCut() across table $$, indented code $$, depth-2 list \[...\], mid-line $$...$$ before fences/Type 1-5 HTML blocks, blank lines inside lists, and multi-line link definitions.
  • Streaming, storage & pairing lifecycle: Prevent out-of-order UI flushes (advanceLiveContent), scope isLivePersisted by conversation and eliminate retrySaving() stale STREAMING flashes; stop active pairing on profile delete and track sent in PAIRING_PAGE; use AtomicReference cancellation in ProviderHttp; guard non-primitive JSON across provider adapters; delegate SecretStore.read() to AtomicFile.readFully() for .bak recovery; zero PKCS12 keystore passwords in SelfSignedCert.
  • Compose, search & math optimizations: Cache drawWithCache geometry in QR and ReaderAction; retain rememberMath drawables across LRU eviction; bound \rule[raise] in NativeMathGuard; fix SearchQuery integer overflow & trailing spaces; deflake PairingHostileTest Linux close timing.
versionCode
20
size
4,076,023 B
sha256
e1611d40b3972629b4c514855ba1e6b0bf1bf1ff5c7239e546da4b2e6d881d9c
certificate
CN=NiroWear Release (0dc50fc0…86543e)
CheckResult
JVM unit tests342 passed, 1 skipped (343 tests across 50 suites, 0 failures; opt-in LiveProviderSmokeTest skipped)
ktlint & lintDebugktlintCheck 0 violations; lintDebug 0 errors, 0 source-code warnings (7 pinned dependency advisories)
CI instrumented (Wear OS 5)10/10 classes green on Wear OS 5 API 34 (466 x 466) on PR #104 before merge
Xiaomi Watch 2 HW (v0.3.4 signed)In-place upgrade over signed v0.3.3 (0 FATAL, versionCode 20, nfc_has_nirowear=False, 3-item Menu): cold start median 520 ms (554, 520, 492, 505, 611 ms, WaitTime 526 ms), warm HOT 64 ms (64, 82, 62, 63, 86 ms, WaitTime 68 ms), PSS 26,134 KB (RSS 107,016 KB), Providers 18-swipe gfxinfo 216 frames, 0 janky (0.00%) (P50 5 ms, P90 5 ms, P95 6 ms, P99 8 ms), Thermal Status: 0
0.3.3 2026-11-27

Direct watch prompt policy, faster ART startup & streaming, Open on phone + pairing model fetcher

Release focused on physical watch speed, directness, and setup reliability: lazy DAO and storage initialization paired with an ART Baseline Profile, 1-tap Open on phone via RemoteActivityHelper replacing broken NFC HCE, and encrypted phone-page model fetching over POST /<CAP>/models.

  • Direct answer prompt & provider robustness: Sharpen SYSTEM_INSTRUCTION for concise, accurate, non-lecturing answers (WatchFirstPolicyTest); handle Anthropic refusal stops and deterministic 404 metadata caching, guard JsonNull in Gemini/OpenAI adapters, and surface reasoning_content status in OpenAI-Compatible.
  • Replace NFC HCE with Open on phone & pairing model fetcher: Remove broken NfcPairingService/NdefTag; add PhoneLauncher (androidx.wear:wear-remote-interactions:1.2.0), dedicated pairing layout with countdown and FLAG_KEEP_SCREEN_ON, Fetch models + filterable dropdown in PAIRING_PAGE, id-kp-serverAuth certificate EKU hardening, two-tap delete confirmation, and EN/ID validation parity.
  • Startup, streaming & input fixes: Defer Room DAO and SecretStore credential-dir resolution cleanly off Main initialization; ship app/src/main/baseline-prof.txt (assets/dexopt/baseline.prof, 7,854 B); decouple 50 ms streaming UI flushes from 1000 ms SQLite checkpoints; merge single-pass reader parsing; fix rotary-crown polarity/scaling and bind rotary scrolling to History and Providers.
versionCode
19
size
4,076,023 B
sha256
93fbbb70bac8c136181978569e2dd58fa9ef38e8954526b6e8809abc995d4c44
certificate
CN=NiroWear Release (0dc50fc0…86543e)
CheckResult
JVM unit tests320 passed, 1 skipped (321 tests across 50 suites, 0 failures; opt-in LiveProviderSmokeTest skipped)
ktlint & lintDebugktlintCheck 0 violations; lintDebug 0 errors, 0 source-code warnings (7 pinned dependency advisories)
CI instrumented (Wear OS 5)10/10 classes green on Wear OS 5 API 34 (466 x 466) on PR #102 before merge
Xiaomi Watch 2 HW (v0.3.3 signed)In-place upgrade over signed v0.3.2 (0 FATAL, versionCode 19, nfc_has_nirowear=False, 3-item Menu): cold start median 516 ms (598, 600, 516, 513, 511 ms, WaitTime 550 ms), warm HOT 79 ms (87, 74, 79, 76, 81 ms), PSS 22,060 KB (RSS 107,312 KB), Providers 18-swipe gfxinfo 209 frames, 0 janky (0.00%) (P50 5 ms, P95 6 ms, P99 10 ms), Thermal Status: 0
0.3.2 2026-11-27

Reader notice reveal, Watch 2 verification closure (#62, #84), and Compose/parser hardening

Shipping release bundling post-0.3.1 concurrency, parser, math, and Compose optimizations together with hardware-verified Xiaomi Watch 2 fixes across notice visibility, pairing replay, and Wear launch transition timing.

  • Reader notice visibility & concurrency hardening: Reveal reader notice banners at index 0 via LaunchedEffect(notice) with polite live-region semantics in MainActivity so long threads do not leave banners scrolled offscreen; wrap openEditor with rememberUpdatedState; fix PairingServer close/cancel races, CompatibleStreamDecoder JsonNull error mapping, ResponseParser inline-math backslash bleed, and NativeMathRenderer cache/bounds guards.
  • Compose & streaming performance: Run historyKeysFor, renderUnitsFor, and unitRangeByBlock on parseDispatcher; hoist shared TextMeasurer in ChatReader, Quote, and Table; add contentType and LazyColumn keys; remove dead code and unused imports.
  • Watch 2 test alignment & Dependabot hygiene: Treat SocketException, SSLHandshakeException, and EOFException on post-close pairing replay as refused in PairingUiTest; wait 800 ms in InputResultUiTest.launch() for Wear transition animations; closed Dependabot PR #98 due to compose-bom:2026.11.01 requiring compileSdk 37.1 and Kotlin 2.4.21 vs KSP 2.3.14.
versionCode
18
size
3,778,806 B
sha256
0f0a46124b8470f3b45350f5d68289c818fc22bc63fb7c83cb515c1200ac29eb
certificate
CN=NiroWear Release (0dc50fc0…86543e)
CheckResult
JVM unit tests319 passed, 1 skipped (320 tests across 51 suites, 0 failures; opt-in LiveProviderSmokeTest skipped)
ktlint & lintDebugktlintCheck 0 violations; lintDebug 0 errors, 0 source-code warnings (7 pinned dependency advisories)
CI instrumented (Wear OS 5)10/10 classes green on Wear OS 5 API 34 (466 x 466) on PR #100 before merge
Xiaomi Watch 2 HW (debug pre-tag + v0.3.1 signed)Post-final-edit debug pass: InputResultUiTest 8/8, IndonesianReaderNoticesTest 1/1 (id-ID), CompatibleChatTest 4/4, ComposerSendReachabilityTest 2/2, PairingUiTest 1/1, ComposerImeCommitTest 1/1, ComposerSendButtonTest 1/1, InputControlsUiTest 1/1, TalkBackTraversalOrderTest 1/1, ReaderSemanticsTest 1/1, QuoteSemanticsTest 1/1, plus ReaderNavigationTest 7/7 pre-LaunchedEffect(notice) (#62, #84 closed; signed v0.3.2 watch install pending watch reconnection, signed v0.3.1 baseline cold 694 ms / warm 71 ms / PSS 31,575 KB)

Human spoken dictation accuracy and TalkBack speaker audio (#27, plus signed v0.3.2 watch install when reconnected) and second-phone Chrome self-signed cert click-through (#28) remain open; 5,000-message disk injection onto the signed container stays blocked by allowBackup="false" and debuggable=false.

0.3.1 2026-11-26

State & concurrency hardening, zero source-code lint warnings, and compileSdk 37.0 dependency updates

Maintenance and hardening release on 0.3.0 resolving state and concurrency defects across ChatViewModel, MainActivity, and ProviderScreen, stripping dead code down to 0 source-code lint warnings, and tightening the GitHub Pages site.

  • ChatViewModel & ProviderScreen fixes: Clear liveAnswer once retrySaving() commits so FailureToken.ANSWER_NOT_SAVED disappears immediately (CompatibleChatTest#retrySavingClearsStaleLiveAnswerError); rethrow CancellationException cleanly in init; default SavedStateHandle? = null (eliminating the lintDebug VisibleForTests warning); guard ProviderScreen Delete with busy so concurrent Save actions cannot race deletion.
  • Reader parse cache thread confinement: Run locale-change streamPrefixCache.clear() strictly inside parseDispatcher (MainActivity, pinned by StreamParseTest#confinedPrefixCacheSurvivesRepeatedLocaleClearWithoutConcurrentModification).
  • Dead-code & dependency updates: Remove unused TENF_WELL_KNOWN constant (NdefTag) and 12 unused imports across 7 files; update androidx.room 2.8.5, kotlinx-serialization-json 1.13.0, com.google.zxing:core 3.5.4, androidx.test:runner & core 1.7.0, and androidx.test.ext:junit 1.3.0 (compose-bom:2026.11.01 held on compileSdk 37.0).
  • Website & docs sync: Tighten docs/index.html without any pre-entry splash overlay, add interactive architecture pipeline and pairing walkthroughs, and sync docs/changelog.html, README.md, and docs/release/BUILD_AND_RECOVERY.md.
versionCode
17
size
3,778,802 B
sha256
f623a168eb1696f8c5378c72a478b6d0616c9a447505b2e4ed82d92122fc2127
certificate
CN=NiroWear Release (0dc50fc0…86543e)
CheckResult
JVM unit testsv0.3.1 tag: 316 passed, 1 skipped (317 tests across 51 suites, 0 failures); post-cut main hardening pass: 319 passed, 1 skipped (320 tests / 51 suites)
ktlint & lintDebugktlintCheck 0 violations; lintDebug 0 errors, 0 source-code warnings (7 pinned dependency-update advisories)
CI instrumented (Wear OS 5)10/10 classes green on Wear OS 5 API 34 (466 x 466), including CompatibleChatTest#retrySavingClearsStaleLiveAnswerError
Xiaomi Watch 2 HW (v0.3.1)Signed v0.3.1 non-DEBUGGABLE release: cold median 694 ms (683-818 ms), warm HOT median 71 ms (64-81 ms), PSS 31,575 KB, Thermal Status: 0, D5 rotary absent (slate-spi KEYBOARD), D4 HCE routed, 20 debug UI/renderer classes + measuredAnswers... passed

Human spoken dictation accuracy, human TalkBack speaker verification (#27), second-phone Chrome self-signed cert click-through (#28), and hardware MockWebServer / replay handshake / InputResultUiTest (6/8) cases (#62, #84) stay open; 5,000-message disk injection onto the signed shipping container stays blocked by allowBackup="false" and debuggable=false.

0.3.0 2026-11-26

Atomic drafts, incremental streaming, TalkBack order, and 127-key parity

Exit-saved composer drafts live in Room (ChatDatabase v3) so Back-exit drafts survive process death and Send commits the question while clearing the draft in one transaction (InputResultUiTest).

  • Incremental Markdown streaming: adds ResponseParser.needsPreScan, container guards, ResponseParser.parseIncremental prefix caching (3,755 B cached on a 4 KB mixed answer), and single-flight parseDispatcher.
  • Localized unsaved banner & 127-key parity: moves the unsaved-answer notice under FailureToken.ANSWER_NOT_SAVED (failure_answer_not_saved), bringing values/ and values-in/ to 127 matching keys with zero missing or extra.
  • TalkBack order & code-block scroll cue: enforces top-to-bottom Menu -> Reader -> Footer traversal (TalkBackTraversalOrderTest) and adds a conditional horizontal-pan edge fade to code blocks (CodeBlockPanCueTest).
  • Workflow & CI gates: signed release builds gate keystore decode on ktlintCheck, testDebugUnitTest, lintDebug, and RELEASE_NOTES_0.3.0.md preflight; branch protection requires both jvm and instrumented.
versionCode
16
size
3,779,197 B
sha256
d94a5af3755b1c3d86257525cd643042db4cf64d7f755cbcdcab5ea23e040ca2
certificate
CN=NiroWear Release (0dc50fc0…86543e)
CheckResult
JVM unit tests315 passed, 1 skipped (316 tests across 51 suites, 0 failures; opt-in live smoke skipped); post-cut main runs 316 passed, 1 skipped (317 tests / 51 suites)
ktlint & lintDebugktlint 0 violations; 0.3.0 lintDebug 0 errors, 1 warning (VisibleForTests resolved on post-cut main: 0 code warnings)
Wear OS 5 AVD (466 x 466)11/11 closeout classes (19/19 tests) + 10/10 CI smoke; v0.2.1 -> v0.3.0 cold upgrade 0 FATAL; cold median 549 ms, warm 37 ms, scroll 2.92% jank (377 frames)
5,000-msg migration & tortureRoom v2 -> v3 migrated 200 convs / 5,000 msgs in 286.48 ms; search P50 0.53 ms (P95 4.15 ms); History 18-swipe scroll 2.23% jank (494 frames); 4,485 B torture fixture 6.09% jank on SwiftShader debug

Physical Xiaomi Watch 2 hardware checks (battery %, thermals above status 0, TalkBack audio, real Gboard dictation/taps, phone cert click-through #28, and v0.3.0 watch release timings #65/#89) were skipped for this emulator-first cut.

0.2.2 2026-11-17

Stop button centering, Indonesian provider screen, and TextFieldValue preservation

Measured on the physical Xiaomi Watch 2: the Stop label sat at Rect(189,344,243,380) inside a button at Rect(161,314,305,410), 17 px left of center due to Compose Material 3 icon padding. Using a full-width centered label aligned it to dx = 0, dy = 0 (StopButtonCenterTest).

  • Full TextFieldValue retention: composer and edit body keep selection and composition state after Gboard was measured passing composition=(0,2). Issue #62 stayed open because lost-word reproduction failed under real taps.
  • End-to-end Indonesian provider UI (#66): changed Tambah compatible to Tambah kompatibel and moved provider hints into resources (125 keys per locale in 0.2.2).
  • Hardware & release verification: watch per-class pass with pm clear completed 38 of 45 classes (4 teardown crashes tracked under #84 replacing #50). Debug cold start measured 4375.5 ms median (earlier release note wrote 4373 ms; 4311, 4345, 4406, 4619 ms), hardware scroll 761 frames / 1.18% jank, 20-min stress +3.2 MB PSS at Thermal Status 0.
versionCode
15
size
3,761,661 B
sha256
1ba0fa8c…802322771
certificate
CN=NiroWear Release (0dc50fc0…86543e)
0.2.1 2026-11-15

Concurrent pairing listener & replay-safe compare-and-set

Moved pairing TLS handling onto per-request threads capped at 8 in-flight with a 32-slot accept backlog and compare-and-set single-use consumption, reducing browser delay behind 8 idle preconnects from 16,018 ms to 2,033 ms.

  • Dependency update: androidx.datastore:datastore-preferences 1.2.1 to 1.3.0.
  • Measured checks: JVM 283 / 283 across 44 suites, ktlint 0, lint 0 issues; watch v0.2.1 cold-start median 723 ms (5 runs).
versionCode
14
size
3,702,157 B
sha256
56974449…749cb6d9
0.2.0 2026-11-08

Per-row tables, 24-line code chunks, and complete UI localization

Removed the 40-row table cap by emitting one lazy item per table row and per 24-line code chunk, fixed eight protocol and state bugs, resolved four accessibility dead stops, moved all 89 initial strings into EN/ID resources, and moved pairing key generation off the UI thread.

versionCode
13
certificate
0dc50fc0…543e
CheckResult
JVM unit tests269 / 269, 0 failures, 43 suites
Instrumented (Wear OS 37 AVD)66 tests, 3 failing (pairing phone #28, rotary #27, pre-existing #34)
0.1.2 2026-11-07

Advisory validation and non-blocking Save

Save no longer requires a live network round-trip; profiles save behind captive portals or offline endpoints and surface credential failures at send time. First audited execution of the 66-test instrumentation suite corrected an older unverified "48 / 48" claim.

versionCode
12
certificate
0dc50fc0…543e
0.1.1 2026-11-06

CI-signed release key and Keystore fault isolation

Moved release signing to .github/workflows/release.yml under CN=NiroWear Release, isolated transient Keystore lookup errors from wiping sibling keys, preserved failed edits and Stops cleanly, and refined Gemini/Anthropic non-2xx error mapping.

versionCode
11
size
3,621,253 B
sha256
0ba7ddefd7ca51528c0d3083b23bd7ee9221715a017cd7058fa8875efb30b207
certificate
0dc50fc0…543e
0.1.0 <= beta.1 2026-10-10 .. 11-03

Foundation lineage (debug-class signing identity)

Initial public cuts from beta.1 (25,994,739 B unstripped, SHA-256 25b091753743c5b439bb1413525ddef9f69a28d81bd7dae9773013e32605fdb7) through 0.1.0 (versionCode 10, 3,609,553 B, SHA-256 319ae1cfbc6ee738f0b5b8b4c185f1ab8ebf3718a2b3d2fc43ab612d51934d71), adding the Thread launcher mark (beta.4), LAN ECDH key pairing (beta.5), native JLaTeXMath typesetting with 30 bundled fonts (beta.6), and bounded stream parse memos (beta.7).

Releases 0.1.0 and earlier carried CN=Android Debug (7d4e6e99…abe3) and require uninstalling before upgrading to 0.1.1 or newer.