Skip to content

v0.11.0 — Índices que não perdem nota em silêncio

Choose a tag to compare

@github-actions github-actions released this 21 Jul 11:39
· 16 commits to master since this release

Mostly repair. One of these had been quietly emptying the vault's indexes for anyone whose notes live in a synced folder.

A note that failed to load disappeared from everything

The content cache feeds backlinks, tags and search. When a file changed outside the app, the watcher dropped its cache entry and re-read it 400 ms later — and if that read failed, the entry was deleted for good. On OneDrive, Google Drive or Dropbox, a read failing now and then is normal, not exceptional. The note simply vanished from backlinks, tags and search, with no error and nothing to notice.

Worse, the on-disk index then stored empty text with a valid timestamp, so the next launch considered it up to date. The loss survived restarts.

In one real vault this showed as a note with 50 incoming links reporting 1, and a tag sidebar showing 7 tags out of 147.

  • A failed read now keeps the previous text. Stale text is visibly wrong and fixes itself; a missing note is invisible.
  • Nothing is dropped before the re-read lands.
  • The index no longer caches empty text for a note it could not read.
  • Opening a vault says how many notes could not be read, instead of saying nothing.

If you use a synced vault, reopen it once after updating — the indexes rebuild themselves.

Flashcards inside a callout

A card written inside another callout was silently discarded — no card, no error:

> [!warning] Anaphylaxis
> > [!card]- Adrenaline dose?
> > 0.5 mg IM

Callouts now nest properly at any depth, and a nested card is a card. This also fixes a plain > quote inside a callout, which used to produce unbalanced HTML.

Anki import brings the media

An .apkg is a ZIP, so the images and audio were always in there. The files a deck actually references are now copied into _attachments/, with a suffix when the name is taken, and the card text points at them. A plain text export still has no media — it never did — and the import dialog now says which of the two you are looking at.

Smaller

  • Collapsible tag strip in the sidebar; folded, it still shows the active filter
  • sort: modificado desc in a query block did nothing at all — the modification time never reached the sorter
  • Auto-save no longer rebuilds the indexes from a stale file list, and no longer clears the "unsaved" mark of a note you have already left
  • Startup bundle cut from 4.5 MB to 2.2 MB: Mermaid, KaTeX, the graph (d3) and the EPUB reader load the first time you need them

Licence

The project now carries GNU GPL v3 or later. Until now it had no licence file, which legally meant nobody could use or fork it.

Downloads

Windows installer, Linux AppImage and .deb below.