Skip to content
Compare
Choose a tag to compare
@github-actions github-actions released this 14 Jun 18:27
· 954 commits to main since this release
6c2474c

Major Changes

  • 9619322:
    • Removed internal content types and their primitives
    • Added content types and primitives from their respective packages
    • Removed ContentTypeComposite, see XIP-19 for more details
    • Removed ContentTypeFallback

BREAKING CHANGES

With this update, the following are no longer exported from the JS SDK: ContentTypeId, CodecRegistry, ContentCodec, EncodedContent, ContentTypeFallback, TextCodec, ContentTypeText, Composite, CompositeCodec, ContentTypeComposite

For content type primitives, use the new @xmtp/content-type-primitives package. It exports ContentTypeId, CodecRegistry, ContentCodec, and EncodedContent.

The text content type and codec can now be found at @xmtp/content-type-text. It exports ContentTypeText, Encoding, and TextCodec.