Skip to content

v2.13.0

Choose a tag to compare

@2b3pro 2b3pro released this 25 Jan 20:53
· 28 commits to main since this release

Features

Markdown Parser Improvements

  • Numbered lists — Prefixes (1., 2., etc.) are now stripped from content and parent blocks receive children-view-type: "numbered" for proper Roam rendering
  • Horizontal rules---, ***, ___ (3+ chars) converted to Roam's native --- format
  • Affects: roam_import_markdown, roam_create_outline, roam_create_page with content, CLI roam save

Page Existence Validation

  • Batched existence checking — Single Datomic query checks all parent-uids at once (1 API call instead of N), rate-limit friendly
  • Daily page auto-creation — Detects MM-DD-YYYY format UIDs and auto-creates missing daily pages before batch execution
  • Session-scoped UID cache — Tracks known existing UIDs to avoid redundant API calls within a session
  • Clear error messages — Missing non-daily pages return actionable error: "Create them first with roam_create_page"

Testing

  • 15 new tests for PageValidator in src/shared/page-validator.test.ts
  • 11 new tests for markdown features in src/markdown-utils.test.ts
  • All 152 tests passing

Commits

  • 88e964e feat(markdown): add numbered list and horizontal rule support
  • c9af1cc feat(batch): add page existence validation with daily page auto-creation
  • 9919bab test(block-retrieval): fix skipped tests with correct mock setup