From 20bc859ab74d8a6f047bfc5ed4f88c9ab0895343 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 14 Jun 2024 17:56:47 +0000 Subject: [PATCH 1/3] release: version packages --- .changeset/twenty-eggs-protect.md | 16 ---------------- packages/js-sdk/CHANGELOG.md | 17 +++++++++++++++++ packages/js-sdk/package.json | 2 +- 3 files changed, 18 insertions(+), 17 deletions(-) delete mode 100644 .changeset/twenty-eggs-protect.md diff --git a/.changeset/twenty-eggs-protect.md b/.changeset/twenty-eggs-protect.md deleted file mode 100644 index 1cf6499d..00000000 --- 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 8a625d82..2b7738e6 100644 --- a/packages/js-sdk/CHANGELOG.md +++ b/packages/js-sdk/CHANGELOG.md @@ -1,5 +1,22 @@ # @xmtp/xmtp-js +## 12.0.0 + +### Major Changes + +- 9619322: ### 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`. + ## 11.6.3 ### Patch Changes diff --git a/packages/js-sdk/package.json b/packages/js-sdk/package.json index 33226675..412c7b73 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", From f8965550ea44f504444f27e3d0c7a8810079bffa Mon Sep 17 00:00:00 2001 From: Ry Racherbaumer Date: Fri, 14 Jun 2024 11:01:58 -0700 Subject: [PATCH 2/3] Update CHANGELOG.md --- packages/js-sdk/CHANGELOG.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/packages/js-sdk/CHANGELOG.md b/packages/js-sdk/CHANGELOG.md index 2b7738e6..30ec6232 100644 --- a/packages/js-sdk/CHANGELOG.md +++ b/packages/js-sdk/CHANGELOG.md @@ -4,18 +4,19 @@ ### Major Changes -- 9619322: ### BREAKING 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` + - 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` +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`. +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`. +The text content type and codec can now be found at `@xmtp/content-type-text`. It exports `ContentTypeText`, `Encoding`, and `TextCodec`. ## 11.6.3 From 27b572b3fc61191f14c2a77544482624049f9000 Mon Sep 17 00:00:00 2001 From: Ry Racherbaumer Date: Fri, 14 Jun 2024 13:18:11 -0500 Subject: [PATCH 3/3] Format changelog --- packages/js-sdk/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/js-sdk/CHANGELOG.md b/packages/js-sdk/CHANGELOG.md index 30ec6232..cc9b7e7c 100644 --- a/packages/js-sdk/CHANGELOG.md +++ b/packages/js-sdk/CHANGELOG.md @@ -8,7 +8,7 @@ - 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` + - Removed `ContentTypeFallback` ### BREAKING CHANGES