Skip to content

Commit

Permalink
Create twenty-eggs-protect.md
Browse files Browse the repository at this point in the history
  • Loading branch information
rygine authored Jun 14, 2024
1 parent 4f86be5 commit 9619322
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .changeset/twenty-eggs-protect.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
"@xmtp/xmtp-js": major
---

### BREAKING CHANGES

- Removed internal content types and their primitives
- Added content types and primitives from their respective packages
- Removed `ContentTypeComposite`, see [XIP-19](https://community.xmtp.org/t/xip-19-deprecate-the-composite-codec/525) for more details
- Removed `ContentTypeFallback`

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`.

0 comments on commit 9619322

Please sign in to comment.