From ff4ec344295cd5dd624575a77e75340aee827430 Mon Sep 17 00:00:00 2001 From: Sanjay Date: Fri, 21 Jun 2024 16:17:36 -0700 Subject: [PATCH] chore: Release 1.13.2 (#2081) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Motivation Release 1.13.2 ## Change Summary Describe the changes being made in 1-2 concise sentences. ## Merge Checklist _Choose all relevant options below by adding an `x` now or at any time before submitting for review_ - [x] PR title adheres to the [conventional commits](https://www.conventionalcommits.org/en/v1.0.0/) standard - [x] PR has a [changeset](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#35-adding-changesets) - [x] PR has been tagged with a change label(s) (i.e. documentation, feature, bugfix, or chore) - [ ] PR includes [documentation](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#32-writing-docs) if necessary. - [x] All [commits have been signed](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#22-signing-commits) ## Additional Context If this is a relatively large or complex change, provide more details here that will help reviewers --- ## PR-Codex overview The focus of this PR is to update package versions and dependencies across multiple repositories. ### Detailed summary - Updated package versions to `0.14.16`, `0.8.11`, `0.11.17`, `0.4.0`, `1.13.2` - Updated dependencies in various packages - Added rpc to expose `LinkCompactStateMessage` with explicit handling of type > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` --- .changeset/big-bulldogs-hunt.md | 5 ----- .changeset/cold-shrimps-flow.md | 5 ----- .changeset/eight-bags-fetch.md | 5 ----- .changeset/hungry-pillows-shout.md | 5 ----- .changeset/lazy-flies-rule.md | 9 --------- .changeset/proud-crabs-teach.md | 5 ----- .changeset/slow-dolphins-live.md | 5 ----- apps/hubble/CHANGELOG.md | 12 ++++++++++++ apps/hubble/package.json | 4 ++-- apps/hubble/src/console/console.ts | 4 ++++ packages/core/CHANGELOG.md | 6 ++++++ packages/core/package.json | 2 +- packages/hub-nodejs/CHANGELOG.md | 8 ++++++++ packages/hub-nodejs/package.json | 4 ++-- packages/hub-web/CHANGELOG.md | 8 ++++++++ packages/hub-web/package.json | 4 ++-- packages/shuttle/CHANGELOG.md | 13 +++++++++++++ packages/shuttle/package.json | 4 ++-- 18 files changed, 60 insertions(+), 48 deletions(-) delete mode 100644 .changeset/big-bulldogs-hunt.md delete mode 100644 .changeset/cold-shrimps-flow.md delete mode 100644 .changeset/eight-bags-fetch.md delete mode 100644 .changeset/hungry-pillows-shout.md delete mode 100644 .changeset/lazy-flies-rule.md delete mode 100644 .changeset/proud-crabs-teach.md delete mode 100644 .changeset/slow-dolphins-live.md diff --git a/.changeset/big-bulldogs-hunt.md b/.changeset/big-bulldogs-hunt.md deleted file mode 100644 index 510faa1e3a..0000000000 --- a/.changeset/big-bulldogs-hunt.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@farcaster/hubble": patch ---- - -fix: Always log when updating contact info diff --git a/.changeset/cold-shrimps-flow.md b/.changeset/cold-shrimps-flow.md deleted file mode 100644 index 15d20e413c..0000000000 --- a/.changeset/cold-shrimps-flow.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@farcaster/hubble": patch ---- - -fix: updated the cli tool to flush logs before exiting diff --git a/.changeset/eight-bags-fetch.md b/.changeset/eight-bags-fetch.md deleted file mode 100644 index 49de67b95e..0000000000 --- a/.changeset/eight-bags-fetch.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@farcaster/hubble": patch ---- - -chore: Segment bundle delay stats by message status diff --git a/.changeset/hungry-pillows-shout.md b/.changeset/hungry-pillows-shout.md deleted file mode 100644 index 08126e73f1..0000000000 --- a/.changeset/hungry-pillows-shout.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@farcaster/shuttle": patch ---- - -Lower level of shuttle logs to debug diff --git a/.changeset/lazy-flies-rule.md b/.changeset/lazy-flies-rule.md deleted file mode 100644 index 745309fc9b..0000000000 --- a/.changeset/lazy-flies-rule.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"@farcaster/hub-nodejs": patch -"@farcaster/hub-web": patch -"@farcaster/shuttle": patch -"@farcaster/core": patch -"@farcaster/hubble": patch ---- - -Add rpc to expose LinkCompactStateMessage + explicit handling of type diff --git a/.changeset/proud-crabs-teach.md b/.changeset/proud-crabs-teach.md deleted file mode 100644 index 8e5c4d12e2..0000000000 --- a/.changeset/proud-crabs-teach.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@farcaster/shuttle": minor ---- - -Link reconciliation now calls the compact state rpc as well diff --git a/.changeset/slow-dolphins-live.md b/.changeset/slow-dolphins-live.md deleted file mode 100644 index 2fec73fc6a..0000000000 --- a/.changeset/slow-dolphins-live.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@farcaster/hubble": patch ---- - -add libp2p/peer-store patch to resolve corrupt peer id loads diff --git a/apps/hubble/CHANGELOG.md b/apps/hubble/CHANGELOG.md index 1d1e772594..dfd2bc9dc4 100644 --- a/apps/hubble/CHANGELOG.md +++ b/apps/hubble/CHANGELOG.md @@ -1,5 +1,17 @@ # @farcaster/hubble +## 1.13.2 + +### Patch Changes + +- e58e963d: fix: Always log when updating contact info +- 27a1cfc8: fix: updated the cli tool to flush logs before exiting +- f25f133f: chore: Segment bundle delay stats by message status +- dab95118: Add rpc to expose LinkCompactStateMessage + explicit handling of type +- 6ceb8f54: add libp2p/peer-store patch to resolve corrupt peer id loads +- Updated dependencies [dab95118] + - @farcaster/hub-nodejs@0.11.17 + ## 1.13.1 ### Patch Changes diff --git a/apps/hubble/package.json b/apps/hubble/package.json index e25bec9435..7adec65df1 100644 --- a/apps/hubble/package.json +++ b/apps/hubble/package.json @@ -1,6 +1,6 @@ { "name": "@farcaster/hubble", - "version": "1.13.1", + "version": "1.13.2", "description": "Farcaster Hub", "author": "", "license": "", @@ -75,7 +75,7 @@ "@chainsafe/libp2p-noise": "^11.0.0 ", "@datastructures-js/priority-queue": "^6.3.1", "@faker-js/faker": "~7.6.0", - "@farcaster/hub-nodejs": "^0.11.16", + "@farcaster/hub-nodejs": "^0.11.17", "@fastify/cors": "^8.4.0", "@figma/hot-shots": "^9.0.0-figma.1", "@grpc/grpc-js": "~1.8.22", diff --git a/apps/hubble/src/console/console.ts b/apps/hubble/src/console/console.ts index 11f750c1a1..5c242f394a 100644 --- a/apps/hubble/src/console/console.ts +++ b/apps/hubble/src/console/console.ts @@ -7,6 +7,8 @@ import { getSSLHubRpcClient, toFarcasterTime, fromFarcasterTime, + bytesToHexString, + hexStringToBytes, } from "@farcaster/hub-nodejs"; import path from "path"; import * as repl from "repl"; @@ -94,6 +96,8 @@ export const startConsole = async (addressString: string, useInsecure: boolean) replServer.context["SyncId"] = SyncId; replServer.context["toFarcasterTime"] = toFarcasterTime; replServer.context["fromFarcasterTime"] = fromFarcasterTime; + replServer.context["bytesToHex"] = bytesToHexString; + replServer.context["hexToBytes"] = hexStringToBytes; // Run the info command to start diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index 391961be94..62a38ce54d 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,11 @@ # @farcaster/core +## 0.14.16 + +### Patch Changes + +- dab95118: Add rpc to expose LinkCompactStateMessage + explicit handling of type + ## 0.14.15 ### Patch Changes diff --git a/packages/core/package.json b/packages/core/package.json index 89448a99e1..8259f46485 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@farcaster/core", - "version": "0.14.15", + "version": "0.14.16", "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", diff --git a/packages/hub-nodejs/CHANGELOG.md b/packages/hub-nodejs/CHANGELOG.md index 07fe953960..ff9306832d 100644 --- a/packages/hub-nodejs/CHANGELOG.md +++ b/packages/hub-nodejs/CHANGELOG.md @@ -1,5 +1,13 @@ # @farcaster/hub-nodejs +## 0.11.17 + +### Patch Changes + +- dab95118: Add rpc to expose LinkCompactStateMessage + explicit handling of type +- Updated dependencies [dab95118] + - @farcaster/core@0.14.16 + ## 0.11.16 ### Patch Changes diff --git a/packages/hub-nodejs/package.json b/packages/hub-nodejs/package.json index 5921e04120..44296167c3 100644 --- a/packages/hub-nodejs/package.json +++ b/packages/hub-nodejs/package.json @@ -1,6 +1,6 @@ { "name": "@farcaster/hub-nodejs", - "version": "0.11.16", + "version": "0.11.17", "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", @@ -20,7 +20,7 @@ "url": "https://github.com/farcasterxyz/hub-monorepo/blob/main/packages/hub-nodejs" }, "dependencies": { - "@farcaster/core": "0.14.15", + "@farcaster/core": "0.14.16", "@grpc/grpc-js": "~1.8.22", "@noble/hashes": "^1.3.0", "neverthrow": "^6.0.0" diff --git a/packages/hub-web/CHANGELOG.md b/packages/hub-web/CHANGELOG.md index e6c95ebeae..f21d5c2432 100644 --- a/packages/hub-web/CHANGELOG.md +++ b/packages/hub-web/CHANGELOG.md @@ -1,5 +1,13 @@ # @farcaster/hub-web +## 0.8.11 + +### Patch Changes + +- dab95118: Add rpc to expose LinkCompactStateMessage + explicit handling of type +- Updated dependencies [dab95118] + - @farcaster/core@0.14.16 + ## 0.8.10 ### Patch Changes diff --git a/packages/hub-web/package.json b/packages/hub-web/package.json index 7695dfda70..ec4e335f40 100644 --- a/packages/hub-web/package.json +++ b/packages/hub-web/package.json @@ -1,6 +1,6 @@ { "name": "@farcaster/hub-web", - "version": "0.8.10", + "version": "0.8.11", "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", @@ -32,7 +32,7 @@ "ts-proto": "^1.146.0" }, "dependencies": { - "@farcaster/core": "^0.14.15", + "@farcaster/core": "^0.14.16", "@improbable-eng/grpc-web": "^0.15.0", "rxjs": "^7.8.0" } diff --git a/packages/shuttle/CHANGELOG.md b/packages/shuttle/CHANGELOG.md index 944a789233..3822a35f65 100644 --- a/packages/shuttle/CHANGELOG.md +++ b/packages/shuttle/CHANGELOG.md @@ -1,5 +1,18 @@ # @farcaster/hub-shuttle +## 0.4.0 + +### Minor Changes + +- ad281729: Link reconciliation now calls the compact state rpc as well + +### Patch Changes + +- 76c0504f: Lower level of shuttle logs to debug +- dab95118: Add rpc to expose LinkCompactStateMessage + explicit handling of type +- Updated dependencies [dab95118] + - @farcaster/hub-nodejs@0.11.17 + ## 0.3.3 ### Patch Changes diff --git a/packages/shuttle/package.json b/packages/shuttle/package.json index 5e1125225b..869f6cec27 100644 --- a/packages/shuttle/package.json +++ b/packages/shuttle/package.json @@ -1,6 +1,6 @@ { "name": "@farcaster/shuttle", - "version": "0.3.3", + "version": "0.4.0", "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", @@ -17,7 +17,7 @@ "license": "MIT", "dependencies": { "@farcaster/hot-shots": "^10.0.0", - "@farcaster/hub-nodejs": "^0.11.16", + "@farcaster/hub-nodejs": "^0.11.17", "kysely": "^0.26.1", "commander": "^11.0.0", "ioredis": "^5.3.2",