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

sync to rust-libp2p/master #566

Merged
merged 76 commits into from
Jan 15, 2024
Merged

sync to rust-libp2p/master #566

merged 76 commits into from
Jan 15, 2024

Commits on Nov 29, 2023

  1. ci: unset RUSTFLAGS value in semver job

    Don't fail semver-checking if a dependency version has warnings, such as deprecation notices.
    
    Related: libp2p#4932 (comment).
    Related: obi1kenobi/cargo-semver-checks#589.
    
    Pull-Request: libp2p#4942.
    obi1kenobi authored Nov 29, 2023
    Configuration menu
    Copy the full SHA
    543408b View commit details
    Browse the repository at this point in the history

Commits on Nov 30, 2023

  1. deps(webrtc): bump alpha versions

    Bumps versions of `libp2p-webrtc` and `libp2p-webrtc-websys` up one minor version.
    
    Fixes: libp2p#4953.
    
    Pull-Request: libp2p#4959.
    DougAnderson444 authored Nov 30, 2023
    Configuration menu
    Copy the full SHA
    e889e2e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7b7cf5f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ec2258e View commit details
    Browse the repository at this point in the history

Commits on Dec 1, 2023

  1. chore(webrtc-utils): bump version to allow for new release

    We didn't bump this crate's version despite it depending on `libp2p_noise`. As such, we can't release `libp2p-webrtc-websys` at the moment because it needs a new release of this crate.
    
    Pull-Request: libp2p#4968.
    thomaseizinger authored Dec 1, 2023
    Configuration menu
    Copy the full SHA
    6d21e6e View commit details
    Browse the repository at this point in the history
  2. feat(webrtc-websys): hide libp2p_noise from the public API

    Currently, `libp2p-webrtc-websys` exposes the `libp2p_noise` dependency in its public API. It should really be a private dependency of the crate. By wrapping it in a new-type, we can achieve this.
    
    Pull-Request: libp2p#4969.
    thomaseizinger authored Dec 1, 2023
    Configuration menu
    Copy the full SHA
    c1925e5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d8d5482 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9584ee3 View commit details
    Browse the repository at this point in the history
  5. feat(core): impl Display on ListenerId

    Fixes: libp2p#4935.
    
    Pull-Request: libp2p#4936.
    stormshield-frb authored Dec 1, 2023
    Configuration menu
    Copy the full SHA
    a83c30a View commit details
    Browse the repository at this point in the history
  6. feat(server): support websocket

    Pull-Request: libp2p#4937.
    mxinden authored Dec 1, 2023
    Configuration menu
    Copy the full SHA
    4f0013c View commit details
    Browse the repository at this point in the history

Commits on Dec 3, 2023

  1. feat(swarm): implement Copy and Clone for FromSwarm

    We can make `FromSwarm` implement `Copy` and `Close` which makes it much easier to
    
    a) generate code in `libp2p-swarm-derive`
    b) manually wrap a `NetworkBehaviour`
    
    Previously, we couldn't do this because `ConnectionClosed` would have a `handler` field that cannot be cloned / copied.
    
    Related: libp2p#4076.
    Related: libp2p#4581.
    
    Pull-Request: libp2p#4825.
    thomaseizinger authored Dec 3, 2023
    Configuration menu
    Copy the full SHA
    ce24938 View commit details
    Browse the repository at this point in the history

Commits on Dec 4, 2023

  1. Configuration menu
    Copy the full SHA
    2b28970 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    111f9b1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1361ead View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2023

  1. Configuration menu
    Copy the full SHA
    0f98c98 View commit details
    Browse the repository at this point in the history
  2. fix(kad): don't assume QuerIds are unique

    We mistakenly assumed that `QueryId`s are unique in that, only a single request will be emitted per `QueryId`. This is wrong. A bootstrap for example will issue multiple requests as part of the same `QueryId`. Thus, we cannot use the `QueryId` as a key for the `FuturesMap`. Instead, we use a `FuturesTupleSet` to associate the `QueryId` with the in-flight request.
    
    Related: libp2p#4901.
    Resolves: libp2p#4948.
    
    Pull-Request: libp2p#4971.
    thomaseizinger authored Dec 5, 2023
    Configuration menu
    Copy the full SHA
    f12dabc View commit details
    Browse the repository at this point in the history
  3. fix(webrtc example): clarify idle connection timeout

    When I ran the `example/browser-webrtc` example I discovered it would break after a ping or two.
    The `Ping` idle timeout needed to be extended, on both the server and the wasm client, which is what this PR fixes.
    I also added a small note to the README about ensuring `wasm-pack` is install for the users who are new to the ecosystem.
    
    Fixes: libp2p#4950.
    
    Pull-Request: libp2p#4966.
    DougAnderson444 authored Dec 5, 2023
    Configuration menu
    Copy the full SHA
    0f28528 View commit details
    Browse the repository at this point in the history
  4. docs(examples/readme): fix broken link

    Related: libp2p#3536.
    
    Pull-Request: libp2p#4984.
    trueNAHO authored Dec 5, 2023
    Configuration menu
    Copy the full SHA
    06d80fb View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2023

  1. feat(yamux): auto-tune (dynamic) stream receive window

    libp2p/rust-yamux#176 enables auto-tuning for the Yamux stream receive window. While preserving small buffers on low-latency and/or low-bandwidth connections, this change allows for high-latency and/or high-bandwidth connections to exhaust the available bandwidth on a single stream.
    
    Using the [libp2p perf](https://github.com/libp2p/test-plans/blob/master/perf/README.md) benchmark tools (60ms, 10Gbit/s) shows an **improvement from 33 Mbit/s to 1.3 Gbit/s** in single stream throughput.
    
    See libp2p/rust-yamux#176 for details.
    
    To ship the above Rust Yamux change in a libp2p patch release (non-breaking), this pull request uses `yamux` `v0.13` (new version) by default and falls back to `yamux` `v0.12` (old version) when setting any configuration options. Thus default users benefit from the increased performance, while power users with custom configurations maintain the old behavior.
    
    Pull-Request: libp2p#4970.
    mxinden authored Dec 6, 2023
    Configuration menu
    Copy the full SHA
    f40cc4e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cfb248f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    914c8aa View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b7914e4 View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2023

  1. chore(quic): fix link to PR in changelog

    Pull-Request: libp2p#4993.
    thomaseizinger authored Dec 11, 2023
    Configuration menu
    Copy the full SHA
    084b123 View commit details
    Browse the repository at this point in the history
  2. deps: bump tokio from 1.34.0 to 1.35.0

    Pull-Request: libp2p#4995.
    dependabot[bot] authored Dec 11, 2023
    Configuration menu
    Copy the full SHA
    34d04c2 View commit details
    Browse the repository at this point in the history
  3. deps: bump syn from 2.0.39 to 2.0.40

    Pull-Request: libp2p#4996.
    dependabot[bot] authored Dec 11, 2023
    Configuration menu
    Copy the full SHA
    fc53d4e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    305e02c View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2023

  1. deps: bump hkdf from 0.12.3 to 0.12.4

    Pull-Request: libp2p#5009.
    dependabot[bot] authored Dec 18, 2023
    Configuration menu
    Copy the full SHA
    4d1a539 View commit details
    Browse the repository at this point in the history
  2. deps: bump clap from 4.4.10 to 4.4.11

    Pull-Request: libp2p#4997.
    dependabot[bot] authored Dec 18, 2023
    Configuration menu
    Copy the full SHA
    f719089 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    191396e View commit details
    Browse the repository at this point in the history
  4. deps: bump syn from 2.0.40 to 2.0.41

    Pull-Request: libp2p#5011.
    dependabot[bot] authored Dec 18, 2023
    Configuration menu
    Copy the full SHA
    9323bc0 View commit details
    Browse the repository at this point in the history
  5. deps: bump async-io from 2.2.1 to 2.2.2

    Pull-Request: libp2p#5012.
    dependabot[bot] authored Dec 18, 2023
    Configuration menu
    Copy the full SHA
    e580f34 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c115cdd View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2023

  1. Configuration menu
    Copy the full SHA
    848bb74 View commit details
    Browse the repository at this point in the history
  2. deps: bump libc from 0.2.150 to 0.2.151

    Pull-Request: libp2p#5002.
    dependabot[bot] authored Dec 19, 2023
    Configuration menu
    Copy the full SHA
    c3500bb View commit details
    Browse the repository at this point in the history
  3. docs: remove security@libp2p.io

    I no longer have access to the mailing list. See
    libp2p#5007.
    
    Pull-Request: libp2p#5020.
    mxinden authored Dec 19, 2023
    Configuration menu
    Copy the full SHA
    1d04b1e View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2023

  1. chore: fix typos

    Pull-Request: libp2p#5021.
    bodhi-crypo authored Dec 20, 2023
    Configuration menu
    Copy the full SHA
    bdcb081 View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2023

  1. fix(derive): restore support for inline generic type constraints

    Fixes the `#[NetworkBehaviour]` macro to support generic constraints on behaviours without a where clause, which was the case before v0.51.
    
    Pull-Request: libp2p#5003.
    aakoshh authored Dec 21, 2023
    Configuration menu
    Copy the full SHA
    be1cfda View commit details
    Browse the repository at this point in the history

Commits on Dec 22, 2023

  1. Configuration menu
    Copy the full SHA
    b6bb02b View commit details
    Browse the repository at this point in the history

Commits on Dec 24, 2023

  1. chore: fix several typos in documentation

    Pull-Request: libp2p#5008.
    Frierened authored Dec 24, 2023
    Configuration menu
    Copy the full SHA
    2c6da31 View commit details
    Browse the repository at this point in the history

Commits on Dec 25, 2023

  1. Configuration menu
    Copy the full SHA
    71c9170 View commit details
    Browse the repository at this point in the history
  2. deps: bump anyhow from 1.0.75 to 1.0.76

    Pull-Request: libp2p#5030.
    dependabot[bot] authored Dec 25, 2023
    Configuration menu
    Copy the full SHA
    14c47c6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    be5bd0e View commit details
    Browse the repository at this point in the history
  4. deps: bump syn from 2.0.41 to 2.0.43

    Pull-Request: libp2p#5033.
    dependabot[bot] authored Dec 25, 2023
    Configuration menu
    Copy the full SHA
    3751773 View commit details
    Browse the repository at this point in the history
  5. deps: bump tokio from 1.35.0 to 1.35.1

    Pull-Request: libp2p#5034.
    dependabot[bot] authored Dec 25, 2023
    Configuration menu
    Copy the full SHA
    0e3843c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    4260702 View commit details
    Browse the repository at this point in the history

Commits on Dec 27, 2023

  1. Configuration menu
    Copy the full SHA
    d5ba324 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    499928c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    507d94a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4fc911e View commit details
    Browse the repository at this point in the history

Commits on Dec 30, 2023

  1. Configuration menu
    Copy the full SHA
    9862187 View commit details
    Browse the repository at this point in the history

Commits on Jan 1, 2024

  1. Configuration menu
    Copy the full SHA
    0289824 View commit details
    Browse the repository at this point in the history
  2. deps: bump clap from 4.4.11 to 4.4.12

    Pull-Request: libp2p#5046.
    dependabot[bot] authored Jan 1, 2024
    Configuration menu
    Copy the full SHA
    e0628e5 View commit details
    Browse the repository at this point in the history

Commits on Jan 2, 2024

  1. Configuration menu
    Copy the full SHA
    af989f6 View commit details
    Browse the repository at this point in the history

Commits on Jan 3, 2024

  1. Configuration menu
    Copy the full SHA
    99a6ad4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c71b7c1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fed424e View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2024

  1. Configuration menu
    Copy the full SHA
    e688ee7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1913fb4 View commit details
    Browse the repository at this point in the history

Commits on Jan 8, 2024

  1. Configuration menu
    Copy the full SHA
    08728b1 View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2024

  1. Configuration menu
    Copy the full SHA
    53500e2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3e06e0b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    92b2414 View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2024

  1. Configuration menu
    Copy the full SHA
    48de34e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3a94460 View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2024

  1. deps: bump clap from 4.4.12 to 4.4.13

    Pull-Request: libp2p#5070.
    dependabot[bot] authored Jan 11, 2024
    Configuration menu
    Copy the full SHA
    fa3e5b6 View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2024

  1. Configuration menu
    Copy the full SHA
    5ad9485 View commit details
    Browse the repository at this point in the history

Commits on Jan 14, 2024

  1. Configuration menu
    Copy the full SHA
    ca376f1 View commit details
    Browse the repository at this point in the history
  2. deps: bump the axum group with 1 update

    Pull-Request: libp2p#5045.
    dependabot[bot] authored Jan 14, 2024
    Configuration menu
    Copy the full SHA
    830f93f View commit details
    Browse the repository at this point in the history

Commits on Jan 15, 2024

  1. deps: bump quote from 1.0.34 to 1.0.35

    Pull-Request: libp2p#5071.
    dependabot[bot] authored Jan 15, 2024
    Configuration menu
    Copy the full SHA
    1e40ee6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    577e387 View commit details
    Browse the repository at this point in the history
  3. ci: add dependabot group for webrtc

    Pull-Request: libp2p#5082.
    thomaseizinger authored Jan 15, 2024
    Configuration menu
    Copy the full SHA
    9317726 View commit details
    Browse the repository at this point in the history
  4. deps: bump base64 from 0.21.5 to 0.21.7

    Pull-Request: libp2p#5086.
    dependabot[bot] authored Jan 15, 2024
    Configuration menu
    Copy the full SHA
    795c856 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ad2579d View commit details
    Browse the repository at this point in the history
  6. deps: bump js-sys from 0.3.66 to 0.3.67

    Pull-Request: libp2p#5091.
    dependabot[bot] authored Jan 15, 2024
    Configuration menu
    Copy the full SHA
    1e3b839 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    5f90ab3 View commit details
    Browse the repository at this point in the history
  8. add PeerId to ListenFailure

    jxs committed Jan 15, 2024
    Configuration menu
    Copy the full SHA
    b901215 View commit details
    Browse the repository at this point in the history