Skip to content

Commit

Permalink
chore: Cut Hubble version 1.4.4 and other package upgrades (#1228)
Browse files Browse the repository at this point in the history
  • Loading branch information
sds authored Aug 7, 2023
1 parent 2df3849 commit 505790b
Show file tree
Hide file tree
Showing 33 changed files with 97 additions and 143 deletions.
5 changes: 0 additions & 5 deletions .changeset/brave-steaks-change.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/breezy-swans-brake.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/cyan-foxes-wave.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/dull-glasses-admire.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/empty-eggs-cough.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fifty-feet-punch.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/friendly-icons-sip.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/healthy-ghosts-hide.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/heavy-pants-poke.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/itchy-carrots-tap.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/khaki-clouds-attack.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/light-chairs-approve.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/little-fans-sort.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/nervous-rivers-love.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/rare-bags-reflect.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/rude-rabbits-tease.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/smart-hotels-punch.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/spicy-lamps-swim.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/swift-ways-hear.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/thirty-radios-search.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tidy-needles-greet.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/tidy-panthers-speak.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tiny-bears-peel.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/young-lobsters-peel.md

This file was deleted.

6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -284,12 +284,12 @@ are at all unsure about how to proceed, please reach out to Varun ([Github](http

### 3.7 Working in Rust

Some of the CPU intensive code is written in Rust for speed. We import the Rust modules via [Neon](https://neon-bindings.com/) that are built as a part of the `@farcaster/core` package.
Some of the CPU intensive code is written in Rust for speed. We import the Rust modules via [Neon](https://neon-bindings.com/) that are built as a part of the `@farcaster/core` package.

To add new code to Rust,
To add new code to Rust,
1. Add it to `packages/core/src/addon/`
2. Add a bridge implementation and types into `packages/core/src/addon/addon.js` and `packages/core/src/addon/addon.d.ts`
3. Export the callable typescript function in `packages/core/src/rustfunctions.ts`. This function can then be used throught the project to transparently call into Rust from Typescript
3. Export the callable typescript function in `packages/core/src/rustfunctions.ts`. This function can then be used throught the project to transparently call into Rust from Typescript

## 4. Troubleshooting

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

## 1.4.4

### Patch Changes

- 083762e5: feat: Improve profiler for gen messages and storage
- 63260785: fix: Bugfix where testnet would restrict peers
- 40c17c9b: feat: Add fallback bootstrap peers for mainnet
- d443fbe9: Adds support for logging would-be-pruned events, plus handles extra storage if purchased
- 571e5434: fix: Fetch network config only for mainnet
- c7ec4ca9: feat: revoke signers 1hr after custody event
- ec7734cf: feat: Move blake3 hash into rust
- 996be825: fix: handle revoking on chain signer and make l2 options customizable
- 1e0979b0: feat: Rate limit merges per FID to the total messages storage available for the FID
- 503b379d: feat: Check integrity of messages during sync
- b9efe14a: feat: validate name proofs against fids rather than custody address to enable smoother fid recovery process
- 65a4faff: feat: Create a deny list for PeerIDs
- a1b9aced: fix: Limit the number of simultaneous subscribe() streams by IP address
- 3f180073: chore: Update grpc-js and setup grpc server timeouts
- dcd7a149: feat: support migrating to l2
- 39e0141d: fix: Fix the TestData generation for testnet
- b598c4a2: feat: Add libp2p gossip server profiler
- 9ae366b7: fix: Fix onchain event subscription not sending events correctly
- 9f669b57: feat: Scale validation workers by number of CPUs and add a RPC profiler
- 2df38497: feat: Deprecate time based pruning in sets
- 67e9466e: feat: refactor storage rent events to on chain events
- 50a6b8ac: Adjusted rent prune log to debug instead of warn
- 86149d32: Added storage limits RPC
- Updated dependencies [3f180073]
- Updated dependencies [dcd7a149]
- Updated dependencies [67e9466e]
- Updated dependencies [86149d32]
- @farcaster/hub-nodejs@0.10.0

## 1.4.3

### 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.4.3",
"version": "1.4.4",
"description": "Farcaster Hub",
"author": "",
"license": "",
Expand Down Expand Up @@ -54,7 +54,7 @@
"@chainsafe/libp2p-gossipsub": "6.1.0",
"@chainsafe/libp2p-noise": "^11.0.0 ",
"@faker-js/faker": "~7.6.0",
"@farcaster/hub-nodejs": "^0.9.1",
"@farcaster/hub-nodejs": "^0.10.0",
"@farcaster/rocksdb": "^5.5.0",
"@grpc/grpc-js": "~1.8.21",
"@libp2p/interface-connection": "^3.0.2",
Expand Down
13 changes: 13 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# @farcaster/core

## 0.12.0

### Minor Changes

- 86149d32: Added storage limits RPC

### Patch Changes

- ec7734cf: feat: Move blake3 hash into rust
- 15fad467: feat: Add Rust to the toolchain and use rust for ed25519 signature verification
- dcd7a149: feat: support migrating to l2
- 67e9466e: feat: refactor storage rent events to on chain events

## 0.11.1

### Patch Changes
Expand Down
6 changes: 4 additions & 2 deletions packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@farcaster/core",
"version": "0.11.1",
"version": "0.12.0",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
Expand All @@ -11,7 +11,9 @@
"types": "./dist/index.d.ts"
}
},
"files": ["dist"],
"files": [
"dist"
],
"license": "MIT",
"dependencies": {
"@noble/curves": "^1.0.0",
Expand Down
18 changes: 18 additions & 0 deletions packages/hub-nodejs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# @farcaster/hub-nodejs

## 0.10.0

### Minor Changes

- 86149d32: Added storage limits RPC

### Patch Changes

- 3f180073: chore: Update grpc-js and setup grpc server timeouts
- dcd7a149: feat: support migrating to l2
- 67e9466e: feat: refactor storage rent events to on chain events
- Updated dependencies [ec7734cf]
- Updated dependencies [15fad467]
- Updated dependencies [dcd7a149]
- Updated dependencies [67e9466e]
- Updated dependencies [86149d32]
- @farcaster/core@0.12.0

## 0.9.1

### Patch Changes
Expand Down
8 changes: 5 additions & 3 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.9.1",
"version": "0.10.0",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
Expand All @@ -11,10 +11,12 @@
"types": "./dist/index.d.ts"
}
},
"files": ["dist"],
"files": [
"dist"
],
"license": "MIT",
"dependencies": {
"@farcaster/core": "0.11.1",
"@farcaster/core": "0.12.0",
"@grpc/grpc-js": "~1.8.21",
"@noble/hashes": "^1.3.0",
"neverthrow": "^6.0.0"
Expand Down
17 changes: 17 additions & 0 deletions packages/hub-web/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
# @farcaster/hub-web

## 0.6.0

### Minor Changes

- 86149d32: Added storage limits RPC

### Patch Changes

- dcd7a149: feat: support migrating to l2
- 67e9466e: feat: refactor storage rent events to on chain events
- Updated dependencies [ec7734cf]
- Updated dependencies [15fad467]
- Updated dependencies [dcd7a149]
- Updated dependencies [67e9466e]
- Updated dependencies [86149d32]
- @farcaster/core@0.12.0

## 0.5.0

### Minor 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.5.0",
"version": "0.6.0",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
Expand Down Expand Up @@ -29,7 +29,7 @@
"ts-proto": "^1.146.0"
},
"dependencies": {
"@farcaster/core": "^0.11.0",
"@farcaster/core": "^0.12.0",
"@improbable-eng/grpc-web": "^0.15.0",
"rxjs": "^7.8.0"
}
Expand Down

0 comments on commit 505790b

Please sign in to comment.