Moraya v0.45.11
What's Changed
chore(release): v0.45.11 — tab-switch data loss fix, AI input history
- fix(tabs): stop tab switching/closing from reverting documents edited in
visual mode — the visual editor never serializes markdown per keystroke,
sosyncFromEditor()was copying the staleeditorStore.contentmirror
into the tab instead of the live ProseMirror doc; switching back (and the
next autosave) then wrote pre-edit text over the file. Tabs store now
pulls content through an injectedgetCurrentContentprovider, falling
back to the old mirror when no editor is mounted. - feat(ai): add shell-style ↑/↓ history recall to the AI chat input,
mirroring moraya-web — ↑ walks backwards through previously sent
messages, ↓ walks forward and restores the in-progress draft; only
triggers when the caret is at the first/last line and no popup owns the
arrow keys. - test: cover the tab content-provider fix (
tabs-store.test.ts) and the
history recall index/edge-case logic (input-history.test.ts). - chore: bump plugin renderer pin
abcjs6.6.4 → 6.7.0; sync
Cargo.lockto the v0.45.10 package version. - chore(release): bump version to 0.45.11 across
package.json,
src-tauri/Cargo.toml,src-tauri/tauri.conf.json.
See the assets below to download and install.
macOS
Homebrew (recommended):
brew tap zouwei/moraya
brew install --cask moraya
Manual: Download the .dmg file below, drag Moraya to Applications, and double-click to launch.
The app is signed with an Apple Developer ID and notarized by Apple — no Gatekeeper workaround needed.
Linux
- .deb —
sudo dpkg -i moraya_*.deb - .AppImage —
chmod +x Moraya_*.AppImage && ./Moraya_*.AppImage
Windows
Run the .msi installer.