Skip to content

XMTP SDK release v5.2.0

Choose a tag to compare

@neekolas neekolas released this 27 Nov 00:46
24e2df5

This release includes refinements to message list queries and improvements to disappearing message handling. If you've been building on a previous release, this one should be a drop-in replacement. Update as soon as possible to take advantage of these enhancements and fixes.

Total ordered sort for message pagination

Provides the ability to filter queries for the message list by insertion time rather than by time sent. Filtering by insertion time provides a totally ordered list, which is more reliable for pagination.

To learn more, see Paginate messages by insertion time.

Updates for disappearing messages

The disappearing messages feature has been updated to exclude expired (already disappeared) messages from queries. The feature also now includes the option to exclude disappearing messages from backups.

To learn more, see Support disappearing messages.

More details on sync

The return value of conversations.syncAllConversations is now an object that includes both the number of conversations, and the number that needed to be synced.

Full Changelog: v5.1.0...v5.2.0