diff --git a/.changeset/twenty-eggs-protect.md b/.changeset/twenty-eggs-protect.md deleted file mode 100644 index 1cf6499d2..000000000 --- a/.changeset/twenty-eggs-protect.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -"@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`. diff --git a/packages/js-sdk/CHANGELOG.md b/packages/js-sdk/CHANGELOG.md index 8a625d822..cc9b7e7c8 100644 --- a/packages/js-sdk/CHANGELOG.md +++ b/packages/js-sdk/CHANGELOG.md @@ -1,5 +1,23 @@ # @xmtp/xmtp-js +## 12.0.0 + +### Major Changes + +- 9619322: + - 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` + +### 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`. + ## 11.6.3 ### Patch Changes diff --git a/packages/js-sdk/package.json b/packages/js-sdk/package.json index 332266756..412c7b73a 100644 --- a/packages/js-sdk/package.json +++ b/packages/js-sdk/package.json @@ -1,6 +1,6 @@ { "name": "@xmtp/xmtp-js", - "version": "11.6.3", + "version": "12.0.0", "description": "XMTP client SDK for interacting with XMTP networks.", "keywords": [ "xmtp",