Skip to content

v0.16.2 — Editor open crash fix

Latest

Choose a tag to compare

@SysAdminDoc SysAdminDoc released this 26 May 20:47
· 42 commits to main since this release

P0 fix — the editor failed to open at all on a fresh v0.16.1 install. Clicking Take a note (or any of the new-note affordances, including the global hotkey + tray quick-capture) blanked the entire window with no recovery.

Fixed

  • NoteEditor Rules-of-Hooks violation. useClickOutside(moreMenuRef, …) and const [dropActive, setDropActive] = useState(false) were both declared below the if (!editorOpen) return null; early return in `NoteEditor.tsx`. When the editor opened, the component called two extra hooks compared to the previous render — React threw `Rendered more hooks than during the previous render`, the error propagated past the (missing) root-level boundary, and React 18 unmounted the entire tree. Both hooks now live above the early return.

Added

  • `` around the app root. Future render-time exceptions render a recoverable "Something went wrong — Reload" panel instead of silently blanking the window.
  • ESLint + `react-hooks/rules-of-hooks`. No linter existed before this release — that's how the hook-ordering bug landed in v0.15.0 and stayed broken through v0.16.1. Flat config catches the bug class going forward; `npm run lint` now runs in CI.

Install

  • `Keepr_0.16.2_x64-setup.exe` — NSIS installer (recommended).
  • `Keepr_0.16.2_x64_en-US.msi` — Windows Installer.
  • `Keepr-portable.zip` — extract anywhere, run `keepr.exe`. Stores `keepr.db` next to the exe.

Unsigned per the v0.5 code-signing decision (see SECURITY.md). Windows SmartScreen warning expected on first launch — click "More info" → "Run anyway".

Full CHANGELOG: https://github.com/SysAdminDoc/Keepr/blob/main/CHANGELOG.md#0162--2026-05-26--editor-open-crash-fix