Skip to content

Add ENABLE and QRESYNC mailbox synchronization - #3

Open
thatjuan wants to merge 4 commits into
mainfrom
feature/enable-qresync
Open

thatjuan wants to merge 4 commits into
mainfrom
feature/enable-qresync

Conversation

@thatjuan

Copy link
Copy Markdown
Owner

Adds explicit RFC 5161 ENABLE and RFC 7162 QRESYNC selection APIs for primary and named IMAP connections. Callers can enable connection-local capabilities, select from a stored UIDVALIDITY/modification-sequence checkpoint, and receive selection metadata, historical vanished UIDs, and complete flag replacements after the matching tagged response.

The change also adds HIGHESTMODSEQ to mailbox selections with backward-compatible Codable handling, shares ordinary selection metadata parsing across SELECT/EXAMINE/QRESYNC, documents the connection and checkpoint contract, and updates the implementation status.

Validation

  • 30 focused ENABLE, QRESYNC, selection, Codable, public API, and reconnect tests passed
  • swift build --build-tests passed
  • swift test --skip-build passed: 657 tests
  • swift build passed
  • git diff --check passed
  • SwiftLint was unavailable locally

Closes #1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add public ENABLE and QRESYNC mailbox resynchronization APIs

1 participant