-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: async migration #49
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🥇 thanks for this PR
BREAKING CHANGE: Switch to using async/await and async iterators for all the API. Moreover, gossipsub does not need the libp2p instance anymore, receiving a registerar that enables it to receive the necessary events from libp2p
e559614
to
3027835
Compare
Codecov Report
@@ Coverage Diff @@
## master #49 +/- ##
==========================================
- Coverage 84.07% 83.64% -0.44%
==========================================
Files 8 8
Lines 515 483 -32
==========================================
- Hits 433 404 -29
+ Misses 82 79 -3
Continue to review full report at Codecov.
|
9012ca9
to
b6c89de
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
b6c89de
to
5e45409
Compare
b61a29a
to
5680050
Compare
5680050
to
5b7e14a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other than one tiny thing, LGTM! Very excited to see all of the async work land 🎉
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good from my end 👍
@wemeetagain for the async refactor modules we have been doing npm releases with the beta
dist-tag instead of latest
to avoid people accidentally trying to use it with the current version of libp2p, which will also let us just change the dist-tags when everything is ready to go live. If you have a different approach you would prefer, we can work around that while we do integration and interop testing.
3de6f46
@jacobheun thanks for the heads up. Sounds like a good plan. 💪 |
@wemeetagain @GregTheGreek will you be able to get a release as jacob suggested during the begining of this week? |
Yep, I'll get a release under beta Tomorrow |
BREAKING CHANGE: Switch to using async/await and async iterators for all the API. Moreover, gossipsub does not need the libp2p instance anymore, receiving a registerar that enables it to receive the necessary events from libp2p
Needs
With this migration, I also enabled all browser tests except for the gossip ones 🎉