-
Notifications
You must be signed in to change notification settings - Fork 448
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!: remove libp2p.keychain #2084
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.
LGTM
Please hold off merging breaking changes until we resolve WebRTC stream closing |
Let's review and merge this once #2104 is resolved.
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. I've targeted the v1 release branch - please can you add some copy to the migration guide to cover these breaking changes.
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.
Dismissed review by accident, just needs migration instructions to help people upgrade.
LGTM. I've targeted the v1 release branch - please can you add some copy to the migration guide to cover these breaking changes.
* refactor!: remove libp2p.keychain * chore: remove @libp2p/keychain dep from libp2p * chore: add migration documentation --------- Co-authored-by: Alex Potsides <[email protected]>
Extract the keychain into it's own package.
Extract the keychain into it's own package.
Extract the keychain into it's own package.
Extract the keychain into it's own package.
Extract the keychain into it's own package.
Extract the keychain into it's own package.
Extract the keychain into it's own package.
Description
Libp2p
interface andLibp2pNode
implementationDuring an in-person discussion, it was found that the keychain has limited use and value being bundled in libp2p.
The rationale is that libp2p should bundle with only functionality required to run its internal machinery related to managing connections, streams, protocols, etc.
The Keychain interface and implementation have NOT been removed, they've been kept. So, users of the Keychain can instantiate one in their application and continue using it.
Change checklist