Skip to content

Releases: xmtp/xmtp-web

@xmtp/react-sdk@1.3.2

31 Aug 23:59
d3ca701
Compare
Choose a tag to compare

Patch Changes

  • Upgrade JS SDK to 10.2.1 for deterministic topic fix

@xmtp/react-sdk@1.3.1

31 Aug 21:10
538ca58
Compare
Choose a tag to compare

Patch Changes

  • Fix useClient and useAttachment performance

@xmtp/react-sdk@1.3.0

30 Aug 19:04
72e82b5
Compare
Choose a tag to compare

Minor Changes

  • Refactor useAttachment hook
    • Added options disableAutoload and autoloadMaxFileSize
    • Added status export
    • Removed isLoading export
    • Renamed retry => load
    • Prevent autoload from occurring if there was previously a load error
  • Added hasLoadError property to CachedMessage for when message content loading fails (this only applies to remote attachments for now)
  • Updated the type of the messages export of the useMessages hook to be CachedMessageWithId[]

@xmtp/react-sdk@1.2.0

28 Aug 19:15
e58ccb0
Compare
Choose a tag to compare

Minor Changes

  • Add cancel function to useResendMessage hook, rename resendMessage to resend.

@xmtp/react-sdk@1.1.2

25 Aug 18:47
8a248ea
Compare
Choose a tag to compare

Patch Changes

  • Fix useAttachment hook by resetting loading state when an error occurs during the loading of a remote attachment

@xmtp/react-sdk@1.1.1

25 Aug 16:25
aff99b7
Compare
Choose a tag to compare

Patch Changes

  • Add remote attachment data to the cache after load
  • Update streaming hooks to prevent duplicate streams

@xmtp/react-sdk@1.1.0

24 Aug 15:38
36ce829
Compare
Choose a tag to compare

Minor Changes

  • Refactor processing of remote attachment content types. This update removes eager loading of remote data in the message processor in favor of the new useAttachment hook. With the useAttachment hook, developers can now respond to loading and error states when fetching the remote data.

@xmtp/react-sdk@1.0.0

21 Aug 23:21
0e326fd
Compare
Choose a tag to compare

@xmtp/react-sdk

1.0.0 (2023-08-21) release notes

This is the first production release of the XMTP React client SDK, a React integration of the xmtp-js SDK.

This release delivers:

  • Local-first architecture, which includes optimistic sending
  • Support for standards-track content types via configuration