diff --git a/PREVIOUS_HISTORY.md b/PREVIOUS_HISTORY.md index 1628b89..253ef6d 100644 --- a/PREVIOUS_HISTORY.md +++ b/PREVIOUS_HISTORY.md @@ -18,6 +18,19 @@ the release falls back to a plain "Release " description. --- +## v0.4.0.0 — 2026-09-18 + +New in this release: **Import 3rd Party Notes**. Settings → Backup & Restore +now has an "Import 3rd Party Notes" button that ingests a Carnet / QuickNote +`.zip` export — a single archive bundling one `.sqd` per note — straight +on-device, with no pre-conversion step. Rich-text bodies are flattened to plain +text; note colours, keywords (imported as tags) and links carry over; to-do +lists become native checklists; and image attachments are imported +(auto-generated preview thumbnails are skipped). Import is additive — existing +notes are preserved and imported notes get fresh IDs. + +--- + ## v0.3.8.1 — 2026-09-17 > **⚠️ Reinstall required — please export a backup first.** This build is signed diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 62e272b..e7308f8 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -28,22 +28,20 @@ android { applicationId = "org.incido.app" minSdk = 26 targetSdk = 35 - // v0.3.8.1: EMERGENCY hotfix — re-release of v0.3.8.0 with NO app-code - // changes (EMERGENCY slot non-zero = out-of-band hotfix). - // - Why: the release pipeline kept failing to publish builds. The - // release job now talks to the Gitea API over the LAN - // (http://192.168.8.17:3000) instead of the Cloudflare-fronted - // public address, which is where the upload timeouts came from. - // - The build ran on a runner whose toolchain/keystore cache was - // empty, so CI minted a NEW signing key (release.yml mints one - // when /var/lib/gitea-runner/work/release.jks is absent). Existing - // installs therefore CANNOT be upgraded in place — Android refuses - // the APK as a signature conflict, so users must export a backup, - // uninstall, and reinstall (allowBackup=false, so an uninstall - // takes their notes with it). Warning shipped in the release notes. - // - versionCode monotonic +1 from v0.3.8.0 (33). - versionCode = 34 - versionName = "0.3.8.1" + // v0.4.0.0: MINOR feature release — in-app import of 3rd-party + // notes. Settings → Backup & Restore gains an "Import 3rd Party + // Notes" button that reads a Carnet / QuickNote `.zip` export (a + // single archive bundling one `.sqd` per note, where each `.sqd` is + // itself a zip of index.html + metadata.json + optional data/ + // attachments) and imports every note directly on-device — no + // pre-conversion step. Rich-text bodies are flattened to plain text; + // colours, keywords (as tags) and links carry over; to-do lists + // become native checklists; image attachments are imported (auto- + // generated preview thumbnails are skipped). Import is additive with + // per-note fault isolation. + // - versionCode monotonic +1 from v0.3.8.1 (34). + versionCode = 35 + versionName = "0.4.0.0" } // --- Signing --- diff --git a/composeApp/src/main/kotlin/org/incido/compose/data/settings/ReleaseNotes.kt b/composeApp/src/main/kotlin/org/incido/compose/data/settings/ReleaseNotes.kt index 4e40d7f..1169720 100644 --- a/composeApp/src/main/kotlin/org/incido/compose/data/settings/ReleaseNotes.kt +++ b/composeApp/src/main/kotlin/org/incido/compose/data/settings/ReleaseNotes.kt @@ -25,6 +25,27 @@ object ReleaseNotes { * Append a new entry on top each release. */ val RECENT: List = listOf( + ReleaseNote( + version = "0.4.0.0", + date = "2026-09-18", + bullets = listOf( + "Import 3rd-party notes: Settings \u2192 Backup & Restore now " + + "has an \u201cImport 3rd Party Notes\u201d button that reads a " + + "Carnet / QuickNote .zip export (a single archive bundling " + + "one .sqd per note) and brings every note in \u2014 directly " + + "on-device, with no pre-conversion step.", + "Formatting is preserved as plain text: rich-text bodies are " + + "flattened, and note colours, keywords (imported as tags) " + + "and links carry over. To-do lists become native " + + "checklists you can tick off.", + "Images come across too \u2014 photo attachments inside each " + + "note are imported; auto-generated preview thumbnails are " + + "skipped, so you get one clean image per photo.", + "Import is additive: your existing notes are untouched and " + + "imported notes get fresh IDs, so you can safely pull in " + + "an archive at any time.", + ), + ), ReleaseNote( version = "0.3.8.1", date = "2026-09-17", @@ -105,24 +126,6 @@ object ReleaseNotes { "good, including attachments).", ), ), - ReleaseNote( - version = "0.3.6.0", - date = "2026-08-19", - bullets = listOf( - "Sharing a webpage to Incido (browser \u2192 Share \u2192 Incido) now " + - "creates a note with the page title on the first line and " + - "the URL below it \u2014 ready to save as-is. Fully offline: " + - "the title comes from the browser's share data, so Incido " + - "still never touches the network.", - "New in Settings \u2192 Security: \"Export encryption key\" saves " + - "the AES-256 key that protects your encrypted notes to a " + - "passphrase-protected .inckey file \u2014 your backup for " + - "device migrations.", - "\"Import encryption key\" restores that key on a fresh " + - "install, with a clear warning before the current key is " + - "replaced.", - ), - ), - // v0.3.8.1 push drops v0.3.5.1 off the "5 most recent" tail. + // v0.4.0.0 push drops v0.3.6.0 off the "5 most recent" tail. ) } diff --git a/composeApp/src/main/kotlin/org/incido/compose/ui/settings/SettingsViewModel.kt b/composeApp/src/main/kotlin/org/incido/compose/ui/settings/SettingsViewModel.kt index b6f80f3..32fc012 100644 --- a/composeApp/src/main/kotlin/org/incido/compose/ui/settings/SettingsViewModel.kt +++ b/composeApp/src/main/kotlin/org/incido/compose/ui/settings/SettingsViewModel.kt @@ -354,7 +354,7 @@ class SettingsViewModel( /** The version string baked into backup payloads and shown on * the About card. Mirrors `app/build.gradle.kts` `versionName` * — if you bump one, bump both. */ - const val APP_VERSION = "0.3.8.1" + const val APP_VERSION = "0.4.0.0" val Factory: ViewModelProvider.Factory = viewModelFactory { initializer {