Repository navigation
Releases
v2.21.1
Added
Fixed
- The release image no longer ships the FOSSA CLI. The FOSSA step runs only on
mainand downloads its 148 MB binary into the build folder;.dockerignoredid not exclude it, soCOPY . .put it into everylatestand version-tagged image. Those images were 721 MB on disk and 205 MB compressed, against 287 MB and 74 MB fordev. - README footprint figures re-measured on 2.21.0.
v2.21.0
Security
- Imported HTML no longer makes the browser fetch anything: an imported page kept its images as Markdown images, and opening the note made the browser request their addresses. The Content-Security-Policy stopped requests to other hosts, but paths on the LucID host itself were requested. An imported page is now parsed inertly (
DOMParser: no script runs, nothing loads) and everything that could load something when the note is opened is removed before conversion: images, picture sources, video, audio, frames, objects, embeds, stylesheet links, SVG, canvas, image maps and forms. Every attribute is dropped except table spans and alignment, and links survive only as absolutehttp(s)ormailtoaddresses, which the browser follows on a click and never by itself.
Added
- PDF and PowerPoint import:
.pdfand.pptxfiles now import, converted to Markdown in the browser by anydoc (WebAssembly, MIT) before the note is encrypted, like every import. The converter is 6.7 MB, served from your own host, and fetched only the first time a file that needs it is imported, never with the page. A PDF made of scanned pages has no text to extract and is skipped with that reason. Some PDFs need far more browser memory to convert than their size suggests: of six test PDFs, five peaked at about 0.3 GB for the whole browser and one, 508 KB, at about 1.7 GB. That memory is spent by the browser's JavaScript engine optimizing the converter's code, which a web page cannot switch off, and a browser short of it closes the tab; the next entry covers what LucID does then. - An import the browser tab did not survive is reported: before each file is converted, its name and size are noted in the tab's session, and removed once it is done. If the browser closes the tab mid-conversion, reloading the tab reopens the vault and the import summary names the file, with Choose files again… for the rest. The conversion is not retried by itself, since the same file stops the tab the same way.
Changed
- Word and CSV import rebuilt on anydoc, measured against real documents from the Govdocs1 corpus and European open-data portals:
.docwas never parsed: mammoth reads only.docx, so a.docfile fell through to its raw bytes and became a note of binary garbage, thousands of broken characters per file. It now converts like any Word document..docxtables were flattened into one paragraph per cell (a document with 11 tables and 69 rows imported with none), and images were inlined as base64, so a 2.5 MB file with 20 images became a 57 MB note. Tables now import as tables, and images are not embedded..csvwas split on every comma and decoded as UTF-8 only, so semicolon-separated files, the usual format wherever the decimal separator is a comma, became a single column, and ISO-8859 text lost its accents. The separator and the encoding are now detected from the file itself, not from the browser's language.
- Imports are saved file by file: an import used to write the vault once, after the last file, so a tab that stopped on file 7 of 10 lost files 1 to 6 as well. Each note is now saved as soon as its file is converted.
- Documents convert in a background worker: Word, PowerPoint, PDF and CSV are converted in a Web Worker started for each file and closed when it answers, so the page stays responsive during an import and no file's conversion memory outlives that file. Converted in the page itself, the memory of one file's conversion stayed behind for the next.
- HTML import keeps the page's text and nothing else: the page title, all CSS and all JavaScript landed in the note as text, 76% and 81% of two test pages. They are removed now, with everything listed under Security, and tables convert through Joplin's GFM plugin for turndown. Preformatted text (
<pre>) becomes a code block, so aligned columns stay aligned, and a code block keeps its language. The encoding is read the way a browser reads it: a byte-order mark, else the page's declared charset, else UTF-8, else windows-1252. - The import summary says why a file was skipped: password-protected, scanned pages with no text, damaged or incomplete, too large or complex to convert, or the converter could not load. A Word file mammoth could not read used to be imported as its raw bytes instead.
- Content-Security-Policy:
script-srcadds'wasm-unsafe-eval', which lets the page compile the converter's WebAssembly. It does not alloweval()ornew Function(), and the allowed script sources are unchanged.
Removed
- mammoth: replaced by anydoc for
.docxand.doc. The page no longer loads its 405 KB on every visit.
Fixed
- Imported note titles no longer show Markdown: a note's title comes from its first heading, and a heading written as
**Title**appeared in the tree with its asterisks. Emphasis markers and escape backslashes are now left out of the title; the note itself is unchanged.
v2.20.0
Security
- Writing to a vault now requires its passphrase:
POST /api/storereplaces the whole vault, and it accepted any well-formed request from anything that could reach the URL. The same-origin check stops browsers on other sites, not a script, which sends noOriginheader, so one request carrying two empty lists through the reverse proxy emptied every note and folder; reproduced on a dev instance before the fix. The browser now derives a second key from the passphrase (PBKDF2 over the vault salt plus a fixed label, unrelated to the encryption key, non-extractable) and every write carries an HMAC-SHA256 token made with it. The server stores only the token's SHA-256 aswriteAuth, answers any other write with 401 and leaves the file untouched, and no longer returnswriteAuthwhen the vault is read. A new vault records its token on its first save. A vault from an earlier version records it on the first save after upgrading, from whoever makes that save, so open it and save once right away. If your own saves are then refused, deletewriteAuthfromdata/store.jsonand save again; running an older image against the vault drops it the same way. A tab opened before the upgrade cannot save until it is reloaded, and a session saved by an older version asks for the passphrase once. Unlocking runs one extra PBKDF2 pass. Reading the encrypted vault is still not authenticated.
Added
Fixed
- The Start here note described a footer badge that no longer exists: its Shield line said the shield reports Web Crypto E2EE status and turns red without a Secure Context. That badge was removed in 2.6.0, when the shield moved into the Lock button to show the auto-lock state; the line was written after the removal, shipped in 2.12.0, and has been wrong in every release since. It now describes the shield as it is: armed, off with only the 60-minute ceiling, or red when the vault will lock within a minute. The seed note is written only into a new vault, so existing vaults keep their own copy.
- A new vault keeps the
#ideastag the Start here note points to: the starter vault ships#guide,#markdownand#ideas, the last attached to no note so the tag picker shows a switched-off tag from the first minute, and the Start here note tells the user to switch it on. Setting up the vault dropped it: the starter tag library was never carried into the app before the first save, which rebuilt the library from tags on notes alone. The library is now carried over, so a new vault keeps all three. Vaults created before this keep the tags they have.
v2.19.0
Added
Fixed
- Vendored browser libraries updated: DOMPurify 3.4.16 → 3.4.17, marked 18.0.14 → 18.1.3, mammoth 1.12.3 → 1.13.0, turndown 7.2.4 → 7.2.5; @fontsource/source-sans-3 and @fontsource/source-code-pro 5.3.0 → 5.3.1 (font files unchanged).
- Server dependency updated: express 5.2.1 → 5.3.0, which carries body-parser 2.4.0 and qs 6.17.1 and clears the three advisories
npm auditreported against 2.18.1.
v2.18.1
v2.18.0
Added
-
Import summary popover: the moment an import finishes, a popover on the footer's import glyph lists every file with its outcome: imported, or skipped with the reason on hover (unsupported file type, empty, unreadable; skipped files were previously counted but never shown). From the same popover the whole batch can be moved to any live folder or into a folder created on the spot, for the case where the right destination was noticed one drop too late. It obeys the same rule as every menu: the next click anywhere else dismisses it, and a fully successful import fades on its own after 8 seconds unless the pointer is over it (reading is not dismissing), so the user who was already standing in the right folder pays nothing. Each row carries its outcome glyph: authentic Iconsax
lin-tick-circlefor imported,lin-slashfor skipped, a circle family kept distinct from the app's square control glyphs. When anything was skipped, alin-refresh-2"Choose files again…" action reopens the file chooser for a fresh pick. -
In-app server panel: clicking the footer's cloud badge opens a floating panel anchored on it, a context-menu family member like every other panel (no backdrop, dismissed by the next click anywhere else), showing the server's live request log: the same metadata-only lines
docker logsshows, held in a 300-line in-memory ring on the server and served at/api/log, polled every 2 seconds while open (the poll excludes itself from the log it reads). Self-hosters can now answer "did my write land, when, and what did the server say" without shelling into the host. The manual sync is a Force sync control in the panel's top corner, wearinglin-cloud-change, and leaves the panel open so the write it forces appears in the log being watched: as a flush it is nearly obsolete (typing debounces, structural operations save instantly, lock and unload drain,Ctrl+Sremains), but it stays as the only retry lever after a failed write, since the design has no automatic retry. Mounting the Docker socket to read the real log was rejected for the same reason it always has been.
Fixed
- Ciphertext could leak into the tag library and multiply: a vault write that fired while the in-memory vault still held ciphertext, in the window between deriving the key and finishing decryption on unlock, encrypted already-encrypted strings a second time. Notes recover on the next save (they are rebuilt from plaintext every time), but the tag library is a union that never forgets, so
ENC:…"tags" accumulated, each unlock adding a layer. The vault now carries an explicit plaintext invariant:saveStorerefuses, loudly, unless decryption has completed since the last time ciphertext entered memory, and on every entry any remainingENC:-prefixed tag remnants are purged from the library and from notes and the repair saved. - Emptying the trash now closes the trash panel: an emptied panel had nothing left to show or act on, yet stayed open until the user clicked elsewhere.
- No horizontal scrollbar in the trash panel: a long folder or note name widened the panel's rows and, with only vertical overflow declared, forced a horizontal bar; the panel now clips sideways exactly as the sidebar tree does.
- Icon and label never disagree on a state: four rules straddled the stylesheet's two state models (content rows brighten to
--text-primaryon hover/active; controls take--accent) and painted an icon one colour and its label another. The trash row's glyph went accent while its text went primary; the view tabs used the row model on hover and the control model when active; the folder caret stayed muted while its row brightened; the import button's glyph went accent while importing and its label did not. Each now follows its own family: trash glyph and text together, view-tab hover in accent like its active state and the pills beside it, caret inheriting its row's colour once the row is hovered or active, importing label matching its glyph. Verified from computed colours with the theme's colour transitions settled; identical in all eight themes, since every theme block sets tokens only. - The import button no longer breaches the footer card at the narrowest sidebar: the comfort cluster plus the labelled import button need 14.25rem of card width, and at the sidebar's 15rem floor the card offers 13.5rem, so the button pushed 0.75rem into the card's border. The footer is now a size container and the import button sheds its text label below the fitting width, becoming icon-only exactly like the Lock button that never had the problem; the label returns as soon as there is room.
- Comfort-row glyphs no longer drift when the sidebar is resized: the footer's top row laid its buttons directly on
space-between, so dragging the divider redistributed the new width between every glyph, while the actions row below (two clusters with fixed gaps inside) held still. The comfort buttons now sit in a left cluster mirroring the actions row's shape: resizing stretches only the void between the cluster and the import corner. - Mutations render first, the vault write follows: every structural operation (delete, restore, rename, move, tag, pin, create) re-encrypted the entire vault, uploaded it whole, waited for the server to fsync, and only then redrew the tree. Deleting a handful of folders in quick succession left them all on screen until their round-trips returned, and the concurrent whole-vault uploads throttled each other (measured: three simultaneous 440 KB writes stretching to 30-43 s on a slow link). The tree now redraws from memory in the same frame as the click, and writes go through a coalescer: one in flight, at most one queued, so a burst of twenty operations costs two vault writes carrying the end state instead of twenty racing ones. The cloud badge remains the truth of persistence, exactly as it already was for typing; locking, hiding the tab and leaving the page drain any write still flying before proceeding, and the leave-warning now covers in-flight writes, not only the editor debounce.
- Import no longer reports success when the vault write failed: the batch save's outcome was swallowed, so the glyph could announce "Imported 3 Notes" while the sync badge showed the write had failed and the notes existed only in memory. The save now reports its result; a failed write shows an error state instead of a success label, and the red sync badge carries the failure as it always has.
v2.17.0
Added
- Server request log: the server now prints one line per API request to stdout — timestamp, method, path, status, duration, and for a vault write the note/folder/tag counts, the newest
updatedAtand the body size. Nothing encrypted is ever read: counts and timestamps are the fields the vault deliberately stores in clear. Until now the server printed a single startup line, so a report of "my changes were gone when I came back" could not be traced to a client that never wrote, a server that refused, or a write that carried older content than the one before it. The bundleddocker-compose.ymlcaps the log at 3 × 10 MB.
Fixed
- Locking and unlocking in the same tab rewound the vault, then overwrote the server with the rewind: the ciphertext vault fetched at page load was kept as the copy to decrypt on unlock, and nothing ever refreshed it. Every save this tab made went to the server correctly, but the moment the vault was locked — by the Lock button or the idle auto-lock — and unlocked again without a reload, the page-load copy was decrypted back into memory: every note, edit, folder and tag since the page was opened vanished from the screen. The next autosave then wrote that stale vault over the server, making the loss permanent. Anyone who kept the tab open across an idle auto-lock hit this on every unlock; a reload or a fresh tab masked it, which is why it looked like a browser or connection problem. In a tab that had just initialised the vault the stale copy was still the plaintext seed, so there the unlock failed with "Authentication error" instead. Unlock now re-reads the vault from the server before decrypting — if the server cannot be reached the lock screen says so and nothing is unlocked — the lock routine discards the snapshot, and every successful save refreshes it. Present in every 2.x release.
v2.16.0
v2.15.0
Added
- Multi-Format In-Browser Document & File Import Engine: Added client-side parsing and Markdown conversion for
.md,.txt,.markdown,.docx,.doc,.html,.htm,.xml,.csv, and.jsonfiles using vendoredturndown(v7.2.4) andmammoth(v1.12.1) libraries. Converts documents 100% in browser RAM prior to client-side AES-256-GCM vault encryption. - Authentic Iconsax Linear Vector Import Glyphs: Downloaded and registered
lin-document-upload.svg,lin-document-cloud.svg,lin-document-1.svg, andlin-document-sketch.svgfor dynamic import state transitions (idle→importing→success/error). - Footer Card Import Placement: Formatted
#btn-import-dropas a.lock-action-btnelement positioned in.footer-top-right-cornerof.e2ee-carddirectly above the Lock button.
Changed
- Documentation & Dependency Manifest Refresh: Updated
README.mdto document the 10-format in-browser document import engine, addedturndown(v7.2.4) andmammoth(v1.12.1) to the vendored browser dependencies manifest table, updated Phase 3 roadmap milestones, and credited library maintainers in Acknowledgments. - Footer Control Micro-Animations & Visual Identity: Refined
#btn-import-dropas a receptive dashed dropzone target and#btn-lock-vaultas a solid security posture action instyles.css, eliminating container box hover scaling while animating inner glyph icons.
Fixed
- File Import Filtering: Added
.jsonto#file-import-inputacceptfilter attribute inindex.htmlto allow native OS file dialog selection of JSON files. - Touch Target Accessibility: Expanded
.btn-tag-addtarget size from 20px to 24px (1.5rem) instyles.cssto satisfy WCAG 2.2 AA target size minimum requirements. - Accessibility Parity: Aligned
aria-labelwithtitleon#btn-fontsizeto include operational click region instructions for screen reader users. - Runtime Indicator Accessibility: Harmonized
#runtime-indicatorwith#save-indicatorby addingaria-live="polite"and avisually-hiddentext node for live connection status announcements. - Design System Token Architecture: Replaced hardcoded
0.625remliterals in.e2ee-cardwith canonical--space-smand--radius-mddesign tokens instyles.css. - Stylesheet Consolidation: Merged redundant consecutive CSS selector blocks for status badges and lock status components in
styles.css. - Editor Accessibility: Added explicit
aria-label="Markdown note editor"to#markdown-textareafor WCAG 2.1 AA screen reader accessibility compliance. - Accessibility & Semantic Markup: Refactored clickable status indicators (
#save-indicator,#runtime-indicator) from non-semanticdivtags to nativebuttonelements. - Stylesheet Hygiene: Removed obsolete unreferenced
.import-rowand.import-confinement-cardCSS rules fromstyles.css. - Stylesheet Utility Architecture: Consolidated scattered element-scoped visibility rules into a single global
.hiddenutility declaration instyles.css. - Import Button Drag-and-Drop State Styling: Fixed missing
.import-action-btnCSS class on#btn-import-dropbutton inindex.html, ensuring drag-over, importing, and error state highlight styles trigger properly during file drop operations. - Cryptographic Serialization Stack Overflow: Replaced spread-argument
String.fromCharCode(...payload)with 32 KB chunkedbytesToBase64serialization inencryptText(), preventingRangeError: Maximum call stack size exceededwhen encrypting files or imports larger than ~64 KB into the vault. - Import Engine State & Pipeline Alignment: Replaced non-existent
persistStore()with standardsaveStore()vault persistence pipeline, populatedstate.decryptedTitleCache, and assigned default live target folder (ensureLiveFolderId()). - Import UI State & Vector Icons: Added checkmark path to
documentDonevector SVG icon, addedisImportingInProgressre-entrancy lock, prevented synthetic click propagation from drop events, and added window-level drag/drop guards to prevent browser tab file navigation.
v2.14.0
Added
- Pure CSS Logo Animations: Added subtle vertical breathe float with gold glow pulse for the onboarding screen, and gentle horizontal sway with lateral tilt shift for the vault lock screen, with full
prefers-reduced-motionaccessibility support.