Skip to content

Release v2.0.4

Choose a tag to compare

@github-actions github-actions released this 15 Sep 20:11
· 14 commits to main since this release

Architectural & Structural Refactoring

  • Module Renaming (Profile -> Settings): Executed a sweeping migration converting the feature/profile module to feature/settings. This involved overhauling the Koin DI (SettingsModule), navigation routing (NavigationDestination.Settings), Compose screen hierarchies, and localized strings to accurately reflect the system-level configuration nature of the module.

  • Legacy Artifact Eradication: Identified and safely excised 1,349 lines of dead code rooted in an unused com.example.notes legacy template module that was orphaned in androidApp/src/main/java.

  • Navigation Signature Cleanup: Stripped out unused continueReading parameters and floating lambda arguments polluting the HomeScreen and GrayMatterNavigation graphs, resulting in a leaner and strictly-typed Compose hierarchy.

Infrastructure & Security Modernization

  • Keystore Migration: Safely migrated BackupPreferences and SecurityPreferences away from Android's deprecated MasterKeys class to the modern MasterKey.Builder pattern. Specifically enforced the exact AES256_GCM key scheme during migration to guarantee 100% flawless backward compatibility and frictionless decryption for existing users' EncryptedSharedPreferences.

  • Compose UI Lifecycle: Addressed compiler deprecation warnings by replacing Divider() with HorizontalDivider() and optimizing LinearProgressIndicator to utilize lambda-based progress callbacks to reduce unnecessary UI recompositions.

UX & Workflow Enhancements

  • Automated Database Restore Lifecycle: Re-engineered the database restore workflow in BackupSettingsScreen. Upon a successful SQLite file overwrite, the app now automatically executes a programmatic task-stack restart (Intent.makeRestartActivityTask). This forcefully kills the process and guarantees that Koin singletons, SQLDelight connection pools, and memory-cached Kotlin Flows re-initialize cleanly over the fresh .db file, preventing corruption or stale state rendering.

  • UI Copy Tweaks: Refined the issue reporter button copy to "Help Us Improve".