Commit Graph

600 Commits

Author SHA1 Message Date
Paul Fletcher-Hill
c5a6aac6e4 changeset version (#889) @farcaster/core@0.7.0 @farcaster/hubble@1.2.0 @farcaster/hub-web@0.3.0 @farcaster/hub-nodejs@0.7.0 2023-04-19 00:43:57 -04:00
Paul Fletcher-Hill
87b2789124 feat: support arbitrary target types (#847)
* support CastId embeds, url parents and reaction targets

* docs(changeset): support CastId embeds, cast parent URLs, and reaction target URLs

* fix validations test

* add version and embeds deprecated validation

* docs(changeset): upgrade to protocol version 2023.4.19

* update protobuf generated code

* add reaction service tests

* add more examples to builder tests

* add more cast and reaction tests
2023-04-18 23:10:13 -04:00
Sanjay
aabe4f21bb chore: fail the build if current version is too close to expiry (#888) 2023-04-18 18:11:45 -07:00
Sanjay
a027a3ed63 fix: compact the db occasionally when syncing to avoid db bloat (#884)
* fix: compact the db occasionally when syncing to avoid db bloat

* Additional tests and logging

* add changeset
2023-04-18 15:25:47 -07:00
Milo Watanabe
fbb78de341 add new mainnet hub (#880) 2023-04-18 11:51:46 -07:00
David Furlong
a67c7c2d6e Update allowedPeers.mainnet.ts (#886) 2023-04-18 11:49:08 -07:00
Paul Fletcher-Hill
0cb0a522b2 chore: re-organize sync engine to use submitMessage rather than mergeMessage (#878)
* upgrade hub-web in examples and move gossip to hubble

* use submitMessage for sync

* simplify logging in sync engine

* remove sync related methods from storage engine

* cleanup imports and remove test methods

* add changeset
2023-04-18 00:49:57 -04:00
Anthony D'Addeo
8a733e5243 chore: add checklist item to sign commits (#879)
* chore: add checklist item to sign commits

* Update PULL_REQUEST_TEMPLATE.md
2023-04-16 21:16:56 -05:00
github-actions[bot]
3be3a3842e version packages (#875)
Co-authored-by: Paul Fletcher-Hill <pfletcherhill@gmail.com>
@farcaster/hub-web@0.2.5
2023-04-14 11:58:16 -04:00
Paul Fletcher-Hill
ee953ec4ad fix: examples and patch hub-web to use grpc-web default export (#867)
* fix chron-feed example

* update chron-feed example

* intermediate commit

* add chron-feed hub-web example

* add changeset

* remove commented out imports from example
2023-04-14 11:16:21 -04:00
Paul Fletcher-Hill
59ea2f9d42 add release-all script (#871) 2023-04-13 00:10:07 -04:00
Paul Fletcher-Hill
31fcb95f12 chore: add release.yml github action (#870)
* add release-hubble workflow

* rename release
2023-04-12 23:44:41 -04:00
Paul Fletcher-Hill
8a7e781fae changeset version hubble v1.1.0 (#869) @farcaster/hubble@1.1.0 2023-04-12 21:31:11 -04:00
Sanjay
34fe54f3cc feat: Include network id in gossip topics to keep networks isolated (#861)
* chore: cleaner logging when ignoring peers

* feat: Include network id in gossip topics to keep peers homogeneous

* Add changeset
2023-04-12 16:27:14 -07:00
Sanjay
c5c0d98247 chore: Add mainnet peer for sanjay (#868) 2023-04-12 15:04:01 -07:00
Sanjay
8758ef2e1a chore: log sync status for better visibility (#865)
* fix: log sync status for better visibility

* Add peer version and network to sync status logs
2023-04-12 14:05:15 -07:00
Varun Srinivasan
eba6c749de fix: label new issues with triage (#866) 2023-04-12 08:25:39 -07:00
Satyajeet Pal
f89fe7f982 docs: update examples for making casts and writing data (#834) 2023-04-12 06:25:01 -07:00
Vincent Liao
3be37fe8c0 docs: add error code in Utils.md (#773) 2023-04-12 06:20:56 -07:00
Greg Skriloff
9cdb60a8fb docs: Correct steps to reset db in hubble readme (#848) 2023-04-12 06:18:30 -07:00
Paul Fletcher-Hill
ccc6c54261 add on to release-packages workflow (#864) 2023-04-11 22:48:04 -04:00
Paul Fletcher-Hill
39387aa702 add release-packages workflow (#862) 2023-04-11 22:28:54 -04:00
Varun Srinivasan
503740d25a chore: add peer ids for trusted mainnet hubs from users (#858) 2023-04-11 15:29:42 -07:00
Paul Fletcher-Hill
d25b7038b6 changeset version @farcaster/hub-web (#859) 2023-04-11 17:58:18 -04:00
Paul Fletcher-Hill
932f0ef392 chore: add hub-web docs (#857) 2023-04-11 14:09:39 -04:00
Paul Fletcher-Hill
6e5449acb2 fix: do not change observable stream in grpc-web client (#856)
* do not change observable stream in grpc-web client

* add changeset
2023-04-11 13:31:18 -04:00
adityapk00
0a3b09c960 Killstream (#843)
* fix: Kill streams if client is not responding

* end iterator

* log error and return error with destroy

---------

Co-authored-by: Paul Fletcher-Hill <pfletcherhill@gmail.com>
2023-04-10 19:46:24 -04:00
Paul Fletcher-Hill
1c6838ac7b upgrade turbo and add protoc command (#853) 2023-04-10 18:56:04 -04:00
Varun Srinivasan
8f01e2312a ci: auto-label all new issues with s-triage (#854) 2023-04-10 13:59:07 -07:00
Sanjay
31d8917f66 feat: make commit lock queue size and timeout configurable (#830)
* feat: make commit lock queue size and timeout configurable

* Add changeset

* make StorageCache a child of StoreEventHandler

---------

Co-authored-by: Paul Fletcher-Hill <pfletcherhill@gmail.com>
2023-04-10 15:17:22 -04:00
Sanjay
562b9639b1 chore: Add test to ensure verification and claim must have same network (#836)
* chore: Add test to ensure verification and claim must have same network

* cleanup
2023-04-10 09:58:14 -07:00
adityapk00
a3b0d098ec chore: Check in mainnet allowed peers (#844)
* chore: Check in mainnet allowed peers

* changeset
2023-04-07 12:42:42 -07:00
Paul Fletcher-Hill
9e3ca99b19 minor fix to root readme (#842) 2023-04-07 15:05:00 -04:00
adityapk00
25c768d943 fix: Hangup on peers when removing from address book (#841)
* fix: Hangup on peers while removing from address book.

* changeset

* test disconnect both ways

* sleep
2023-04-07 10:38:21 -07:00
adityapk00
0fbbbccf24 fix: Make dbreset its own command (#838) 2023-04-07 07:59:01 -07:00
Varun Srinivasan
038a647bd7 chore: release new versions (#839) @farcaster/hubble@1.0.22 @farcaster/core@0.6.1 @farcaster/hub-nodejs@0.6.3 @farcaster/hub-web@0.2.3 2023-04-06 17:47:33 -07:00
Sanjay
edea195dba feat: ensure hub networks match when syncing with peers (#837)
* feat: ensure hub networks match when syncing with peers

* send the network when gossiping
2023-04-06 17:29:20 -07:00
Sanjay
d12ed86add fix: handle invalid version strings (#833)
* fix: handle invalid version string

* simplify version check
2023-04-06 11:53:27 -07:00
Paul Fletcher-Hill
833c4cc0b4 fix: map grpc error codes to hub error codes (#832)
* map grpc codes to hub error codes

* add changeset
2023-04-06 13:42:35 -04:00
Paul Fletcher-Hill
52035aa031 run changeset version (#826) 2023-04-05 20:22:47 -04:00
PangZhi
b6508b9aca update readme (#829) 2023-04-05 17:19:56 -07:00
PangZhi
74ec2526e5 fix: add grpc error code as fallback (#828)
* add grpc error code as fallback

* add changeset
2023-04-05 17:12:59 -07:00
PangZhi
7d58347545 fiix error code for no connection (#827) 2023-04-05 16:49:49 -07:00
adityapk00
d0fa584e7a fix: Log cases where the subscribe stream is not being consumed (#825) 2023-04-05 14:15:05 -07:00
PangZhi
7194054d24 chore: export getAuthMetadata & getHubRpcClient (#822)
* export getAuthMetadata

* add changeset

* expose getHubRpcClient

* update error logging and readme

* update changeset

* fix errorcode

* fix typo
2023-04-05 13:38:13 -07:00
Sanjay
7aad7542ca Fix build due to merge conflict with main (#824) 2023-04-05 12:49:42 -07:00
Sanjay
8bf29bc209 feat: prune unreachable peers and periodically gossip contact info (#817) 2023-04-05 10:00:09 -07:00
PangZhi
9f0dc6a0bb chore: enable getSSLHubRpcClient (#821)
* enable getSSLHubRpcClient

* add changeset
2023-04-05 08:08:00 -07:00
Paul Fletcher-Hill
64418e9495 changeset version (#820) 2023-04-04 23:28:23 -04:00
Paul Fletcher-Hill
1e4e5ba522 chore: update tsup configs (#819)
* update tsup configs

* add more browser options

* add changeset

* update browser versions
2023-04-04 23:21:01 -04:00