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

Bump libp2p-identity from 0.2.8 to 0.2.9 #3318

Merged
merged 1 commit into from
Jun 13, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 13, 2024

Bumps libp2p-identity from 0.2.8 to 0.2.9.

Release notes

Sourced from libp2p-identity's releases.

libp2p-v0.53.2

See individual changelogs for details.

libp2p-v0.53.1

See individual changelogs for details.

libp2p-v0.53.0

The most ergonomic version of rust-libp2p yet!

We've been busy again, with over 250 PRs being merged into master since v0.52.0 (excluding dependency updates).

Backwards-compatible features

Numerous improvements landed as patch releases since the v0.52.0 release, for example a new, type-safe SwarmBuilder that also encompasses the most common transport protocols:

let mut swarm = libp2p::SwarmBuilder::with_new_identity()
    .with_tokio()
    .with_tcp(
        tcp::Config::default().port_reuse(true).nodelay(true),
        noise::Config::new,
        yamux::Config::default,
    )?
    .with_quic()
    .with_dns()?
    .with_relay_client(noise::Config::new, yamux::Config::default)?
    .with_behaviour(|keypair, relay_client| Behaviour {
        relay_client,
        ping: ping::Behaviour::default(),
        dcutr: dcutr::Behaviour::new(keypair.public().to_peer_id()),
    })?
    .build();

The new builder makes heavy use of the type-system to guide you towards a correct composition of all transports. For example, it is important to compose the DNS transport as a wrapper around all other transports but before the relay transport. Luckily, you no longer need to worry about these details as the builder takes care of that for you! Have a look yourself if you dare here but be warned, the internals are a bit wild :)

Some more features that we were able to ship in v0.52.X patch-releases include:

We always try to ship as many features as possible in a backwards-compatible way to get them to you faster. Often times, these come with deprecations to give you a heads-up about what will change in a future version. We advise updating to each intermediate version rather than skipping directly to the most recent one, to avoid missing any crucial deprecation warnings. We highly recommend you stay up-to-date with the latest version to make upgrades as smooth as possible.

Some improvments we unfortunately cannot ship in a way that Rust considers a non-breaking change but with every release, we attempt to smoothen the way for future upgrades.

#[non_exhaustive] on key enums

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [libp2p-identity](https://github.com/libp2p/rust-libp2p) from 0.2.8 to 0.2.9.
- [Release notes](https://github.com/libp2p/rust-libp2p/releases)
- [Changelog](https://github.com/libp2p/rust-libp2p/blob/master/CHANGELOG.md)
- [Commits](https://github.com/libp2p/rust-libp2p/commits)

---
updated-dependencies:
- dependency-name: libp2p-identity
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from ss-es as a code owner June 13, 2024 03:26
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Jun 13, 2024
Copy link
Contributor

@ss-es ss-es left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot merge

@dependabot dependabot bot merged commit a5921dd into main Jun 13, 2024
26 checks passed
@dependabot dependabot bot deleted the dependabot/cargo/libp2p-identity-0.2.9 branch June 13, 2024 14:04
dailinsubjam pushed a commit that referenced this pull request Jun 14, 2024
* bump (#3291)

* flake.lock: Update (#3294)

Flake lock file updates:

• Updated input 'fenix':
    'github:nix-community/fenix/9a025daf6799e3af80b677f0af57ef76432c3fcf?narHash=sha256-ih8NPk3Jn5EAILOGQZ%2BKS5NLmu6QmwohJX%2B36MaTAQE%3D' (2024-06-01)
  → 'github:nix-community/fenix/ab655c627777ab5f9964652fe23bbb1dfbd687a8?narHash=sha256-ixopuTeTouxqTxfMuzs6IaRttbT8JqRW5C9Q/57WxQw%3D' (2024-06-08)
• Updated input 'fenix/rust-analyzer-src':
    'github:rust-lang/rust-analyzer/d6d735e6f20ef78b16a79886fe28bd69cf059504?narHash=sha256-qBruki5NHrSqIw5ulxtwFmVsb6W/aOKOMjsCJjfalA4%3D' (2024-05-31)
  → 'github:rust-lang/rust-analyzer/48bbdd6a74f3176987d5c809894ac33957000d19?narHash=sha256-%2BlRAmz92CNUxorqWusgJbL9VE1eKCnQQojglRemzwkw%3D' (2024-06-05)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/6132b0f6e344ce2fe34fc051b72fb46e34f668e0?narHash=sha256-7R2ZvOnvd9h8fDd65p0JnB7wXfUvreox3xFdYWd1BnY%3D' (2024-05-30)
  → 'github:NixOS/nixpkgs/d226935fd75012939397c83f6c385e4d6d832288?narHash=sha256-HV97wqUQv9wvptiHCb3Y0/YH0lJ60uZ8FYfEOIzYEqI%3D' (2024-06-07)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* Bump clap from 4.5.6 to 4.5.7 (#3302)

* Bump url from 2.5.0 to 2.5.1 (#3304)

* Fix Leaf Ascension (#3307)

* fix tests, halfway improve impl

* move the last of the variables

* fix upgrade tests

* move to helper method

* lint

* fix last suite

* use debugged function, remove dead tests

* fix tests

* fix lint

* comments, fix last test

* Minor test fixes (#3256)

* Revert "Minor test fixes (#3256)" (#3316)

This reverts commit 1932e42.

* Docs improvements (#3295)

* Update General.md

* Update QuorumProposalRecv.md

* Update Timeout.md

* Update ViewSyncTrigger.md

* Update VoteOnQuorumProposal.md

* [DEPENDENCY_REFACTOR] - Remove proposal validation from the quorum proposal task (#3275)

* Move validation

* Fix fmt and import

* Fix build and recv test

* Remove a todo

* Restore an event

* Fix non-dependency lints

* Fix tests

* Fix CI

* Fix fmt and imports

* Fix proposal and proposal recv tasks tests

* 3 more tests

* Fix doc

* Address comments

* Add error

* Fix Conficts in keyao/remove-proposal-validation (#3308)

* fix

* remove dead test

* fix lint

* fix test

* Fix vote tests

---------

Co-authored-by: Keyao Shen <[email protected]>

* Fix upgrade test

---------

Co-authored-by: Jarred Parr <[email protected]>

* Fee upgrade (#3236)

* Multiple builders (#3203)

* Multiple builders support

* Bump vec1 from 1.12.0 to 1.12.1 (#3319)

* Bump libp2p-identity from 0.2.8 to 0.2.9 (#3318)

* [DEPENDENCY_REFACTOR] - Modify `update_validated_state_map` to not override a view with more info (#3315)

* Move validation

* Fix fmt and import

* Fix build and recv test

* Remove a todo

* Restore an event

* Fix non-dependency lints

* Fix tests

* Fix CI

* Fix fmt and imports

* Fix proposal and proposal recv tasks tests

* 3 more tests

* Fix doc

* Address comments

* Add error

* Fix Conficts in keyao/remove-proposal-validation (#3308)

* fix

* remove dead test

* fix lint

* fix test

* Fix vote tests

---------

Co-authored-by: Keyao Shen <[email protected]>

* Save changes

* Fix upgrade test

* Fix build

* Add error handling to update_validated_state_map

* Fix tests

* use ref

---------

Co-authored-by: Jarred Parr <[email protected]>

* Choose builder url on orchestrator

* Multiple builders

* Fix lints

* Fix malformed URLs

---------

Co-authored-by: Jarred Parr <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: ss-es <[email protected]>
Co-authored-by: iwantanode <[email protected]>
Co-authored-by: Keyao Shen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant