-
Notifications
You must be signed in to change notification settings - Fork 481
chore: release v1.0.0 #2144
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
Closed
Closed
chore: release v1.0.0 #2144
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Closed
66fbdb9
to
ce6ee74
Compare
9a15061
to
e99f66b
Compare
Co-authored-by: Chad Nehemiah <[email protected]> Co-authored-by: Cayman <[email protected]>
Once upon a time these options were intended to cause libp2p to close connections or search for more peers that support a given protocol but it was never implemented. Remove the options since they don't do anything, they may be restored in future if the functionality is ever required.
Extract the keychain into it's own package.
Co-authored-by: chad <[email protected]>
A [PeerInfo](https://docs.libp2p.io/concepts/fundamentals/peers/#peer-info) is a libp2p object that combines a PeerID and some Multiaddrs. We also add a list of protocols. This was a mistake because protocols are exchanged during Identify but the PeerInfo object is used for peer discovery. This is evident because we set the protocol list to an empty array everywhere. PeerInfo is useful for exchanging peer data with other nodes, if we need a more fleshed-out peer representation we'd use the `Peer` interface from the peer store. BREAKING CHANGE: the `.protocols` property has been removed from the `PeerInfo` interface
We have an `isStarted` method on the `Startable` interface but we only really use it in tests. Our implementations tend to guard on being started twice so it just adds noise to every implementation. BREAKING CHANGE: the `isStarted` method has been removed from the `Startable` interface
Removes version config overrides so release-please will give us a v1 for libp2p.
Splits out UPnP NAT service module. BREAKING CHANGE: imports from `libp2p/upnp-nat` should be updated to `@libp2p/upnp-nat`
BREAKING CHANGE: imports from `libp2p/ping` must be updated to `@libp2p/ping`
BREAKING CHANGE: imports from `libp2p/identify` need to change to `@libp2p/identify`
BREAKING CHANGE: imports from `libp2p/dcutr` now need to be from `@libp2p/dcutr`
BREAKING CHANGE: imports from `libp2p/plaintext` should be changed to `@libp2p/plaintext`
BREAKING CHANGE: imports from `libp2p/circuit-relay` should be updated to `@libp2p/circuit-relay-v2`
BREAKING CHANGE: imports from `libp2p/fetch` should be updated to `@libp2p/fetch`
Restores tests that need to spin up one or more libp2p nodes to complete. Eventually most `*.node.js` tests from the libp2p package should migrate here.
Removes the redundant `Service` from perf exports in line with other changes to modules in v1. BREAKING CHANGE: the `perfService` export is now just `perf`
d39bc23
to
d7d004e
Compare
Refactors all components to accept a `ComponentLogger` that lets us prefix log lines with peer ids/arbitrary strings, etc.
This was accidentally published as v1 already - the package on npm was deleted immediately but npm doesn't allow republishing over old versions no matter how quickly they were deleted.
The timing has changed on these tests has changed to do a release of `it-foreach` which now does not introduce artificial async when calling the each method.
These commits are all in master now. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR is not for merging, just to surface the changes that will go into that release.
When we are ready to release, I will merge this locally, rebase on top of master & push. This should preserve each PR commit that targets this branch.