e0a5f57793
Vendor the rebranded BoosAPI Desktop client (Tauri + Vue) into metapi as a monorepo subdirectory under desktop/. Source only — node_modules, dist, Cargo target and the upstream .git history are excluded. desktop/ keeps its own independent Cargo workspace (desktop/src-tauri with crates/*); it is not part of the backend boosapi crate, so a `cargo check` at the metapi root still compiles only the backend. Build the desktop app from desktop/src-tauri per desktop/README.md. Note: app icons are still placeholder assets pending the final BoosAPI logo. The updater signing keys live outside the repo and are not included.
1.5 KiB
1.5 KiB
Changelog
All notable changes to this project will be documented in this file.
[Unreleased]
[0.0.34] - 2026-04-15
- Added
updateThrottleMsoption (default 50ms) to throttleupdateCodein addition to RAF-based coalescing. This reduces CPU usage in high-frequency streaming scenarios. Users can set to0to restore previous behavior (only RAF merging). - Exposed
setUpdateThrottleMs(ms)andgetUpdateThrottleMs()on theuseMonacoreturn value so the throttle can be adjusted at runtime. - Exposed
minimalEditMaxCharsandminimalEditMaxChangeRatiooptions to control when the library falls back to fullsetValueinstead of attempting minimal edits for large documents. - Stabilized the
useMonaco()create lifecycle so superseded creates are rejected cleanly and single-editor updates are replayed after creation commits. - Split diff presentation helpers out of
DiffEditorManagerinto focused modules for appearance, hunk behavior, unchanged-region DOM, and viewport logic. - Expanded automated coverage for diff helpers, unchanged-region behavior, lifecycle cleanup, and minimal-edit option overrides.
- Added a React + Vite example app under
examples/react-demo. - Added a Playwright diff smoke job to CI.
- Aligned release metadata and workflow behavior around
v*tags. clearHighlighterCache()now resets the shared Monaco/Shiki highlighter state in addition to clearing cached entries.
Notes
- These changes are non-breaking. To preserve original behavior, set
updateThrottleMs: 0.