Repository navigation
Version 0.2.0
🆕 Added
Notion ZIP Import
-
Secure desktop import: Added local-workspace import for Notion Markdown & CSV ZIP exports with validated in-memory archive sessions, nested pages, internal links, attachments, callouts, and per-item error reporting.
-
Notion databases: Imported CSV collections into Database V2 blocks with repository-backed records and safe source-code fallbacks for malformed data.
-
Window-close flush pipeline: The native window close is now intercepted in Rust (
WindowEvent::CloseRequested), which prevents the default close, emitsnevo://close-requested, and waits for the frontend (useAppCloseGuard) to flush pending editor content and the authoritative Y.Doc viasaveNotebefore callingallow_app_close. Prevents loss of the last edits sitting in the autosave / Y.Doc debounce window when quitting. -
Obsidian vault import: Added a complete importer that preserves folder structure, notes, links, attachments, embeds, frontmatter, tags, callouts, highlights, comments, and display math.
-
Workspace Home: Added a responsive home view with global search, quick creation, recent notes and boards, and persistent, accessible favorites.
-
Sandboxed Plugin SDK: Added the publishable SDK v2 with isolated Worker and iframe runtimes, permissions, marketplace migrations, storage, assets, editor extensions, and safe network access.
-
Database blocks: Added document-native databases with table, list, card, and chart views; CSV import; filtering and sorting; SQLite-backed storage; safe legacy migration; and large-data virtualization.
-
French, Spanish, and German: Added complete interface translations and language selection alongside English and Russian.
-
Android bootstrap: Added Tauri mobile scaffolding, touch-aware editor and onboarding behavior, mobile media loading, safe-area support, and mobile build scripts.
🛠️ Fixed
- Notion page and callout cleanup: Removed duplicate page-title H1 blocks during Notion ZIP import, moved exported callout emoji into the Nevo callout icon, and used the standard icon when no emoji was available.
- Windows bundle-size check:
build-tools/check-bundle-size.mjsnow resolves the assets directory viafileURLToPathinstead ofURL.pathname, fixing the doubled-drive path (D:\D:\...) that brokepnpm build(and thereforetauri build) on Windows. - Y.Doc persistence on save:
saveNotenow flushes the editor-owned Y.Doc (setPendingYjsFlush) on every save trigger, independent of the note-store dirty flag, so navigation and app-close saves persist the authoritative.yjsfile instead of relying solely on its 2s debounce. - Atomic snapshot writes: Note version snapshots are now written via
write_atomicinstead ofstd::fs::write, so a crash mid-write can no longer leave a truncated snapshot JSON. - Idle-autosave safety net: Added a coarse periodic flush (3 min) in
useNotePersistenceso a dirty note is never left unsaved indefinitely under thewindow-idleautosave policy, boundingnote.json↔ Y.Doc drift. - Windows atomic writes: Serialized same-process replacements to prevent access-denied errors during concurrent writes.
- Workspace data integrity: Prevented data loss and stale metadata during note, folder, graph, database, and workspace-manifest operations; database records now survive undo, cut/paste, and GitHub Sync.
- GitHub Sync reliability: Reused unchanged blobs, retried transient and rate-limit failures, skipped oversized assets safely, and included the SQLite database in synchronization.
- Security boundaries: Hardened workspace file access, plugin networking and marketplace downloads, local AI endpoints, remote image imports, LAN collaboration, and stored SVG handling.
- Imports and exports: Restored block math during Markdown/Obsidian import and made PDF preview/export reliable for large notes.
- Platform behavior: Fixed mobile workspace creation, Linux viewport scaling, Windows sidebar clipping, and stale Home recent-item timestamps.
🔄 Updated / Improved
- Extracted transaction cleanup into
documentCleanup: Moved the per-transaction asset-removal detection (collectRemovedAssetSrcs) and the deferred database-block deletion tracking out ofuseEditorCoreinto a framework-agnostic module. Behavior is unchanged (the asset scan stays gated on theonAssetSrcsRemovedcallback; database deletes stay deferred and reconciled against the live doc), and both the tricky step-replay diff and the deferral/reconciliation state machine are now unit-tested. Completes theuseEditorCoredecomposition (1167 → 903 lines). - Extracted the plugin-host runtime bridge into
buildPluginRuntime: Moved the ~110-line plugin↔host↔Tauri runtime object (capability methods gated bytypeof … === 'function') out ofuseEditorCore.initPluginHostinto a dedicated factory typed againstEditorPluginHostOptions['runtime']. Behavior is identical; the whole plugin capability surface now lives in one place instead of leaking into the editor lifecycle, and the type system enforces the contract.useEditorCoredropped below 1000 lines. - Extracted paste handling into
usePasteHandling: Moved the ProseMirrorhandlePastelogic (image short-circuit, rich HTML/Markdown handling, plain-text paragraph splitting) out ofuseEditorCoreinto a pure, unit-tested factory. Behavior is unchanged — paste behavior is read at paste time via a getter, exactly as before — and the branch logic is now covered by tests. - Extracted Y.Doc persistence into
useYjsPersistence: Moved the debounced disk-persistence lifecycle of the editor-owned Y.Doc (save timer, update handler, teardown-flush, immediate flush) out ofuseEditorCoreinto a dedicated, unit-tested composable. Behavior and teardown ordering are unchanged; the timer/handler ownership now lives in one place with its own tests (debounce/coalesce, teardown-flush, stale-doc guard,flushNow). First step of theuseEditorCoredecomposition. - Extracted
loadOrCreateYDocwith corrupt-.yjsrecovery tests: Moved the note Y.Doc load/restore/fallback logic out ofuseEditorCore.setupEditorForNoteinto a pure, unit-tested helper ineditor-core/collaboration. Behavior is unchanged (restore valid state, seed fromnote.contenton empty or corrupt bytes, degrade to non-Yjs mode only if seeding fails), but the recovery path is now covered by tests so a corrupt saved document provably cannot leave a note unopenable. - Content-authority invariant documented: Made the Y.Doc ↔
note.contentrelationship explicit at the editor setup site — the disk-backed Y.Doc is authoritative,note.contentis a derived cache thatySyncPluginreconciles on open, and both are flushed at the same save points. Prevents future changes from reintroducing silent drift. - Removed a guarded
unwrapinstart_collab_server: Replacedis_some()+as_ref().unwrap()with anif let, matching the no-panic-in-command-handlers guideline (behavior unchanged). - Collab session token transport: The embedded collaboration relay now accepts the session token via the
Sec-WebSocket-Protocolheader (marker subprotocolnevo-collab-v1) and echoes it back on a successful handshake, keeping the token out of the connection URL (which can leak into logs). The legacy?token=query parameter is still accepted as a fallback. - Rust dependency security: Updated Typst, Tauri, and transitive backend dependencies to their latest compatible releases and documented temporary Cargo Audit exceptions for upstream-constrained quick-xml advisories.
- Workspace navigation: Replaced titlebar search with a keyboard-accessible command-palette overlay and added docked or floating sidebar layouts.
- Workspace appearance: Added a curated SVG glyph set, refreshed key dialogs and Home interactions, and updated README screenshots.
- Performance and resilience: Improved large-workspace database operations, graph indexing, editor and plugin responsiveness, atomic workspace writes, and frontend bundle size.
- Mobile readiness: Separated desktop-only permissions and services from mobile builds and bundled application fonts locally.