From 59bcfe7fbaa58d5693414d633533898c31c976e9 Mon Sep 17 00:00:00 2001 From: Wasif Iqbal Date: Sun, 30 Jun 2024 17:05:49 -0500 Subject: [PATCH] chore: release 1.13.5 (#2114) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Motivation - Reduce network bandwidth with gossip improvements - Support experimental sync APIs (note: may be removed or significantly altered in the future) ## Change Summary - Update p2p gossip to reduce unnecessary contact updates - Add experimental sync control APIs ## 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) - [x] 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 This PR updates versions and adds endpoints for sync control in `hub-web` and `hub-nodejs`, and includes various improvements and fixes in the `hubble` app. ### Detailed summary - Updated `hub-web` version to 0.8.12 - Updated `hub-nodejs` version to 0.11.19 - Added endpoints for sync control - Improved gossip contact info frequency in `hubble` app - Added experimental HTTP APIs for sync control in `hubble` app > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` --- .changeset/cold-kids-compete.md | 5 ----- .changeset/sweet-students-rule.md | 7 ------- .changeset/tiny-kangaroos-refuse.md | 5 ----- apps/hubble/CHANGELOG.md | 10 ++++++++++ apps/hubble/package.json | 4 ++-- packages/hub-nodejs/CHANGELOG.md | 6 ++++++ packages/hub-nodejs/package.json | 2 +- packages/hub-web/CHANGELOG.md | 6 ++++++ packages/hub-web/package.json | 2 +- 9 files changed, 26 insertions(+), 21 deletions(-) delete mode 100644 .changeset/cold-kids-compete.md delete mode 100644 .changeset/sweet-students-rule.md delete mode 100644 .changeset/tiny-kangaroos-refuse.md diff --git a/.changeset/cold-kids-compete.md b/.changeset/cold-kids-compete.md deleted file mode 100644 index fb5811967b..0000000000 --- a/.changeset/cold-kids-compete.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@farcaster/hubble": patch ---- - -fix: gossip contact info every 30 minutes instead of every minute, avoid gossiping contact info on peer connect, skip contact info updates that happen too frequently diff --git a/.changeset/sweet-students-rule.md b/.changeset/sweet-students-rule.md deleted file mode 100644 index 85b4fed73c..0000000000 --- a/.changeset/sweet-students-rule.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@farcaster/hub-nodejs": patch -"@farcaster/hub-web": patch -"@farcaster/hubble": patch ---- - -feat: Add endpoints to control sync diff --git a/.changeset/tiny-kangaroos-refuse.md b/.changeset/tiny-kangaroos-refuse.md deleted file mode 100644 index 582f067b23..0000000000 --- a/.changeset/tiny-kangaroos-refuse.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@farcaster/hubble": patch ---- - -feat: add experimental HTTP APIs to control sync diff --git a/apps/hubble/CHANGELOG.md b/apps/hubble/CHANGELOG.md index 58d4478246..6095ce38c7 100644 --- a/apps/hubble/CHANGELOG.md +++ b/apps/hubble/CHANGELOG.md @@ -1,5 +1,15 @@ # @farcaster/hubble +## 1.13.5 + +### Patch Changes + +- 224e75fa: fix: gossip contact info every 30 minutes instead of every minute, avoid gossiping contact info on peer connect, skip contact info updates that happen too frequently +- c723f655: feat: Add endpoints to control sync +- 667a5b30: feat: add experimental HTTP APIs to control sync +- Updated dependencies [c723f655] + - @farcaster/hub-nodejs@0.11.19 + ## 1.13.4 ### Patch Changes diff --git a/apps/hubble/package.json b/apps/hubble/package.json index 6b429db7af..a9c1cab45e 100644 --- a/apps/hubble/package.json +++ b/apps/hubble/package.json @@ -1,6 +1,6 @@ { "name": "@farcaster/hubble", - "version": "1.13.4", + "version": "1.13.5", "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.18", + "@farcaster/hub-nodejs": "^0.11.19", "@fastify/cors": "^8.4.0", "@figma/hot-shots": "^9.0.0-figma.1", "@grpc/grpc-js": "~1.8.22", diff --git a/packages/hub-nodejs/CHANGELOG.md b/packages/hub-nodejs/CHANGELOG.md index 0ec634cbe4..86cafe0fd2 100644 --- a/packages/hub-nodejs/CHANGELOG.md +++ b/packages/hub-nodejs/CHANGELOG.md @@ -1,5 +1,11 @@ # @farcaster/hub-nodejs +## 0.11.19 + +### Patch Changes + +- c723f655: feat: Add endpoints to control sync + ## 0.11.18 ### Patch Changes diff --git a/packages/hub-nodejs/package.json b/packages/hub-nodejs/package.json index 0def7f2516..31acf123c5 100644 --- a/packages/hub-nodejs/package.json +++ b/packages/hub-nodejs/package.json @@ -1,6 +1,6 @@ { "name": "@farcaster/hub-nodejs", - "version": "0.11.18", + "version": "0.11.19", "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", diff --git a/packages/hub-web/CHANGELOG.md b/packages/hub-web/CHANGELOG.md index f21d5c2432..c41ce08981 100644 --- a/packages/hub-web/CHANGELOG.md +++ b/packages/hub-web/CHANGELOG.md @@ -1,5 +1,11 @@ # @farcaster/hub-web +## 0.8.12 + +### Patch Changes + +- c723f655: feat: Add endpoints to control sync + ## 0.8.11 ### Patch Changes diff --git a/packages/hub-web/package.json b/packages/hub-web/package.json index ec4e335f40..1610bad74d 100644 --- a/packages/hub-web/package.json +++ b/packages/hub-web/package.json @@ -1,6 +1,6 @@ { "name": "@farcaster/hub-web", - "version": "0.8.11", + "version": "0.8.12", "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "./dist/index.d.ts",