mirror of
https://github.com/outline/outline.git
synced 2026-11-21 13:34:02 +03:00
- presentDocuments: batch-load collection deletedAt for archived/deleted documents so trash and archive listings no longer issue one Collection query per document via isCollectionDeleted - documents.search: present results through the batched presentDocuments helper instead of one presentDocument call per result - revisions.list: load collaborators for the whole page in a single User query instead of one per revision, and stop fetching the unused content and text columns when listing without content - TextHelper.attachmentsToSignedUrls: fetch all attachments in one query instead of one findOne per attachment id - BacklinksProcessor: resolve linked documents and existing backlinks in bulk queries and create missing backlinks with a single bulkCreate - NotificationHelper: batch the per-recipient View lookup when filtering comment notification recipients - Add indexes covering hot queries that previously scanned: events (teamId, createdAt) for the audit log, and shares (documentId) / (collectionId) for shareLoader lookups Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TTaaEHNxBrmBnoVa5iSJV6