Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: libp2p/js-libp2p
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: prometheus-metrics-v3.0.21
Choose a base ref
...
head repository: libp2p/js-libp2p
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: prometheus-metrics-v3.0.22
Choose a head ref
  • 10 commits
  • 143 files changed
  • 4 contributors

Commits on Apr 25, 2024

  1. deps: bump node-datachannel from 0.7.0 to 0.8.0 (#2504)

    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Chad Nehemiah <chad.nehemiah94@gmail.com>
    dependabot[bot] and maschad authored Apr 25, 2024
    Copy the full SHA
    90cfd25 View commit details

Commits on Apr 26, 2024

  1. feat: add random walk component (#2501)

    To allow finding network services, add a random walk component that
    lets services find random network peers in a scalable way.
    
    If two services try to random walk at the same time, they will share
    the results.
    achingbrain authored Apr 26, 2024
    Copy the full SHA
    998fcaf View commit details
  2. feat: add bloom filter (#2507)

    Adds a bloom filter implementation to `@libp2p/utils` for use in
    libp2p components.
    achingbrain authored Apr 26, 2024
    Copy the full SHA
    e1923b0 View commit details
  3. feat: add peer filter (#2508)

    To make filtering peers in a memory-efficient way possible, add a
    peer filter based on a bloom filter using the binary representation
    of the peer id.
    
    ---------
    
    Co-authored-by: Russell Dempsey <1173416+SgtPooki@users.noreply.github.com>
    achingbrain and SgtPooki authored Apr 26, 2024
    Copy the full SHA
    4afd7a9 View commit details

Commits on Apr 29, 2024

  1. fix: return self in FIND_NODE for self (#2512)

    Partial revert of #2499
    
    If a node is queried for it's own peer id, return it's own peer
    info.
    
    This is necessary because since libp2p/go-libp2p-kad-dht#820
    go-libp2p-kad-dht won't add a peer to it's routing tables that
    doesn't have any DHT peers that are KAD-futher from it's own ID
    already.
    achingbrain authored Apr 29, 2024
    Copy the full SHA
    9e9a32b View commit details

Commits on Apr 30, 2024

  1. fix: begin routing table refresh after routing table has started (#2511)

    Fixes an error in the logs where we try to refresh the routing table
    before it's started.
    
    Switch to doing it in `afterStart` so the routing table is available.
    achingbrain authored Apr 30, 2024
    Copy the full SHA
    3bc94b4 View commit details
  2. feat: add cuckoo filter (#2510)

    Add a filter type that lets us efficiently remove items as well as
    add them.
    
    It would be better to use the `bloom-filters` module at this point
    but it adds 50KB+ to browser bundles for very simple use cases so
    it's not suitable.  We can revisit if Callidon/bloom-filters#70
    is ever resolved.
    achingbrain authored Apr 30, 2024
    Copy the full SHA
    3d7a9da View commit details
  3. fix: support validating asymmetric addresses (#2515)

    Some transports can listen on addresses that validate differently
    to ones that they dial.
    
    For example WebTransport requires cert hashes to dial but can generate
    them and add them to the listened-on address when listening.
    
    Splits the `.filter` method into `dialFilter` and `listenFilter`.
    achingbrain authored Apr 30, 2024
    Copy the full SHA
    c824323 View commit details

Commits on May 1, 2024

  1. fix: WebTransport stream now extends abstract stream (#2514)

    The PR pulls all of the non-`@fails/webtransport` parts out of #2422
    
    There's a lot of work that's been done to re-use existing libp2p
    code such as the abstract stream class which handles a lot more
    closing scenarios than the existing implementation so it would be
    good to get that in.
    achingbrain authored May 1, 2024
    Copy the full SHA
    de3f7ae View commit details
  2. chore: release main (#2506)

    achingbrain authored May 1, 2024
    Copy the full SHA
    2374e7d View commit details
Loading