Skip to content

Releases: xmtp/xmtp-react-native

v4.3.3

30 Jul 01:21
efdca9a

Choose a tag to compare

Patch Changes

  • d353e45: Improve performance of syncAll for large lists

v4.3.2

26 Jul 01:22
aaa8880

Choose a tag to compare

Patch Changes

  • fb19acb: - Resolves issue with too many key package api requests
    • Fixes issue causing users with old installations to sometimes not be added to groups
    • Fixes a performance bottleneck that affects listing conversations while syncing

v4.3.1

24 Jul 16:23
b9dab0f

Choose a tag to compare

Patch Changes

  • 2c77a74: - Concurrency improvements
    • Deadlock fixes
    • Increase max installations 10
    • Fixes a known fork issue
    • Rotates key packages every 30 days irregardless of welcome processing

v4.3.0

16 Jul 04:27
c3667fa

Choose a tag to compare

This release introduces several enhancements, including quantum-resistant encryption, improved identity management, and refined read/write rate limits.

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.

Support for quantum-resistant encryption

XMTP now supports quantum-resistant encryption, providing enhanced security for message transmission and storage. This upgrade ensures your app is protected against future quantum computer attacks through post-quantum cryptography.

To learn more, see Quantum resistance.

Stream failure callbacks for mobile

Added optional onClose callback parameters to all streaming methods. These callback parameters are triggered when streams fail, enabling you to implement automatic retry logic and graceful error recovery. This enables apps to automatically restart failed streams with configurable retry intervals and maximum retry attempts.

To learn more, see Handle failed streams.

Consistent identity ordering

When an inbox has multiple associated identities, the identities array is now ordered by the client_timestamp_ns field, which sorts identities based on when they were added to the inbox, placing the earliest added identity first.

To learn more, see Select the identity to display.

Enhanced rate limits with separate read/write limits

XMTP now provides separate rate limits for read and write operations, offering more granular control over API usage. Read operations are limited to 20,000 requests per 5-minute window, while write operations are limited to 3,000 messages per 5-minute window.

To learn more, see Observe rate limits.

Improved history sync

History sync has been enhanced with better consent management across installations and improved handling of denied conversations. These changes ensure a more consistent experience when users access XMTP from multiple installations.

To learn more, see Enable history sync.

Enhanced group chat updates

Group membership changes now automatically trigger group update codec messages, ensuring all participants receive consistent information about group state changes. This improves the reliability of group chat synchronization across all devices.

To learn more, see Manage group chat membership.

Performance improvements and bug fixes

This release includes various performance optimizations throughout the SDK, resulting in faster message processing, improved memory usage, and better overall responsiveness. The release also includes bug fixes that improve the reliability of group chats and address a performance degradation issue that could occur when creating new groups.

To learn more about optimizing your XMTP implementation, see Debug your app.

v4.2.7

10 Jul 21:39
b3f9e9b

Choose a tag to compare

Patch Changes

  • 78122d9: - Refresh GRPC client on connectivity issues

v4.2.6

02 Jul 01:44
6b5646e

Choose a tag to compare

Patch Changes

  • 1af0c08: - Improvements to syncAll

v4.2.5

27 Jun 00:56
2dc3453

Choose a tag to compare

Patch Changes

  • cfb923f: - Fixes for known bugs that could cause forking
    • Statically manage revoking installations signatures

v4.2.4

23 Jun 22:07
8625bbc

Choose a tag to compare

This patch introduces several targeted enhancements and clarifications related to managing client builds, network statistics, installations, and group chats.

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.


Automatic offline client builds when an inboxId is present

When building a client with an existing inboxId, the client automatically operates in offline mode, as no network request is required to check the identity ledger. In offline mode, the client:

  • Skips all network requests (preference syncing between installations, validating inbox, etc.)
  • Works entirely from the local database
  • Can be synchronized later with syncAllConversations() or by recreating the client without the offline flag.

To learn more, see Build an existing client.


Reset network statistics for debugging

A new helper, clearAllStatistics(), lets you reset all API/identity/stream network statistics counters.

Use it to get a clean baseline between test runs or free memory on devices where cached gRPC stats grow over time.

To learn more, see Network statistics.


Support installation limits and more robust support for revocations

XMTP now enforces up to 5 app installations per inbox ID.

When the installation limit is reached, you can enable users to revoke one or more installations to free up a slot. Users can also revoke installations without needing to log in, using only their recovery address signer to authorize the revocation. This feature is particularly useful when users have reached the 5-installation limit and need to free up space for new installations without having access to the installations they want to revoke.

To learn more, see Revoke installations.


Support slightly larger group chats

The maximum group chat size has been raised from 220 to 250 members.

To learn more, see Create a new group chat.


Reduced risk of group chat forks

Additional safeguards have been added to minimize the chance of unintended group chat forks.

To learn about what group chat forks are and how they can occur, see MLS Group State Forks: What, Why, How

v4.2.3

19 Jun 01:35
c6ec291

Choose a tag to compare

Patch Changes

  • 414bfc2: - Added ability to clear network stats
    • Added option to build clients offline
    • Fixed 2 issues that could cause groups to fork
    • Increased group size to 250 members
    • Added limit of 5 installations per inbox

v4.2.2

07 Jun 19:54
5f3d437

Choose a tag to compare

Patch Changes

  • 61cb5ae: Fix consent wrapper json parsing