v0.3.0-beta
Pre-release
Pre-release
·
2 commits
to main
since this release
- 2026-08-01
- Changed — the plot tool was reworked from a doc cheat-sheet into a questionnaire-driven plot generator
- Pick one of eight plot types (line, scatter, bar, pie, histogram, box, heatmap, dual-axis), fill in the fields (title, data, colors, …), and preview the generated JSON/TOML live;
--no-previewdisables the live refresh. - Validation flags missing required fields and malformed numbers inline;
ccopies to the clipboard,ssaves toplot-<type>.json/.toml, andrrestores the built-in example.
- Pick one of eight plot types (line, scatter, bar, pie, histogram, box, heatmap, dual-axis), fill in the fields (title, data, colors, …), and preview the generated JSON/TOML live;
- Changed — TUI visuals reworked to the "biomorphic organic" paper palette:
Layer/density_char/ rounded-panelBlockhelpers, a solid-accent status band, and TrueColor → 256 → 16 → none colour adaptation viasupports-color, so the paper background never garbles an older terminal. - Added — the plot generator schema:
docs/PLOT-SCHEMA.jsonplus a-zh_CNtranslation, the single source of truth for generator fields, targets, and examples. It is embedded at compile time, so the generator works fully offline. - Added — programmatic visual regression tests (
tests/test_tui_visual.rs, ratatuiTestBackend) and dedicateddocs-schema-test/tui-visual-testCI jobs. - Removed — the machine-readable USAGE schema (
docs_parser, the<!-- usage-schema -->/<!-- plot:begin/end -->markers,docs/USAGE-SCHEMA.md, the--refreshflag, and the GitHubrawendpoint override). All plot data now comes from the schema file, so nothing is parsed out of the manual and there is no second place to maintain. - Changed — schema language selection (
MDBOOK_PLOTLY_LANG→[language] doc→ system locale) now picks the localized schema instead of the manual. - Fixed — none (no behavior changes to the preprocessor itself).