Skip to content

0.9.35

Latest

Choose a tag to compare

@github-actions github-actions released this 08 Sep 08:37
· 1 commit to develop since this release

Improvements

  • Pin development and CI to Node.js 18 — the VS Code extension host runs Node 18, which lacks globals such as File that Node-20-only dependency releases require, so a green test run on Node 20+ proves nothing for real users. All GitHub workflows now install Node 18.17.1 from .tool-versions (previously Node 20), and the Nix dev shell brings nodejs_18 via a pinned nixpkgs-24.11 import, since the rolling nixpkgs channel no longer packages EOL Node 18. The pre-commit toolchain moves with it: lint-staged is held to 15.x, the last line that loads on Node 18 (16.x requires Node ≥ 20.17), and sharp moves to the 0.34.x line — 0.35's prebuilt platform binaries declare Node ≥ 20.9 and get skipped entirely by installs on Node 18, which made graph rasterization fail with Could not load the "sharp" module (#493 reported by @qiyu-lu).

Bug fixes

  • Keep Crossnote loadable on its supported Node.js 18 runtime — pin Cheerio to 1.0.0 instead of allowing its prerelease range to resolve to Node.js 20-only releases that fail with ReferenceError: File is not defined. The declared minimum is now Node.js 18.17, matching Cheerio's runtime requirement (#493 reported by @qiyu-lu).
  • The hover "…" action button no longer flashes at the preview's top-right corner while moving the pointer between blocks — the button is anchored to the hovered block through a class that the un-hover listener stripped a frame before the button unmounted, so for that frame it re-anchored to the preview container. The highlight and the button now stay on the last hovered block until another block is hovered or the pointer leaves the preview, so scanning the document no longer makes the button strobe on and off.
  • "Open In-preview Editor" stays in the context menu in Zen mode — the item was hidden there, so users in Zen mode had no discoverable path to the feature. Clicking it in Zen mode now shows a notice explaining that the editor is unavailable until Zen mode is disabled (translated in all supported preview languages). Presentation mode still hides the item, as before.

Improvements

  • Azerbaijani (az) localization for the preview UI — the context menu, footer, top bar, backlinks panel, image helper, in-preview editor strings and notices now ship in Azerbaijani (vscode.env.language: az), joining the existing ten languages.