fix(critical): Create revision on document creation

Documents created via MCP were not visible in Outline interface.
Outline requires an entry in the revisions table to display documents.

Now uses transaction to insert into both documents and revisions tables.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-31 20:35:45 +00:00
parent 1cdeafebb6
commit 12710c2b2f
9 changed files with 83 additions and 44 deletions

View File

@@ -2,6 +2,16 @@
All notable changes to this project will be documented in this file.
## [1.3.9] - 2026-01-31
### Fixed
- **Document Visibility (Critical):** `create_document` now creates initial revision
- Was: Documents created via MCP didn't appear in Outline interface
- Cause: Outline requires entry in `revisions` table to display documents
- Now: Uses transaction to insert into both `documents` and `revisions` tables
- Documents created via MCP now visible immediately in Outline
## [1.3.8] - 2026-01-31
### Fixed