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

refactor(kad): rename to follow naming convention across repository #4547

Merged
merged 22 commits into from
Sep 27, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
df0e58f
deprecate Kademlia and rename to Behaviour
PanGan21 Sep 24, 2023
473c6ba
deprecate KademliaBucketInserts and rename to BucketInserts
PanGan21 Sep 24, 2023
789b497
deprecate KademliaStoreInserts and rename to StoreInserts
PanGan21 Sep 24, 2023
e36dee0
deprecate KademliaConfig and rename to Config
PanGan21 Sep 24, 2023
45fdc24
deprecate KademliaCaching and rename to Caching
PanGan21 Sep 24, 2023
200d4cb
deprecate KademliaEvent and rename to Event
PanGan21 Sep 24, 2023
52d7eb0
fix comments that include Kademlia struct
PanGan21 Sep 24, 2023
a63ea84
deprecate KademliaHandler and rename to Handler
PanGan21 Sep 24, 2023
af963b9
deprecate KademliaHandlerEvent and rename to HandlerEvent
PanGan21 Sep 24, 2023
6b0a973
revert unexpoted renames
PanGan21 Sep 24, 2023
762ae92
Merge branch 'master' into kademlia-rename
PanGan21 Sep 25, 2023
3d91425
move deprecated types in top level
PanGan21 Sep 25, 2023
6843ae6
fix doc
PanGan21 Sep 25, 2023
671104c
deprecate KademliaConnectionType and rename to ConnectionType
PanGan21 Sep 25, 2023
203b344
rename KademliaProtocolConfig to ProtocolConfig
PanGan21 Sep 25, 2023
3922090
rename KademliaHandlerEvent to HandlerEvent
PanGan21 Sep 25, 2023
b10906b
rename KademliaHandlerIn to HandlerIn
PanGan21 Sep 25, 2023
20c3904
rename KademliaRequestId to RequestId
PanGan21 Sep 25, 2023
418192a
rename KademliaHandlerQueryErr to HandlerQueryErr
PanGan21 Sep 25, 2023
a02101e
add changelog and bump versions
PanGan21 Sep 26, 2023
0a3cc96
Update protocols/kad/CHANGELOG.md
thomaseizinger Sep 26, 2023
6cecb8e
fix conflicts
PanGan21 Sep 27, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ libp2p-floodsub = { version = "0.43.0", path = "protocols/floodsub" }
libp2p-gossipsub = { version = "0.45.1", path = "protocols/gossipsub" }
libp2p-identify = { version = "0.43.1", path = "protocols/identify" }
libp2p-identity = { version = "0.2.3" }
libp2p-kad = { version = "0.44.5", path = "protocols/kad" }
libp2p-kad = { version = "0.44.6", path = "protocols/kad" }
libp2p-mdns = { version = "0.44.0", path = "protocols/mdns" }
libp2p-memory-connection-limits = { version = "0.1.0", path = "misc/memory-connection-limits" }
libp2p-metrics = { version = "0.13.1", path = "misc/metrics" }
Expand Down
6 changes: 6 additions & 0 deletions protocols/kad/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 0.44.6
thomaseizinger marked this conversation as resolved.
Show resolved Hide resolved
- Rename `Kademlia` symbols to follow naming convention.
See [PR 4547].

[PR 4547]: https://github.com/libp2p/rust-libp2p/pull/4547

## 0.44.5
- Migrate to `quick-protobuf-codec` crate for codec logic.
See [PR 4501].
Expand Down
2 changes: 1 addition & 1 deletion protocols/kad/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "libp2p-kad"
edition = "2021"
rust-version = { workspace = true }
description = "Kademlia protocol for libp2p"
version = "0.44.5"
version = "0.44.6"
authors = ["Parity Technologies <admin@parity.io>"]
license = "MIT"
repository = "https://github.com/libp2p/rust-libp2p"
Expand Down