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

fix: minor version bump packages affected by #5676 #5811

Merged
merged 1 commit into from
Jan 14, 2025

Conversation

elenaf9
Copy link
Contributor

@elenaf9 elenaf9 commented Jan 13, 2025

Description

By switching from void::Void to std::convert::Infallible, #5676 changed the output types of some NetworkBehavior implementations in different protocols.
This can cause a type mismatch for the user and therefore is a breaking change.

#5678 (follow-up PR that version-bumped the crates affected by #5676) only bumped the patch version of the affected crates.
The current PR now changes it to a minor version bump for all crates where types in a NetworkBehavior implementation were affected.

It also reverts the version bump and CHANGELOG entry in libp2p-quic that was added with #5678, because that crate was never touched by the original PR.

Notes & open questions

Change checklist

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • A changelog entry has been made in the appropriate crates

@elenaf9 elenaf9 requested a review from jxs January 13, 2025 16:30
Copy link
Member

@jxs jxs left a comment

Choose a reason for hiding this comment

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

LGTM, thanks Elena!

@jxs jxs added the send-it label Jan 14, 2025
@mergify mergify bot merged commit 4449024 into libp2p:master Jan 14, 2025
71 checks passed
@elenaf9 elenaf9 deleted the fix/bump-core branch January 14, 2025 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants