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

upgrade snow to 0.8.0 #2269

Closed
wants to merge 33 commits into from
Closed

upgrade snow to 0.8.0 #2269

wants to merge 33 commits into from

Commits on Mar 17, 2021

  1. core/: Prepare libp2p-core v0.28.1 incl multiaddr v0.11.2

    libp2p-dns requires a new feature in parity-multiaddr v0.11.2 namely
    Multiaddr::ends_with. libp2p-dns does not depend on parity-multiaddr
    directly but through libp2p-core. Prepare a new version of libp2p-core
    requiring at least parity-multiaddr v0.11.2 and update libp2p-dns to
    require libp2p-core v0.28.1.
    mxinden committed Mar 17, 2021
    Configuration menu
    Copy the full SHA
    1601864 View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2021

  1. Update README.md (#2003)

    Add notable users:
    
    - ipfs-embed. Rust IPFS implementation with a focus on being embeddable into rust applications
    - actyx, platform for writing manufacturing applications, based on rust-libp2p
    rklaehn authored Mar 18, 2021
    Configuration menu
    Copy the full SHA
    24b3e09 View commit details
    Browse the repository at this point in the history
  2. [identify] Implement /ipfs/id/push/1.0.0 alongside some refactoring. (#…

    …1999)
    
    * Implement /ipfs/id/push/1.0.0 alongside some refactoring.
    
      * Implement /ipfs/id/push/1.0.0, i.e. the ability to actively
        push information of the local peer to specific remotes.
      * Make the initial delay as well as the recurring delay
        for the periodic identification requests configurable,
        introducing `IdentifyConfig`.
    
    * Fix test.
    
    * Fix example.
    
    * Update protocols/identify/src/identify.rs
    
    Co-authored-by: Max Inden <[email protected]>
    
    * Update protocols/identify/src/identify.rs
    
    Co-authored-by: Max Inden <[email protected]>
    
    * Update versions and changelogs.
    
    Co-authored-by: Max Inden <[email protected]>
    romanb and mxinden authored Mar 18, 2021
    Configuration menu
    Copy the full SHA
    5a45f93 View commit details
    Browse the repository at this point in the history
  3. swarm/src/lib: Remove Deref and DerefMut impls on Swarm (#1995)

    Remove `Deref` and `DerefMut` implementations previously dereferencing
    to the `NetworkBehaviour` on `Swarm`. Instead one can access the
    `NetworkBehaviour` via `Swarm::behaviour` and `Swarm::behaviour_mut`.
    Methods on `Swarm` can now be accessed directly, e.g. via
    `my_swarm.local_peer_id()`.
    
    Reasoning: Accessing the `NetworkBehaviour` of a `Swarm` through `Deref`
    and `DerefMut` instead of a method call is an unnecessary complication,
    especially for newcomers. In addition, `Swarm` is not a smart-pointer
    and should thus not make use of `Deref` and `DerefMut`, see documentation
    from the standard library below.
    
    > Deref should only be implemented for smart pointers to avoid
    confusion.
    
    https://doc.rust-lang.org/std/ops/trait.Deref.html
    mxinden authored Mar 18, 2021
    Configuration menu
    Copy the full SHA
    63512e5 View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2021

  1. [identify] Add configurable automatic push on listen addr changes. (#…

    …2004)
    
    * Add configurable automatic push of listen addr changes.
    
    * Update changelog and cleanup.
    romanb authored Mar 22, 2021
    Configuration menu
    Copy the full SHA
    c8d69ab View commit details
    Browse the repository at this point in the history
  2. transports/dns: Require smallvec >= 1.6.1 (#2005)

    Co-authored-by: Roman Borschel <[email protected]>
    mxinden and romanb authored Mar 22, 2021
    Configuration menu
    Copy the full SHA
    a735e52 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ba90827 View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2021

  1. Derive Clone, Debug. (#2007)

    Co-authored-by: Roman Borschel <[email protected]>
    dvc94ch and romanb authored Mar 23, 2021
    Configuration menu
    Copy the full SHA
    987c244 View commit details
    Browse the repository at this point in the history
  2. Update mdns changelog.

    Roman S. Borschel committed Mar 23, 2021
    Configuration menu
    Copy the full SHA
    be2fb4e View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2021

  1. swarm: Extend NetworkBehaviour callbacks. (#2011)

    Co-authored-by: Max Inden <[email protected]>
    dvc94ch and mxinden authored Mar 24, 2021
    Configuration menu
    Copy the full SHA
    7779b8e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bb206bc View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2021

  1. build(deps): update derive_builder requirement from 0.9.0 to 0.10.0 (#…

    …2026)
    
    * build(deps): update derive_builder requirement from 0.9.0 to 0.10.0
    
    Updates the requirements on [derive_builder](https://github.com/colin-kiegel/rust-derive-builder) to permit the latest version.
    - [Release notes](https://github.com/colin-kiegel/rust-derive-builder/releases)
    - [Commits](colin-kiegel/rust-derive-builder@v0.9.0...v0.10.0)
    
    Signed-off-by: dependabot[bot] <[email protected]>
    
    * protocols/gossipsub/CHANGELOG: Add entry
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Max Inden <[email protected]>
    dependabot[bot] and mxinden authored Apr 1, 2021
    Configuration menu
    Copy the full SHA
    bb2df42 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c0f74aa View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a0bdc20 View commit details
    Browse the repository at this point in the history
  4. src: Move introduction to new tutorial.rs (#2018)

    This commit extends the ping example in `src/tutorial.rs, by walking a
    newcomer through the implementation of a simple ping node step-by-step,
    introducing all the core libp2p concepts along the way.
    
    With the ping tutorial in place, there is no need for the lengthy libp2p
    crate level introduction, which is thus removed with this commit.
    
    Co-authored-by: Roman Borschel <[email protected]>
    mxinden and romanb authored Apr 1, 2021
    Configuration menu
    Copy the full SHA
    a2e7749 View commit details
    Browse the repository at this point in the history
  5. transports/dns: Remove fqdn function optimization (#2027)

    Co-authored-by: Max Inden <[email protected]>
    tomaka and mxinden authored Apr 1, 2021
    Configuration menu
    Copy the full SHA
    2017c5c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    48f3f06 View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2021

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

Commits on Apr 8, 2021

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

Commits on Apr 9, 2021

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

Commits on Apr 10, 2021

  1. Configuration menu
    Copy the full SHA
    7cf8ac0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2d995a6 View commit details
    Browse the repository at this point in the history
  3. .github: Only test benchmarks, don't run them (#2042)

    Instead of fully executing benchmarks, i.e. running multiple iterations,
    each measured and recorded, only test that they compile and run them
    with a single execution to make sure they work. The benefit is a reduced
    CI runtime.
    
    Flag documentation:
    
    > To test that the benchmarks run successfully without performing the
    measurement or analysis (eg. in a CI setting), use cargo test --benches.
    
    https://bheisler.github.io/criterion.rs/book/user_guide/command_line_options.html
    
    The above assumes that (a) the benchmark results from CI are likely
    noisy and thus (b) no one actually looks at the benchmark results.
    mxinden authored Apr 10, 2021
    Configuration menu
    Copy the full SHA
    de261d5 View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2021

  1. build(deps): bump styfle/cancel-workflow-action from 0.8.0 to 0.9.0 (#…

    …2045)
    
    Bumps [styfle/cancel-workflow-action](https://github.com/styfle/cancel-workflow-action) from 0.8.0 to 0.9.0.
    - [Release notes](https://github.com/styfle/cancel-workflow-action/releases)
    - [Commits](styfle/cancel-workflow-action@0.8.0...89f242e)
    
    Signed-off-by: dependabot[bot] <[email protected]>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Apr 12, 2021
    Configuration menu
    Copy the full SHA
    b1b6f2b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    687145d View commit details
    Browse the repository at this point in the history
  3. *: Drop generic wasm32-unknown-unknown support (#2038)

    With `rand` `v0.8.0` platform support changed [1] due to its upgrade to
    `getrandom` `v0.2`. With `getrandom` `v0.2` `wasm32-unknown-unknown` is no
    longer supported out of the box:
    
    > This crate fully supports the wasm32-wasi and wasm32-unknown-emscripten
    > targets. However, the wasm32-unknown-unknown target is not automatically
    > supported since, from the target name alone, we cannot deduce which JavaScript
    > interface is in use (or if JavaScript is available at all).
    >
    > Instead, if the "js" Cargo feature is enabled, this crate will assume that you
    > are building for an environment containing JavaScript, and will call the
    > appropriate methods. Both web browser (main window and Web Workers) and
    > Node.js environments are supported, invoking the methods described above using
    > the wasm-bindgen toolchain.
    >
    > This feature has no effect on targets other than wasm32-unknown-unknown.
    
    This commit drops support for wasm32-unknown-unknown in favor of the two more
    specific targets wasm32-wasi and wasm32-unknown-emscripten.
    
    Note on `resolver = "2"`: The new resolver is required to prevent features
    being mixed, more specifically to prevent libp2p-noise to build with the
    `ring-resolver` feature. See [3] for details.
    
    ---
    
    [1] https://github.com/rust-random/rand/blob/master/CHANGELOG.md#platform-support
    [2] https://docs.rs/getrandom/0.2.2/getrandom/#webassembly-support
    [3] https://doc.rust-lang.org/nightly/cargo/reference/features.html#feature-resolver-version-2
    mxinden authored Apr 12, 2021
    Configuration menu
    Copy the full SHA
    8ccb96a View commit details
    Browse the repository at this point in the history
  4. Update yamux requirement from 0.8.0 to 0.9.0 (#1960)

    * Update yamux requirement from 0.8.0 to 0.9.0
    
    Updates the requirements on [yamux](https://github.com/paritytech/yamux) to permit the latest version.
    - [Release notes](https://github.com/paritytech/yamux/releases)
    - [Changelog](https://github.com/paritytech/yamux/blob/develop/CHANGELOG.md)
    - [Commits](https://github.com/paritytech/yamux/commits)
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Max Inden <[email protected]>
    dependabot[bot] and mxinden authored Apr 12, 2021
    Configuration menu
    Copy the full SHA
    426a20c View commit details
    Browse the repository at this point in the history
  5. Derive debug for RelayConfig. (#2048)

    Co-authored-by: Max Inden <[email protected]>
    dvc94ch and mxinden authored Apr 12, 2021
    Configuration menu
    Copy the full SHA
    05aa794 View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2021

  1. build(deps): bump actions/cache from v2.1.4 to v2.1.5 (#2050)

    Bumps [actions/cache](https://github.com/actions/cache) from v2.1.4 to v2.1.5.
    - [Release notes](https://github.com/actions/cache/releases)
    - [Commits](actions/cache@v2.1.4...1a9e213)
    
    Signed-off-by: dependabot[bot] <[email protected]>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Apr 13, 2021
    Configuration menu
    Copy the full SHA
    807ce10 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    42441db View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2021

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

Commits on Oct 5, 2021

  1. bump snow (and rand)

    apopiak committed Oct 5, 2021
    Configuration menu
    Copy the full SHA
    59ad999 View commit details
    Browse the repository at this point in the history
  2. bump libp2p-noise

    apopiak committed Oct 5, 2021
    Configuration menu
    Copy the full SHA
    bf21eb4 View commit details
    Browse the repository at this point in the history