Skip to content

Commit

Permalink
chore: Release 1.12 (#1975)
Browse files Browse the repository at this point in the history
## Motivation

Release 1.12

## 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


<!-- start pr-codex -->

---

## PR-Codex overview
This PR bumps version numbers for various packages, introduces new
features, and includes bug fixes and improvements across different
modules.

### Detailed summary
- Bumped version numbers for `@farcaster/core`, `@farcaster/hub-web`,
`@farcaster/hub-nodejs`, and `@farcaster/shuttle`
- Added support for `Link CompactStateMessage` type in shuttle, core,
and hub-web
- Extended verification signature max length in core
- Updated dependencies in various packages
- Made various bug fixes and performance improvements in hubble app

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your
question}`

<!-- end pr-codex -->
  • Loading branch information
sanjayprabhu authored May 1, 2024
1 parent f784afd commit a2e85b1
Show file tree
Hide file tree
Showing 28 changed files with 70 additions and 98 deletions.
5 changes: 0 additions & 5 deletions .changeset/clean-eagles-reflect.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fifty-garlics-tickle.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/giant-monkeys-walk.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/hot-wasps-care.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/late-feet-roll.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/lazy-emus-sit.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/lemon-olives-change.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/neat-bikes-live.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/orange-peas-shop.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/poor-wolves-invite.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/proud-plums-design.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/real-pets-walk.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/shiny-carrots-behave.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/shy-steaks-study.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/silly-bobcats-yell.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/silver-timers-collect.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/tiny-waves-breathe.md

This file was deleted.

26 changes: 26 additions & 0 deletions apps/hubble/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,31 @@
# @farcaster/hubble

## 1.12.0

### Minor Changes

- chore: Release 1.12

### Patch Changes

- 23b94856: fix: Use `PutObject` to upload snapshot chunks to R2
- e3afd5c8: fix: Use priority queue for sync work
- 063d4ed1: fix: sharding events should work when requesting historical events
- ec3b4e76: chore: Cleanup bundles code
- 1642e610: fix: Remove backup fetching for get_node
- 6bec999d: perf: Use multiple workers for validateOrRevokeMessages job
- 93de5d76: fix: Prevent unnecessary decode/encode in rpc APIs
- 089d1d1b: fix: Batch the de-dup check for merging messages
- 006473dd: perf: Improve getSyncMetadataByPrefix performance
- 63742239: chore: Cleanup trie batch inserts to use batches
- 1317f1ce: fix: Use R2 for snapshots
- f0bee818: fix: Batch insert merkle trie updates
- 45cf3f40: fix(hubble): Add startup check for hub to verify gRPC port is reachable from public internet. Reachable address is required for hub to perform diff sync via gRPC API and sync with the network. Hub operators may need to enable port-forwarding of traffic to hub's host and port if they are behind a NAT. Startup check emits warning for now, but may be enforced in the future.
- 5778e3a1: perf: Disable WAL when generating snapshots
- 7b374890: feat: Add Link CompactStateMessage type for link compaction
- Updated dependencies [7b374890]
- @farcaster/hub-nodejs@0.11.11

## 1.11.8

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions apps/hubble/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@farcaster/hubble",
"version": "1.11.8",
"version": "1.12.0",
"description": "Farcaster Hub",
"author": "",
"license": "",
Expand Down Expand Up @@ -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.10",
"@farcaster/hub-nodejs": "^0.11.11",
"@fastify/cors": "^8.4.0",
"@figma/hot-shots": "^9.0.0-figma.1",
"@grpc/grpc-js": "~1.8.21",
Expand Down
3 changes: 2 additions & 1 deletion apps/hubble/src/hubble.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export const SNAPSHOT_S3_UPLOAD_BUCKET = "farcaster-snapshots";
export const SNAPSHOT_S3_DOWNLOAD_BUCKET = "download.farcaster.xyz";
export const S3_REGION = "auto";

export const FARCASTER_VERSION = "2024.3.20";
export const FARCASTER_VERSION = "2024.5.1";
export const FARCASTER_VERSIONS_SCHEDULE: VersionSchedule[] = [
{ version: "2023.3.1", expiresAt: 1682553600000 }, // expires at 4/27/23 00:00 UTC
{ version: "2023.4.19", expiresAt: 1686700800000 }, // expires at 6/14/23 00:00 UTC
Expand All @@ -117,6 +117,7 @@ export const FARCASTER_VERSIONS_SCHEDULE: VersionSchedule[] = [
{ version: "2023.12.27", expiresAt: 1708473600000 }, // expires at 2/21/24 00:00 UTC
{ version: "2024.2.7", expiresAt: 1712102400000 }, // expires at 4/3/24 00:00 UTC
{ version: "2024.3.20", expiresAt: 1715731200000 }, // expires at 5/15/24 00:00 UTC
{ version: "2024.5.1", expiresAt: 1719360000000 }, // expires at 6/26/24 00:00 UTC
];

const MAX_CONTACT_INFO_AGE_MS = GOSSIP_SEEN_TTL;
Expand Down
7 changes: 7 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @farcaster/core

## 0.14.11

### Patch Changes

- ab9258af: feat: extend verification signature max length
- 7b374890: feat: Add Link CompactStateMessage type for link compaction

## 0.14.10

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@farcaster/core",
"version": "0.14.10",
"version": "0.14.11",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
Expand Down
9 changes: 9 additions & 0 deletions packages/hub-nodejs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @farcaster/hub-nodejs

## 0.11.11

### Patch Changes

- 7b374890: feat: Add Link CompactStateMessage type for link compaction
- Updated dependencies [ab9258af]
- Updated dependencies [7b374890]
- @farcaster/core@0.14.11

## 0.11.10

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/hub-nodejs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@farcaster/hub-nodejs",
"version": "0.11.10",
"version": "0.11.11",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
Expand All @@ -20,7 +20,7 @@
"url": "https://github.com/farcasterxyz/hub-monorepo/blob/main/packages/hub-nodejs"
},
"dependencies": {
"@farcaster/core": "0.14.10",
"@farcaster/core": "0.14.11",
"@grpc/grpc-js": "~1.8.21",
"@noble/hashes": "^1.3.0",
"neverthrow": "^6.0.0"
Expand Down
9 changes: 9 additions & 0 deletions packages/hub-web/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @farcaster/hub-web

## 0.8.8

### Patch Changes

- 7b374890: feat: Add Link CompactStateMessage type for link compaction
- Updated dependencies [ab9258af]
- Updated dependencies [7b374890]
- @farcaster/core@0.14.11

## 0.8.7

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/hub-web/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@farcaster/hub-web",
"version": "0.8.7",
"version": "0.8.8",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
Expand Down Expand Up @@ -32,7 +32,7 @@
"ts-proto": "^1.146.0"
},
"dependencies": {
"@farcaster/core": "^0.14.10",
"@farcaster/core": "^0.14.11",
"@improbable-eng/grpc-web": "^0.15.0",
"rxjs": "^7.8.0"
}
Expand Down
8 changes: 8 additions & 0 deletions packages/shuttle/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @farcaster/hub-shuttle

## 0.2.8

### Patch Changes

- f784afd2: feat: support link compact state message in shuttle
- Updated dependencies [7b374890]
- @farcaster/hub-nodejs@0.11.11

## 0.2.7

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/shuttle/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@farcaster/shuttle",
"version": "0.2.7",
"version": "0.2.8",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
Expand All @@ -17,7 +17,7 @@
"license": "MIT",
"dependencies": {
"@farcaster/hot-shots": "^10.0.0",
"@farcaster/hub-nodejs": "^0.11.10",
"@farcaster/hub-nodejs": "^0.11.11",
"commander": "^11.0.0",
"ioredis": "^5.3.2",
"neverthrow": "^6.0.0",
Expand Down

0 comments on commit a2e85b1

Please sign in to comment.