Skip to content

Releases

kMemo v0.3.3

Choose a tag to compare

@github-actions github-actions released this 22 Nov 12:39
v0.3.3
53ea428

✨ New

  • [All] The last sync date and time on the home screen: pulling the list down now shows, while it is held, when the last sync ran. The card goes away when the list is released or while a sync is running, and can be turned off in Settings, next to the sync log.
  • [All] Danger zone in the settings: the end of the settings page now has two destructive actions, marked in red and confirmed with an explanation of what each one does. "Delete all notes" removes every note from this device, including the archive and the trash, without touching the server: notes that were already synced stay there and come back on the next sync. "Delete all app data" clears the notes, the sync configuration and the local caches and puts every setting back to a fresh install.

🐛 Fixes

  • [All] The sync progress card floats over the page in the sync settings: it used to sit in the Scaffold's bottom bar, on an empty strip, so the translucent card read as a flat rectangle and the list changed height when it appeared. It now floats over the list, exactly like the one on the home screen.
  • [All] The caret no longer skips a word at the end of a line: the note body is drawn twice (the visible underlined text and the transparent field that holds the caret), and the field keeps a few pixels for the caret itself. A word that fit exactly in those pixels was wrapped in the field but not in the visible text, so moving the caret jumped to the next line while the word was still drawn on the previous one. The visible layer now reserves the same space, so both wrap on the same words.
  • [All] The note search marks every match while you type: typing in "Find in note" only moved the caret to the first result, so the body showed nothing and the counter was the only clue. Every occurrence is now tinted as the query is typed, the one the arrows are on in a stronger colour, the caret stays in the search field, and Enter or the arrows move between matches without taking the focus out of the field. A word committed by the keyboard is searched too, so the marks always belong to the word in the field.
  • [All] Typing in the note search keeps the keyboard composition: the editor search jumped to the first match on every keystroke and moved the focus to the note, which finalised the first character and made the field unusable for languages that need conversion, such as Japanese. The matches are now searched after a short pause, never while the keyboard is still composing, and the jump happens on Enter or with the arrows. Reported with Japanese input in issue #2.

kMemo v0.3.2

Choose a tag to compare

@github-actions github-actions released this 21 Nov 19:55
v0.3.2
a902b38

🐛 Fixes

  • [All] Tombstones follow the encryption setting: the file that records a permanent deletion is encrypted like a note, but one written while the backend had no passphrase stayed in plain text when encryption was enabled later. Switching backend, or enabling encryption, now marks them for rewriting, so an encrypted folder ends up with no plain-text tombstone.
  • [All] A folder with notes this device never read is no longer overwritten silently: switching backend or folder, or restoring a database, leaves every note without its sync bookkeeping, and the sync used to replace the remote copies without reading them. When the folder held encrypted notes and this device had no passphrase, that published the local notes in plain text over the encrypted ones. Those notes are now left alone, the home screen asks for confirmation, and the remote copy is read before it is replaced: an encrypted folder asks for the passphrase and the replacement is written encrypted, and a copy that cannot be decrypted is never overwritten.
  • [All] The encryption switch follows the folder: when a sync adopted the encryption of the folder (it asks for the passphrase for a downloaded note), the switch in the sync settings stayed off until the page was reopened. It now follows the backend after a sync, on kDrive and WebDAV.
  • [All] An edit made on another device now reaches every device (kDrive): the sync used the file's updated_at as the revision. kDrive keeps that timestamp for the file metadata and only moves revised_at when the content changes, so every device kept the revision it had recorded, planned nothing to inspect and never downloaded the edit: a note edited on phone B stayed unchanged on phone A while both logs reported "0 upload, 0 inspect". The revision is now revised_at, and the notes synced before this update are read once to replace the value stored by the old version. Reported with the sync log in issue #1.

📦 Distribution

kMemo v0.3.1

Choose a tag to compare

@github-actions github-actions released this 16 Nov 10:50
v0.3.1
1fc6834

🐛 Fixes

  • [All] Editing a checklist no longer creates conflict copies of your own notes: every tap saves the note, and a save wrote the whole row from the copy the editor had loaded. When a sync cycle finished an upload in between, it had just recorded the timestamp of the file it wrote, and the editor's save put an older one back. The next cycle then compared the remote file with that older timestamp, saw both sides as changed and saved a duplicate of your own version, titled "(Conflict)": one per tap while the sync was running. A local edit now leaves the sync bookkeeping untouched.

kMemo v0.3.0

Choose a tag to compare

@github-actions github-actions released this 15 Nov 23:15
v0.3.0
04be7ab

✨ Features

  • Linux desktop app: kMemo now builds and runs on Linux (flutter build linux --release) with the notes, the editor, search, archive/trash, link previews, .docx export and both sync backends. The Android widget section is hidden there, and sharing falls back to the clipboard because the desktop has no share sheet.
  • Portable AppImage for every release: the desktop build is packaged as a single kMemo-<version>-x86_64.AppImage (about 18 MB, no installation and no root), attached to the GitHub release. linux/package-appimage.sh builds the same file locally.
  • Sync merges each note instead of overwriting it: the app now compares what changed on each side before deciding. A note edited only on this device is uploaded, a note edited only on the other device is downloaded, and a note edited on both sides keeps both versions: the local note stays where it is and the remote version arrives as a separate note titled "(Conflict)" (localised). Before, the sync blindly overwrote the other side's copy, so editing the same note on two devices silently lost the work of one of them.
  • Conflict copies never inherit the original's remote file: a copy gets a new identifier, so deleting it can never remove the original note from the server.

🐛 Fixes

  • Timestamps are stored in UTC: notes were saved with a local time and no offset, so a phone in UTC+1 and a server in UTC wrote values that could not be compared. New payloads always carry the offset; notes written by older versions are still read correctly.
  • No more needless re-uploads after a download: a downloaded note was always marked as needing an upload, which created a new version of the same note on every sync (and counted against the drive quota). It is only re-uploaded when the remote copy was written with a different encryption setting, which is what happens after encryption is enabled.
  • Duplicating a note no longer shares its remote file: the copy inherited the original's remote identifier, so deleting the copy deleted the original note from the server.
  • One-time re-read after the upgrade: notes that were already synced are checked once against the server after updating, so an edit made on another device before the upgrade is not lost.
  • A sync that cannot read a note now says so: the notes that cannot be decrypted (missing or wrong passphrase, damaged file) were only written to the log, so a background sync could leave them out of sync without any sign. The home screen now shows a warning with the count and a shortcut to the sync settings; it disappears on the next sync that reads them.
  • A rejected upload is no longer retried: an HTTP 4xx (wrong password, wrong destination folder) cannot succeed on a retry, but the sync repeated every such request three times with a growing delay, which made a misconfigured folder look like an extremely slow sync (about six seconds per note). Only timeouts, rate limits and server errors are retried now.
  • One edit no longer creates several conflict copies: when a note was edited while a slow sync was running, the debounced cycle and the running one could both plan from the same state, both see the same remote version as a conflict and each save its own copy. A sync that starts while another is running now joins it, and the remote version is recorded as handled as soon as the copy is saved, so a failed upload followed by another inspection cannot duplicate it either.
  • Conflict copies follow the app language: with the language set to "system", the copy title used the English suffix even on a Portuguese screen, so the duplicate appeared as "… (Conflict)". The suffix now follows the system language unless a language was picked in Settings.
  • "Sync now" is never skipped: the manual sync now waits for a cycle that is already running and then runs on its own, instead of joining it and losing the forced pass.
  • Downloaded notes no longer duplicate their content: a note pulled from the server kept the blocks already stored and added the downloaded ones next to them, so the body appeared twice after every download (and multiplied on the next ones). The download now replaces the note's block set, which also applies a block deleted on the other device.
  • Cloud export follows the configured backend: the .docx export entry was hardcoded to kDrive, so a WebDAV-only setup still showed "Copy to kDrive" and every attempt failed with "kDrive not configured". The action now uses the backend sync is configured with, in the note menu and in the multi-selection menu, and reads "Copy to the cloud" when no backend is configured (the warning keeps the shortcut to the sync settings).
  • Safer export file names: the note title is sanitised before it becomes a file name, so /, \, : or ? can no longer create a subfolder or escape the notes folder on a WebDAV server.
  • A locked keyring no longer closes the app: the token, password and passphrase are read at startup, and on Linux (desktop keyring) a locked or missing keyring threw before the notes screen existed. The app now opens without sync, and the sync settings explain that the credentials could not be stored instead of failing silently.
  • Pull the note list down to sync: the home list is now a pull-to-refresh surface. It runs the same manual pass as "Sincronizar agora" and reports the result ("4 notes synced", "Everything is up to date", or the error). With no remote storage configured it says so and offers the settings instead of doing nothing.
  • Colour, background and archive changes now reach the other device: they were saved without marking the note as changed and without refreshing its timestamp, so the other device compared the payload with the one it already had, answered "nothing to do" and kept the old look until the note was edited for another reason. They now behave like pinning.
  • Deleting a note from the trash now deletes it everywhere: a permanent deletion used to remove the remote file, which was invisible to the other devices — one of them still had the note, saw "no remote copy" and uploaded it back, so the notes reappeared after the next sync. The deletion is now published as a tombstone in the note's own file, and every device deletes the note instead of reviving it. On kDrive the content stays recoverable in the version history. The tombstone also wins over a device that still has an old copy and uploads it again.
  • An encrypted folder is no longer rewritten in plain text: a device configured without encryption (the default) that pointed at a folder of encrypted notes could read them with the passphrase the app asked for, and then uploaded every one of them back with the encryption off — the notes became plain text on the server. The app now turns encryption on for that backend, using the passphrase that just decrypted the notes, and leaves the remote files as they are. A first sync against an encrypted folder reported twice as many notes as the library held; the count is now the number of distinct notes.
  • The passphrase typed to read a note is kept: it was used for the download and then discarded, so the next upload was refused by the encryption guard — silently, through the automatic sync — and the note never left the device.
  • Development builds are downloadable: every push to the working branch now produces an AppImage and an arm64 APK as workflow artifacts (signed with the release key, so the APK installs over the published app and keeps the notes). They are not releases.
  • Sync log in Settings: a new entry copies what the sync decided (counts, which note was uploaded/downloaded/refused and why, no note content and no credentials). Release builds print no log at all, so this is the only way to diagnose "the note did not reach the other device" from the app itself.
  • A blocked sync is visible: when encryption is on and the passphrase is missing, the home screen says so instead of only logging the refusal.
  • Desktop notes live in the app's data folder: on Linux the database was created as ~/kmemo.sqlite (the documents folder is the home directory when XDG_DOCUMENTS_DIR is unset), which left a stray database next to the user's files. It now goes to ~/.local/share/com.marotoweb.kmemo/ and an existing file is moved there on first start. Android is unchanged.
  • Comfortable line length on wide windows: the note list and the editor are capped at 860 px and centred, instead of stretching a single card across a 1100 px desktop window.

✨ Improvements

  • Sync is the first card in Settings: configuring the remote storage is the action most people open that screen for, so it now sits above appearance, language, editor and widget options.
  • The exported document is explicitly not encrypted: the .docx bypasses the note payload, so it stays a plain file even with encryption enabled; the confirmation message now says so when the backend has encryption on.

kMemo v0.2.1

Choose a tag to compare

@github-actions github-actions released this 14 Nov 16:23
v0.2.1
4b3ea33

✨ Improvements

  • Store description updated: the F-Droid listing now presents WebDAV as an equal backend to kDrive (any WebDAV server, including self-hosted ones) and states that notes are never uploaded in plain text while encryption is enabled.

🐛 Fixes

  • Cleaner WebDAV form: removed the explanatory hint under the server URL field. The URL keeps working with or without a scheme (HTTPS is assumed, an explicit http:// is kept for local servers), so the line only added noise.

kMemo v0.2.0

Choose a tag to compare

@github-actions github-actions released this 14 Nov 11:42
v0.2.0
ed31e23

✨ Features

  • WebDAV sync: remote sync now works with any WebDAV server (Nextcloud, ownCloud, Synology, self-hosted, …) besides kDrive. The server URL needs no scheme: HTTPS is assumed (an explicit http:// is kept for local servers). Notes use the same JSON payload, so they can be moved between backends; switching backend re-uploads the whole library, and activating one backend removes the other's configuration (token, server, credentials and passphrase). Encryption, passphrase handling and conflict resolution work exactly as with kDrive. WebDAV has no version history, so "Clear old versions" remains kDrive-only.

🐛 Fixes

  • Home widget updates: the payload is now built with one block query instead of one per note, updates that arrive while another build is running are coalesced, and the rebuild waits 300 ms after the last change instead of running on every keystroke. Before, typing rebuilt the widget dozens of times per second (invisible, since the widget is only seen when the app is in the background) and two overlapping updates could leave the widget showing stale data.
  • Archive screen: clear wording and a delete swipe: the three-dot menu option that moves the selected notes to the trash was labelled "Delete permanently", even though the notes stay recoverable in the trash. It now just says "Delete". Archived notes can also be swiped to the left to move them to the trash, with an undo action — before, only the unarchive swipe existed.

kMemo v0.1.19

Choose a tag to compare

@github-actions github-actions released this 14 Nov 07:48
v0.1.19
e1d767e

🖼️ Store listing

  • New screenshots: the store listing now shows six screenshots for each language (Portuguese and English), taken with neutral demo notes: the home screen with pinned and coloured notes, the text editor, a checklist with struck-through items, a note with a background image, the settings screen and the home screen widget. The previous images were taller than the 9:16 ratio accepted by F-Droid, so the store could not display them.

kMemo v0.1.18

Choose a tag to compare

@github-actions github-actions released this 14 Nov 00:05
v0.1.18
d8f3626

🐛 Fixes

  • Notes could be uploaded without encryption: with encryption configured but the passphrase not loaded (the sync settings had been saved once with the passphrase field empty, which stored an empty passphrase and looked like "no passphrase" on the next start), a sync uploaded the notes in plain text — the encryption check only ran before the download, never before the upload. Uploads are now refused in that state.
  • Encryption can no longer be bypassed: saving the sync settings with the passphrase field empty keeps the saved passphrase instead of overwriting it with an empty one, an empty passphrase never enables encryption, and an upload fails instead of writing a note in plain text when the passphrase is missing. Restoring the passphrase re-uploads every note encrypted; use "Clear old versions" afterwards to remove the plain-text history.
  • No secrets in the log: the kDrive token was printed on startup, and the sync settings logged the token and passphrase lengths. Those lines now only say present/empty, and release builds no longer write any app log at all.
  • Trash keeps the remote note: sending a note to the trash no longer deletes its .json from kDrive. The note is uploaded flagged as being in the trash, so other devices show it in their trash too; the remote file is deleted only when the note is permanently removed from the trash.
  • kDrive sync no longer duplicates notes: updating an existing note sent a file_id that the kDrive API rejects when combined with file_name/conflict (HTTP 422), so every sync fell back to creating a new remote file and left the previous one orphaned — the origin of the "note not found" errors when deleting. Existing notes are now overwritten by name in a single request with conflict=version.
  • Shared text without a checklist stays plain text: text shared from another app only becomes a checklist when it contains real markers ([ ], [x], - [ ], * [X]). Anything else opens as paragraphs, and a line without a marker inside a checklist continues the previous item instead of creating an empty checkbox.
  • Red screen after swiping a note: archiving or trashing a note no longer throws "A dismissed Dismissible widget is still part of the tree". The card now disappears when the list rebuilds after the note is saved, instead of being dismissed before it is removed. The archive screen (unarchive swipe) uses the same wrapper.
  • Scrolling no longer triggers the swipe: a diagonal up/down scroll used to grab the note card and reveal the archive/trash action, and a fast fling could even run it. The card now takes the gesture only when the finger moves clearly sideways, so a vertical or diagonal scroll always scrolls the list.
  • Easier swipe actions: a swipe now triggers at 35% of the card width instead of 90%, which was hard to reach on a long note card (walking the thumb across more than half the screen). The icon behind the card is dimmed until the drag is far enough, so it is clear when releasing will act. A short or fast fling still does nothing.
  • Open search stays in sync with the notes: archiving, trashing, restoring or editing a note while the search is open now refreshes the results right away. Before, the results were a snapshot taken when the query ran, so a note that had just been archived or deleted stayed in the list until the user typed again (and a restored or edited note was missing from it).
  • Sort button stays in place: the sort icon keeps the same position when the search field opens; the close button now sits before it.

✨ Improvements

  • Clear old versions: each edit keeps the previous content as a version on kDrive, which is useful to recover an older note but also keeps the text as it was written (including plain text saved before encryption was enabled). Settings → Sync now has a "Clear old versions" action that deletes that history for every note in the selected folder and keeps only the current version. It is explicit, confirmed and irreversible.

🔧 Internal

  • Dead code removed: unreferenced helpers in the database, provider and kDrive layers, the old BlockExtension leftover, eleven unused strings, three widget drawables that no layout referenced, the docx_template and cupertino_icons dependencies (never imported) and the unreferenced old_icon.png.

kMemo v0.1.17

Choose a tag to compare

@github-actions github-actions released this 11 Nov 20:54
v0.1.17
e1f9427

🐛 Fixes

  • Note reopened on every start after a widget tap: the note uuid queued by the widget is now consumed as soon as the note opens and cleared when the app leaves the foreground, instead of surviving in SharedPreferences and reopening that note on the next start.
  • Long-press selection: long-pressing a note card without dragging now selects it for multi-selection again. Selection is detected from the reorder callbacks, because the card widget is unmounted as soon as the delayed drag starts and a pointer listener on it never received the release.
  • Accidental selection while scrolling: scrolling over note cards no longer selects the card under the finger.
  • Scroll stutter and jumps: note cards now render their body text and link previews synchronously from preloaded caches. Previously every visible card ran a SQLite query for its blocks and loaded its URL preview asynchronously, so the list jumped when a preview appeared and stuttered while scrolling.
  • Accidental archive/restore while swiping: a swipe only acts after the card is dragged almost the full width (90%). A short or fast swipe no longer triggers the action; the home and trash screens share the same guard.
  • Readable snackbars in dark mode: all snackbars use theme-aware text and action colors, so the "Undo" action is no longer amber on a light background.
  • Link preview card contrast: the preview card now uses the theme surface colors for its title and domain, so the text stays readable over a note background image in light mode. Links in the note body use a lighter blue over background images.
  • Preview from the card menu: the three-dot menu on a link preview card now includes "Preview", which re-downloads the metadata and restores a removed preview.
  • Widget card spacing: the widget reserves a single title line (instead of two) and uses tighter line heights, so short and long notes no longer show a large empty area under the text.
  • Widget background contrast: the widget window now uses #212121 (the dark home screen background), a color that is not in the dark card palette, so neutral #1E1E1E cards no longer blend into the widget background.
  • Widget scroll jumps: each card height now has its own XML layout and view type, so the ListView never recycles a view between different heights. On Android 12+ the widget now passes the whole collection inline with RemoteCollectionItems, removing the asynchronous loading placeholder that still caused a jump when an item loaded with a different height; card backgrounds use a tinted rounded shape instead of a per-item bitmap.
  • Widget reload while scrolling: while the app is in the background the widget payload is frozen (the JSON is not rewritten and the widget is not notified), so background sync/edits cannot reorder or reset the list while the user is scrolling the home-screen widget. The latest data is applied when the app returns to the foreground. The payload also carries a version hash, so a launcher-initiated update with unchanged data no longer calls notifyAppWidgetViewDataChanged and keeps the scroll position. Widgets are rebuilt after an app update that changes the item layout.

✨ Improvements

  • Swipe actions: on the home screen, swiping a card to the right archives it and swiping it to the left moves it to the trash. Both show a SnackBar with Undo.
  • Unified accent color: switches, selected segments and buttons use the same vivid amber in light and dark mode. Text and outlined buttons use a darker/lighter amber where needed to keep the contrast readable.
  • Widget transparency: Settings has a new Widgets section with two transparency sliders for the widget window background and the cards (0% = fully opaque, 100% = fully transparent). The window background is now a separate layer, so changing its transparency does not affect the cards, and the rounded corners are preserved. The values are stored locally and applied to the native widget; rapid adjustments are debounced (300 ms) so the widget is rebuilt once after the value settles.

🔧 Internal

  • Block preview cache: all non-deleted blocks are loaded in a single query whenever the note list changes and served from memory to the cards; no database access happens while scrolling.
  • Link preview cache: cached link previews and the per-note removed-URL sets are preloaded into memory at startup, and fetchAndCache/saveRemoved keep them up to date.
  • Single-query preview lookup: home cards no longer open a FutureBuilder per card for blocks or URL previews.
  • Shared snackbar helper: a single buildAppSnackBar() helper builds every snackbar with theme-aware colors.

kMemo v0.1.16

Choose a tag to compare

@github-actions github-actions released this 08 Nov 22:05
v0.1.16

✨ Features

  • Home sorting: choose to sort notes by last modification, creation date or a custom order, from a new sort button in the app bar. The date modes support ascending/descending order.
  • Search notes: a fully rounded search field replaces the app bar title and filters notes by title and content as you type.
  • Pinned notes: pin/unpin notes from the multi-selection bar or the note editor. Pinned notes always stay at the top of the home list and of the native widget (marked with 📌).
  • Custom order (drag & drop): in custom-order mode, select a single note and drag it vertically to reorder the list. Pinned and non-pinned notes form separate sections.
  • More background images: new backgrounds bg_2–bg_5, plus support for PNG, JPEG and WebP files dropped into assets/backgrounds/ (no code change needed). A dark scrim keeps the text readable over both light and dark images.
  • Smaller background assets: bg_1 is now a JPEG (1.25 MB → 177 KB), saving about 1 MB in the APK.
  • Search highlighting: while searching on the home screen, matching words in note titles, body text and checklist items are highlighted with an amber background.
  • Hybrid drag gesture: a single long-press + drag reorders any note (auto-switching to custom order when needed); a long-press released without dragging starts multi-selection. Dragging is available in all sort modes.
  • Transparent drag proxy: the dragged note keeps its rounded corners with no dark rectangular background behind it.

🔧 Internal

  • Database schema v5: adds isPinned (synced across devices) and sortIndex (local manual order) to notes, with an automatic migration.
  • Shared ordering rule: the home screen and the native widget use the same sort logic.