Skip to content

LightNotes v1.3.0

Latest

Choose a tag to compare

@mt1240405 mt1240405 released this 04 Dec 06:22
· 1 commit to main since this release

⚡ LightNotes v1.3.0

Note: Use v1.3A for a smoother version without the scroll bars.

Architecture, Database & Reliability

  • Room v5 Schema Hardening (MIGRATION_4_5): Removes dormant Room entities and redundant legacy columns (uuid, previewText, isDeleted, tagsCsv, etc.) plus the duplicate index_note_metadata_noteId index while preserving legacy SQLite tables non-destructively, cutting home-list PSS to 63.7 MiB (192.2 MiB peak RSS) and SQLite memory to 0.62 MiB across 2,396 notes.
  • Search, Export & Backup Fixes: Escapes FTS4 special characters (_, %, #, etc.) via LIKE ... ESCAPE '\', filters archived notes from favorites/folder/search queries, preserves CREATE outbox entries and folder unlink tombstones inside db.withTransaction, improves HeyTapImporter HTML/date parsing & deterministic IDs, and prevents duplicate-entry collisions in batch ZIP export.
  • Security & Biometrics: Uses API-aware BiometricHelper authenticators (BIOMETRIC_WEAK | DEVICE_CREDENTIAL on API 28–29, BIOMETRIC_STRONG on API 30+), locks NoteEditorActivity (exported="false"), disables cloud auto-backup (allowBackup="false"), configures HTTPS-default network_security_config.xml with local LLM exceptions, and moves Settings SAF backup I/O off the Main thread.

UI, Editor & Material 3 Upgrades

  • Static Home Header & 4-Tab Bar: Fixed non-collapsing header/search/folder bar above homeContentContainer with 4 equal-width tabs (All Notes, Favorites, Archive, Trash) plus a top-right Folders button (showAllFoldersDialog) for browsing, creating, renaming, and deleting custom folders.
  • Clamped Non-Blocking Fast Scroller (RecyclerFastScrollView): Spans cleanly from right below the static folder bar to the bottom navigation inset and clamps scrubbing to the last note without blank overscroll (0.00% list-scroll jank at 120 Hz).
  • Material 3 AI Output Modal (dialog_ai_result.xml): Upgraded to an outlined 28dp M3 MaterialCardView, inset surface container body, 48dp close target, and responsive Flow pill buttons (Copy, Append, Replace Selection / Replace Note).
  • Resolved Known Editor Issues: Supports Title + Body + Preview Find-in-Note with offsetDescendantRectToMyCoords scrolling, Archive/Trash pin guards & Trash Restore / Delete permanently actions, EditHistoryManager snapshots on all formatting actions, sequential numbered-list continuation, blank-line-spaced fenced code blocks, and unified Light / OLED Dark XML theme tokens + API 27+ navigation bar contrast.

Verification & Footprint

  • Release APK (app-release.apk): 2.54 MiB (2,658,741 bytes) — versionCode = 7, versionName = "1.3.0".
  • Unit Tests: 43/43 tests passing across all 7 Robolectric + Espresso JVM suites (BugFixVerificationTest.kt added).