github zhitongblog/solomd v4.2.0
SoloMD v4.2.0

latest releases: v4.11.16, v4.11.15, linux-egl-test-2404...
3 months ago

SoloMD v4.2.0 — Reliability patch

The big one this release is a critical fix for external file changes not refreshing in SoloMD. If you ever opened a file in SoloMD and edited it elsewhere (VSCode, TextEdit, Vim, git checkout) and the editor kept showing the old content — that's fixed.

What's fixed

File watcher: survive atomic save and symlinked paths

Many editors (VSCode default, macOS TextEdit, Vim's :w, git checkout, sync clients) save files by writing to a temp file then renaming it into place — which gives the file a new inode. SoloMD's old watcher bound to the original inode and went silent forever after the first rename.

v4.2 rewrites the watcher to monitor the parent directory non-recursively and filter events by file path. Also remembers the user-supplied path string so the reload event matches tab.filePath even on macOS /tmp/private/tmp symlink resolution or symlinked workspace directories (iCloud, NFS home).

7 cargo unit tests cover the refcount logic + a real notify integration test that performs both direct overwrite and tmp-write + rename against a tempdir and asserts both fire events.

New setting: "Auto-refresh files changed by other apps" (default ON)

Settings → Advanced. When ON (default), clean tabs reload in place. When OFF, every external change prompts you, even on clean tabs. Dirty tabs always prompt regardless — your in-progress edits are never silently overwritten.

Translated across all 14 UI languages.

File close no longer falsely prompts "save changes?" on CRLF files

Open a Windows-line-ending .md file → click somewhere → close the tab → SoloMD asked to save. This was a false-dirty caused by CodeMirror normalising \r\n\n internally while savedContent still held the original CRLF form. Fix: normalise on read and track the original line ending, restore it on save. So a Windows-saved file stays Windows-saved.

Marketing site

  • "Free Markdown all-in-one" repositioning across 14 langs — the previous "editor where agents live" was too niche
  • Android beta recruitment banner at the top of solomd.app — email lixd220@gmail.com to join the Play Store closed test
  • GEO rebuild: llms.txt rewritten to the llmstxt.org spec, SoftwareApplication + HowTo + FAQPage JSON-LD refreshed to v4.2, new TL;DR fact-pack section on the home page — all aimed at getting SoloMD cited by ChatGPT / Claude / Perplexity / Gemini for "best free Markdown editor" prompts
  • Cloudflare _redirects added to clear the Google Search Console 404s for /ja/blog/, /ko/security/, etc.

Install

# macOS / Linux — auto-detects OS and arch
curl -fsSL https://solomd.app/install.sh | bash

# Windows (PowerShell)
irm https://solomd.app/install.ps1 | iex

Or download a platform-specific installer below.


🤖 Generated with Claude Code

Don't miss a new solomd release

NewReleases is sending notifications on new releases.