CanvasAnvil is an open source AI diagram maker and flowchart generator - an infinite-canvas diagram editor and self-hosted drawio alternative that writes editable .drawio files. Text to diagram, then fix nodes, layout and labels in place. Also AI presentations, interior design CAD/BOM, posters and infographics.
TypeScript ai-agentsai-diagramai-presentationbomcadcanvasdiagramdiagram-generatordrawioflowchartinfographicspptppt-generatorpresentation-generatorreactsvgedittext-to-diagramtypescriptworkflow
docs: make the version, the changelog and the READMEs agree
codingFeng101e6103e0f70f4
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex e396a87..9b9b4a8 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -4,6 +4,47 @@ All notable changes to this project will be documented in this file.The format is based on Keep a Changelog, and the project aims to follow Semantic Versioning.+## [Unreleased]++A structural refactor of the whole project. The repository now separates+`client/`, `server/`, `contracts/` and `resources/`, every workspace has the+same shape, and the shared UI kit, storage layer, file pipeline and i18n each+exist once instead of per workspace.++### Removed++- Removed the `pptist-lab` editor integration. The PPT canvas stays; editable decks export directly as `.pptx`.+- Removed the poster, product and infographic canvases, narrowing the product to Flow, Interior Design and PPT.+- Removed the multi-provider model layer and the vendor picker. All model access goes through one OpenAI-compatible transport.+- Removed the Next.js port that shadowed the Vite client, and roughly 900 lines of unreachable code the old `PptWorkspace` was hiding.++### Added++- Added a **Present** button to the deck toolbar. The slideshow was complete but had no entry point, so full-screen presentation, arrow-key paging and Escape had all been unreachable.+- Added a test suite (`npm test`, node:test) covering the pure logic the refactor had to preserve: AI request shaping, draw.io XML repair, chat storage, PPT persistence and editor adapters, the deck state machine, slide-version resolution, render-layer edits, material tokens and the chat message readers.++### Changed++- Turned on TypeScript strict mode and split the bundle; initial load dropped from 2.89 MB to roughly 700 KB raw.+- Replaced the deck's 25 scattered step assignments with a state machine, so the creation step and its progress bar can no longer drift apart.+- Consolidated the CAD and PPT chat panels, chat inputs and transcript message readers, which had been forks of one another.++### Fixed++- Fixed an infinite render loop in every workspace's chat panel. Two file-sync effects running one step apart traded two equal-but-distinct arrays back and forth on every render.+- Fixed the theme and dark-mode switches in the Flow chat panel, which received their handlers as props and used none of them.+- Fixed CAD patch failures being swallowed: an exception while applying a patch left no error and no retry, so the patch appeared to do nothing.+- Fixed the SVG load-failure toast keeping the previous language after a language switch.+- Fixed the export-review selection pointing at a text block from an image version no longer on screen.+- Fixed attachment chips in the CAD and PPT transcripts showing an empty character count.+- Fixed messages whose content is a multimodal part array reading as empty text in the CAD and PPT transcripts.+- Fixed a Docker image that copied directories which no longer exist and omitted `resources/`, which the server reads at request time.++### Security++- Removed server-side debug logging that wrote entire conversations, including inline base64 images and everything the user typed, to the console on every request.+- Prompt logging now writes only when `PROMPT_LOG_DIR` is set, instead of dropping a file containing the full prompt into the working directory by default.+## [2.1.0] - 2026-04-25### Addeddiff --git a/README.md b/README.mdindex b8f265a..d864f3e 100644--- a/README.md+++ b/README.md@@ -115,10 +115,13 @@ Generate full presentations through a controlled pipeline: outline first, visualCurrent release: `v2.1.0`+Unreleased on `main`:+- Narrowed the product to three canvases: Flow, Interior Design, and PPT.- Removed the embedded `pptist-lab` editor; editable decks now export directly as `.pptx`.- Consolidated model access on a single OpenAI-compatible request path.-- Updated the online access URL to `https://canvasanvil.codingfgd.asia`.++See [CHANGELOG.md](CHANGELOG.md) for the full list.## 🌐 Online Accessdiff --git a/README.zh-CN.md b/README.zh-CN.mdindex b9e50d2..7aabe8c 100644--- a/README.zh-CN.md+++ b/README.zh-CN.md@@ -115,10 +115,13 @@当前版本:`v2.1.0`+`main` 上尚未发布的改动:+- 产品收敛为三个画布:流程绘制、室内设计、PPT 演示- 移除内嵌 `pptist-lab` 编辑器,可编辑演示稿改为直接导出 `.pptx`- 模型访问统一收敛到单一 OpenAI 兼容请求路径-- 更新并同步在线访问地址为 `https://canvasanvil.codingfgd.asia`++完整列表见 [CHANGELOG.md](CHANGELOG.md)。## 🌐 在线使用diff --git a/package.json b/package.jsonindex 51f54de..1995b70 100644--- a/package.json+++ b/package.json@@ -1,7 +1,7 @@{"name": "canvasanvil","private": true,- "version": "2.0.0",+ "version": "2.1.0","license": "AGPL-3.0-only","type": "module","scripts": {