From a0d303aa0a1a9c954f02044d34aa01ed5e13f17c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 3 Oct 2023 17:30:19 +0000 Subject: [PATCH 1/2] release: version packages --- .changeset/kind-mayflies-bake.md | 8 -------- packages/react-sdk/CHANGELOG.md | 9 +++++++++ packages/react-sdk/package.json | 2 +- 3 files changed, 10 insertions(+), 9 deletions(-) delete mode 100644 .changeset/kind-mayflies-bake.md diff --git a/.changeset/kind-mayflies-bake.md b/.changeset/kind-mayflies-bake.md deleted file mode 100644 index c2874044..00000000 --- a/.changeset/kind-mayflies-bake.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@xmtp/react-sdk": minor ---- - -* Added `lastSyncedAt` property to cached conversations to track when a conversation's messages were last synced -* When loading new messages, use the `lastSyncedAt` time if it comes before the last message -* When an inactive tab becomes active again, the `useMessages` hook will re-sync the conversation messages from the network -* Added a new `disableAutoSync` option to `useMessages` hook to disable automatic syncing when a tab becomes active diff --git a/packages/react-sdk/CHANGELOG.md b/packages/react-sdk/CHANGELOG.md index ae82c0e3..b3bfe6b1 100644 --- a/packages/react-sdk/CHANGELOG.md +++ b/packages/react-sdk/CHANGELOG.md @@ -1,5 +1,14 @@ # @xmtp/react-sdk +## 2.1.0 + +### Minor Changes + +- [#106](https://github.com/xmtp/xmtp-web/pull/106) [`e0a360b`](https://github.com/xmtp/xmtp-web/commit/e0a360beee832ca2ebc9526eb462595587bd87c0) Thanks [@rygine](https://github.com/rygine)! - \* Added `lastSyncedAt` property to cached conversations to track when a conversation's messages were last synced + - When loading new messages, use the `lastSyncedAt` time if it comes before the last message + - When an inactive tab becomes active again, the `useMessages` hook will re-sync the conversation messages from the network + - Added a new `disableAutoSync` option to `useMessages` hook to disable automatic syncing when a tab becomes active + ## 2.0.0 ### Major Changes diff --git a/packages/react-sdk/package.json b/packages/react-sdk/package.json index 63ea557f..1a8c1f2a 100644 --- a/packages/react-sdk/package.json +++ b/packages/react-sdk/package.json @@ -1,7 +1,7 @@ { "name": "@xmtp/react-sdk", "description": "XMTP client SDK for React apps written in TypeScript", - "version": "2.0.0", + "version": "2.1.0", "author": "XMTP Labs ", "license": "MIT", "type": "module", From c7a7fa323043858473328b8856aa63bce1da3705 Mon Sep 17 00:00:00 2001 From: Ry Racherbaumer Date: Tue, 3 Oct 2023 13:02:45 -0500 Subject: [PATCH 2/2] Update CHANGELOG.md --- packages/react-sdk/CHANGELOG.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/react-sdk/CHANGELOG.md b/packages/react-sdk/CHANGELOG.md index b3bfe6b1..781764da 100644 --- a/packages/react-sdk/CHANGELOG.md +++ b/packages/react-sdk/CHANGELOG.md @@ -4,10 +4,10 @@ ### Minor Changes -- [#106](https://github.com/xmtp/xmtp-web/pull/106) [`e0a360b`](https://github.com/xmtp/xmtp-web/commit/e0a360beee832ca2ebc9526eb462595587bd87c0) Thanks [@rygine](https://github.com/rygine)! - \* Added `lastSyncedAt` property to cached conversations to track when a conversation's messages were last synced - - When loading new messages, use the `lastSyncedAt` time if it comes before the last message - - When an inactive tab becomes active again, the `useMessages` hook will re-sync the conversation messages from the network - - Added a new `disableAutoSync` option to `useMessages` hook to disable automatic syncing when a tab becomes active +- Added `lastSyncedAt` property to cached conversations to track when a conversation's messages were last synced +- When loading new messages, use the `lastSyncedAt` time if it comes before the last message +- When an inactive tab becomes active again, the `useMessages` hook will re-sync the conversation messages from the network +- Added a new `disableAutoSync` option to `useMessages` hook to disable automatic syncing when a tab becomes active ## 2.0.0