Skip to content
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
wants to merge 4,807 commits into
base: master
Choose a base branch
from
Open

[pull] master from libp2p:master #51

wants to merge 4,807 commits into from

Conversation

pull[bot]
Copy link

@pull pull bot commented Sep 22, 2022

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

@pull pull bot added the ⤵️ pull label Sep 22, 2022
@achingbrain achingbrain force-pushed the master branch 2 times, most recently from ab0e398 to ea8a063 Compare June 19, 2023 09:46
maschad and others added 13 commits June 19, 2023 16:35
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))
github-actions bot and others added 22 commits November 10, 2023 06:35
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.
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.
maschad and others added 4 commits November 15, 2023 12:27
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.