Skip to content

Complete Matrix SDK v1 plan and merge mainline updates#3

Merged
batuhan merged 40 commits intomainfrom
batuhan/complete-matrix-sdk-v1-plan
May 3, 2026
Merged

Complete Matrix SDK v1 plan and merge mainline updates#3
batuhan merged 40 commits intomainfrom
batuhan/complete-matrix-sdk-v1-plan

Conversation

@batuhan
Copy link
Copy Markdown
Member

@batuhan batuhan commented May 3, 2026

Summary

  • Tighten the core Matrix client API around lazy boot, explicit sync control, and future-only subscriptions.
  • Add Beeper-first login helpers, raw event access, and broader event normalization for bot and client use cases.
  • Update the Chat SDK adapter, Cloudflare entrypoint, storage tests, docs, and smoke checks to match the new core shape.
  • Merge the latest main changes into the feature branch and resolve the stream test conflict without reintroducing connect().

Testing

  • Focused TypeScript and Go tests passed for the merge resolution and updated client behavior.
  • Broader package and smoke coverage was already passing on the branch before the merge, including core, adapter, and consumer checks.
  • Live private E2E/browser/E2EE scenarios remain tracked separately in TODO.md and were not run here.

batuhan added 6 commits May 3, 2026 14:47
Implement key backup handling and integrate a prepareOutboundMegolm flow. Added packages/core/native/internal/core/key_backup.go to back up outbound Megolm sessions, encrypt session data, and notify crypto status (key_backup_unavailable / key_backup_updated). Replaced direct ensureMegolmRecipients calls with c.prepareOutboundMegolm in media, messages, and reactions flows so group sessions are prepared and backed up before sending. Update decryption logic to emit crypto status on backup errors and relax the imported-session index check when restoring from backup. Also update TypeScript event/runtime types to include keyBackupUpdated / keyBackupUnavailable mappings.
@batuhan batuhan marked this pull request as ready for review May 3, 2026 14:03
@batuhan batuhan merged commit 1a63adf into main May 3, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant