diff --git a/CHANGELOG.md b/CHANGELOG.md index d73b3eb2..81e7cd56 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,6 @@ # Renet changelog -## Unreleased - +## 0.0.10 - 2022-11-18 ### Added ⭐ * Added function `client_addr`, `user_data`, `is_client_connected`, `max_clients`, `connected_clients` for `RenetServer`, some utilities from `NetcodeServer`. [(commit)](https://github.com/lucaspoffo/renet/commit/576962e53a2e2b74f8f3c8355ae2abf706826f73) [(commit)](https://github.com/lucaspoffo/renet/commit/dff1fc5785ac2b82309b92477c90a250feb3af55) * Renetcode/Renet: make generate_random_bytes public, this can be used to generate a random private key. [(commit)](https://github.com/lucaspoffo/renet/commit/f8509f11017e2d234c8059cc181f9644468ea87f) diff --git a/bevy_renet/Cargo.toml b/bevy_renet/Cargo.toml index d843a40b..e84e90b9 100644 --- a/bevy_renet/Cargo.toml +++ b/bevy_renet/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bevy_renet" -version = "0.0.5" +version = "0.0.6" keywords = ["gamedev", "networking"] description = "Bevy plugin for the renet crate: Server/Client network library for multiplayer games with authentication and connection management" repository = "https://github.com/lucaspoffo/renet" @@ -12,7 +12,7 @@ edition = "2021" [dependencies] bevy = { version = "0.9.0", default-features = false } -renet = { path = "../renet", version = "0.0.9", features = ["bevy"] } +renet = { path = "../renet", version = "0.0.10", features = ["bevy"] } [dev-dependencies] serde = { version = "1.0", features = [ "derive" ] } diff --git a/bevy_renet/README.md b/bevy_renet/README.md index 71840e0f..740de415 100644 --- a/bevy_renet/README.md +++ b/bevy_renet/README.md @@ -97,5 +97,6 @@ If you want a more complex example you can checkout the [demo_bevy](https://gith |bevy|bevy_renet| |---|---| +|0.9|0.0.6| |0.8|0.0.5| |0.7|0.0.4| diff --git a/bevy_renet/src/lib.rs b/bevy_renet/src/lib.rs index ec9bae94..1f914647 100644 --- a/bevy_renet/src/lib.rs +++ b/bevy_renet/src/lib.rs @@ -11,6 +11,7 @@ pub struct RenetServerPlugin { /// If this option is set to false, /// you need to manually clear the bevy events for RenetError and ServerEvent. /// The systems for clearing events can be retrieved by [`RenetServerPlugin::get_clear_event_systems()`]. + /// Defaults to `true` pub clear_events: bool, } @@ -24,6 +25,7 @@ pub struct RenetClientPlugin { /// If this option is set to false, /// you need to manually clear the bevy events for RenetError. /// The systems for clearing events can be retrieved by [`RenetClientPlugin::get_clear_event_systems()`]. + /// Defaults to `true` pub clear_events: bool, } diff --git a/rechannel/Cargo.toml b/rechannel/Cargo.toml index 359fdb7e..c46c3c6a 100644 --- a/rechannel/Cargo.toml +++ b/rechannel/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rechannel" -version = "0.0.5" +version = "0.0.6" authors = ["Lucas Poffo "] description = "Server/Client network library for reliable communication channels in multiplayer games" keywords = ["gamedev", "networking"] diff --git a/renet/Cargo.toml b/renet/Cargo.toml index fa80e24a..0db88194 100644 --- a/renet/Cargo.toml +++ b/renet/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "renet" -version = "0.0.9" +version = "0.0.10" description = "Server/Client network library for multiplayer games with authentication and connection management" keywords = ["gamedev", "networking"] repository = "https://github.com/lucaspoffo/renet" @@ -13,7 +13,7 @@ edition = "2021" bevy = ["dep:bevy_ecs"] [dependencies] -rechannel = { path = "../rechannel", version = "0.0.5" } -renetcode = { path = "../renetcode", version = "0.0.5" } +rechannel = { path = "../rechannel", version = "0.0.6" } +renetcode = { path = "../renetcode", version = "0.0.6" } log = "0.4.17" bevy_ecs = { version = "0.9.0", optional = true } diff --git a/renet_visualizer/Cargo.toml b/renet_visualizer/Cargo.toml index 56d77c5d..4554c752 100644 --- a/renet_visualizer/Cargo.toml +++ b/renet_visualizer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "renet_visualizer" -version = "0.0.2" +version = "0.0.3" keywords = ["gamedev", "networking"] description = "Egui metrics visualizer for the renet crate: Server/Client network library for multiplayer games" repository = "https://github.com/lucaspoffo/renet" @@ -13,6 +13,6 @@ edition = "2021" bevy = ["dep:bevy_ecs"] [dependencies] -renet = { path = "../renet", version = "0.0.9" } +renet = { path = "../renet", version = "0.0.10" } egui = "0.19" bevy_ecs = { version = "0.9.0", optional = true } diff --git a/renetcode/Cargo.toml b/renetcode/Cargo.toml index 2bdcf926..15ed7788 100644 --- a/renetcode/Cargo.toml +++ b/renetcode/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "renetcode" -version = "0.0.5" +version = "0.0.6" description = "Server/Client network protocol library for multiplayer games" keywords = ["gamedev", "networking", "cryptography"] repository = "https://github.com/lucaspoffo/renet" diff --git a/renetcode/src/crypto.rs b/renetcode/src/crypto.rs index 5e853c20..1f475726 100644 --- a/renetcode/src/crypto.rs +++ b/renetcode/src/crypto.rs @@ -55,8 +55,8 @@ pub fn encrypt_in_place_xnonce(buffer: &mut [u8], xnonce: &[u8; 24], key: &[u8; /// Generate a buffer with random bytes using randomness from the operating system. /// -/// The implementation is provided by the [getrandom] crate. Refer to -/// [getrandom] documentation for details. +/// The implementation is provided by the `getrandom` crate. Refer to +/// `getrandom` documentation for details. pub fn generate_random_bytes() -> [u8; N] { let mut bytes = [0; N]; OsRng.fill_bytes(&mut bytes);