forked from libp2p/js-libp2p
-
Notifications
You must be signed in to change notification settings - Fork 0
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
[pull] master from libp2p:master #51
Open
pull
wants to merge
4,807
commits into
adamlaska:master
Choose a base branch
from
libp2p:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains 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
achingbrain
force-pushed
the
master
branch
2 times, most recently
from
June 19, 2023 09:46
ab0e398
to
ea8a063
Compare
Related #1776 --------- Co-authored-by: Alex Potsides <[email protected]>
Co-authored-by: Chad Nehemiah <[email protected]>
Some logs are not particularly useful in debugging due to the formatting e.g. ``` libp2p:connection-manager:dial-queue dial to { bytes: [Object] } succeeded +709ms ``` Updated the logs given the changes in libp2p/js-libp2p-logger#36
* deps(dev): bump aegir from 38.1.8 to 39.0.10 Bumps [aegir](https://github.com/ipfs/aegir) from 38.1.8 to 39.0.10. - [Release notes](https://github.com/ipfs/aegir/releases) - [Changelog](https://github.com/ipfs/aegir/blob/master/CHANGELOG.md) - [Commits](ipfs/aegir@v38.1.8...v39.0.10) --- updated-dependencies: - dependency-name: aegir dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * chore: update linting * chore: add missing dep * chore: update deps --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: achingbrain <[email protected]>
## [7.0.2](libp2p/js-libp2p-floodsub@v7.0.1...v7.0.2) (2023-06-27) ### Trivial Changes * Update .github/workflows/semantic-pull-request.yml [skip ci] ([3e98edd](libp2p/js-libp2p-floodsub@3e98edd)) * Update .github/workflows/stale.yml [skip ci] ([95c7400](libp2p/js-libp2p-floodsub@95c7400)) ### Dependencies * **dev:** bump aegir from 38.1.8 to 39.0.10 ([#233](libp2p/js-libp2p-floodsub#233)) ([e073298](libp2p/js-libp2p-floodsub@e073298))
- Reinstates muxer selection header - Restores code fence abouve UPnP section.
Adds interfaces from `@libp2p/interface-pubsub` to `/pubsub` export
* deps(dev): bump aegir from 38.1.8 to 39.0.10 Bumps [aegir](https://github.com/ipfs/aegir) from 38.1.8 to 39.0.10. - [Release notes](https://github.com/ipfs/aegir/releases) - [Changelog](https://github.com/ipfs/aegir/blob/master/CHANGELOG.md) - [Commits](ipfs/aegir@v38.1.8...v39.0.10) --- updated-dependencies: - dependency-name: aegir dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * chore: fix linting --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: achingbrain <[email protected]>
## [7.0.2](libp2p/js-libp2p-pubsub@v7.0.1...v7.0.2) (2023-06-27) ### Trivial Changes * Update .github/workflows/semantic-pull-request.yml [skip ci] ([ab88716](libp2p/js-libp2p-pubsub@ab88716)) * Update .github/workflows/stale.yml [skip ci] ([f032696](libp2p/js-libp2p-pubsub@f032696)) ### Dependencies * **dev:** bump aegir from 38.1.8 to 39.0.10 ([#146](libp2p/js-libp2p-pubsub#146)) ([074e78b](libp2p/js-libp2p-pubsub@074e78b))
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.
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`
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.
There have been a lot of fixes added to webRTC and the interop tests appear more stable so re-add them to every test run. --------- Co-authored-by: Alex Potsides <[email protected]>
Ensure the .close timeline property is set correctly after the sink/source for the stream have both finished.
We use an `abortable-iterator` to race an abort signal against an incoming for streams and connections so we do not wait on slow connections forever. Unfortunately this introduces so much latency it becomes a performance bottleneck, and in all cases we can just add an `abort` listener to the incoming abort signal and close the underlying stream if it fires. Removing the latency added by the abortable iterator reveals that tests using it-pair, it-pushable and friends have many timing issues so it's necessary to ensure we are supplying data to streams as it is required. This opens up the possibility of having backpressure applied to protocol streams by the underlying transports which isn't currently possible.
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.
See Commits and Changes for more details.
Created by pull[bot]
Can you help keep this open source service alive? 💖 Please sponsor : )