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(kad): export RoutingUpdate #3739

Merged
merged 6 commits into from
Apr 9, 2023
Merged

Conversation

b-zee
Copy link
Contributor

@b-zee b-zee commented Apr 5, 2023

Description

The RoutingUpdate type that add_address returns was not made available publicly. This type is added in this PR by pub use.

Resolves #3737.

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

The enum was already `pub`, but not exported.

Fixes libp2p#3737
@thomaseizinger thomaseizinger changed the title Make kad's RoutingUpdate available publicly fix(kad): export RoutingUpdate Apr 5, 2023
Copy link
Contributor

@thomaseizinger thomaseizinger left a comment

Choose a reason for hiding this comment

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

Thanks!

@thomaseizinger
Copy link
Contributor

Can you add a changelog entry and bump the version if there isn't yet an unreleased section in the changelog of libp2p-kad?

@b-zee
Copy link
Contributor Author

b-zee commented Apr 5, 2023

I've changed the version from 0.43.1 to 0.43.2. Not 100% if it should be 0.44.0, but that would also involve updating dependants and their respective changelogs.

@dariusc93
Copy link
Member

I've changed the version from 0.43.1 to 0.43.2. Not 100% if it should be 0.44.0, but that would also involve updating dependants and their respective changelogs.

I believe the patch bump is fine to do

thomaseizinger
thomaseizinger previously approved these changes Apr 6, 2023
Copy link
Contributor

@thomaseizinger thomaseizinger left a comment

Choose a reason for hiding this comment

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

Thanks!

protocols/kad/CHANGELOG.md Outdated Show resolved Hide resolved
@mergify mergify bot dismissed thomaseizinger’s stale review April 6, 2023 13:19

Approvals have been dismissed because the PR was updated after the send-it label was applied.

thomaseizinger
thomaseizinger previously approved these changes Apr 6, 2023
mxinden
mxinden previously approved these changes Apr 9, 2023
Copy link
Member

@mxinden mxinden left a comment

Choose a reason for hiding this comment

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

🙏 thanks for working on the patch!

@mergify mergify bot dismissed stale reviews from mxinden and thomaseizinger April 9, 2023 15:00

Approvals have been dismissed because the PR was updated after the send-it label was applied.

@mergify mergify bot merged commit 1b2de2d into libp2p:master Apr 9, 2023
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.

Kademlia::add_address return type is not exported (public)
4 participants