Skip to content

v1.26.0

Latest

Choose a tag to compare

@stevebauman stevebauman released this 20 Nov 17:30
39bbb42

Added

  • Add cursorPaginate() to message queries. Use oldest() or newest() to page through a folder in UID order and resume from an encoded cursor. Deleting messages between pages preserves the scan position, and messages arriving after the first page are picked up on a later scan - #210

Improved

  • Document the element types returned by folder, mailbox, message, query, and stream interfaces for IDEs and static analysis, by @ThomasLandauer - #199
  • Document the untagged responses returned in IMAP command response collections - #211

Compatibility

  • Custom implementations of MessageQueryInterface must implement cursorPaginate(). Custom implementations of MailboxInterface must implement fingerprint() and can reuse the HasMailboxFingerprint trait.
  • Subclasses of MessageQuery that override populate() or sortMessages() should update their overrides to load() or order(), respectively. The loader receives the UIDs already selected for the page.