Releases: xmtp/xmtp-web
Releases · xmtp/xmtp-web
@xmtp/react-sdk@1.3.3
Patch Changes
- Make content type config processors optional
- Add type exports for content type configs
@xmtp/react-sdk@1.3.2
Patch Changes
- Upgrade JS SDK to 10.2.1 for deterministic topic fix
@xmtp/react-sdk@1.3.1
Patch Changes
- Fix
useClient
anduseAttachment
performance
@xmtp/react-sdk@1.3.0
Minor Changes
- Refactor
useAttachment
hook- Added options
disableAutoload
andautoloadMaxFileSize
- Added
status
export - Removed
isLoading
export - Renamed
retry
=>load
- Prevent autoload from occurring if there was previously a load error
- Added options
- Added
hasLoadError
property toCachedMessage
for when message content loading fails (this only applies to remote attachments for now) - Updated the type of the
messages
export of theuseMessages
hook to beCachedMessageWithId[]
@xmtp/react-sdk@1.2.0
Minor Changes
- Add
cancel
function touseResendMessage
hook, renameresendMessage
toresend
.
@xmtp/react-sdk@1.1.2
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
Patch Changes
- Add remote attachment data to the cache after load
- Update streaming hooks to prevent duplicate streams
@xmtp/react-sdk@1.1.0
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 theuseAttachment
hook, developers can now respond to loading and error states when fetching the remote data.
@xmtp/react-sdk@1.0.0
@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