Skip to content

Commit e56ca3b

Browse files
authored
Bump version to 0.13.0 (#41)
1 parent bd74ca0 commit e56ca3b

11 files changed

Lines changed: 37 additions & 29 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# CHANGELOG
22

3+
## 0.13.0 - 01/15/26
4+
35
- Update to `bevy` 0.18 and `bevy_replicon` 0.38.
46
- Misc compile/clippy/formatting fixes.
57

bevy_renet2/Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "bevy_renet2"
33
description = "Bevy plugin for the renet2 crate"
4-
version = "0.12.1"
4+
version = "0.13.0"
55
edition = "2021"
66
keywords = ["gamedev", "networking"]
77
license = "MIT OR Apache-2.0"
@@ -34,13 +34,13 @@ required-features = ["serde", "netcode"]
3434
bevy_app = { version = "0.18", default-features = false }
3535
bevy_ecs = { version = "0.18", default-features = false }
3636
bevy_time = { version = "0.18", default-features = false }
37-
renet2 = { path = "../renet2", version = "0.12.1", default-features = false, features = [
37+
renet2 = { path = "../renet2", version = "0.13.0", default-features = false, features = [
3838
"bevy",
3939
] }
40-
renet2_netcode = { path = "../renet2_netcode", version = "0.12.1", optional = true, default-features = false, features = [
40+
renet2_netcode = { path = "../renet2_netcode", version = "0.13.0", optional = true, default-features = false, features = [
4141
"bevy",
4242
] }
43-
renet2_steam = { path = "../renet2_steam", version = "0.12.1", optional = true, default-features = false, features = [
43+
renet2_steam = { path = "../renet2_steam", version = "0.13.0", optional = true, default-features = false, features = [
4444
"bevy",
4545
] }
4646
steamworks = { version = "0.11", optional = true }
@@ -60,10 +60,10 @@ bevy = { version = "0.18", default-features = false, features = [
6060
] }
6161
bincode = "1.3"
6262
env_logger = "0.11"
63-
renet2 = { path = "../renet2", version = "0.12.1", default-features = false, features = [
63+
renet2 = { path = "../renet2", version = "0.13.0", default-features = false, features = [
6464
"bevy",
6565
] }
66-
renet2_netcode = { path = "../renet2_netcode", version = "0.12.1", default-features = false, features = [
66+
renet2_netcode = { path = "../renet2_netcode", version = "0.13.0", default-features = false, features = [
6767
"bevy",
6868
"memory_transport",
6969
] }

bevy_renet2/README.md

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Bevy Renet
2+
23
[![Latest version](https://img.shields.io/crates/v/bevy_renet2.svg)](https://crates.io/crates/bevy_renet2)
34
[![Documentation](https://docs.rs/bevy_renet2/badge.svg)](https://docs.rs/bevy_renet2)
45
![MIT](https://img.shields.io/badge/license-MIT-blue.svg)
@@ -9,9 +10,11 @@ A network crate for Server/Client with cryptographically secure authentication a
910
Designed for fast-paced competitive multiplayer games.
1011

1112
## Usage
13+
1214
Bevy renet is a small layer over the `renet2` crate, it adds systems to call the update function from the client/server. `RenetClient`, `RenetServer`, `NetcodeClientTransport` and `NetcodeServerTransport` need to be added as a resource, so the setup is similar to `renet2` itself:
1315

1416
#### Server
17+
1518
```rust
1619
let mut app = App::new();
1720
app.add_plugin(RenetServerPlugin);
@@ -70,6 +73,7 @@ fn handle_events_system(mut server_events: EventReader<ServerEvent>) {
7073
```
7174

7275
#### Client
76+
7377
```rust
7478
let mut app = App::new();
7579
app.add_plugin(RenetClientPlugin);
@@ -114,17 +118,18 @@ fn receive_message_system(mut client: ResMut<RenetClient>) {
114118

115119
You can run the `simple` example with:
116120

117-
* Server: `cargo run --features="serde native_transport" --example simple -- server`
118-
* Client: `cargo run --features="serde native_transport" --example simple -- client`
121+
- Server: `cargo run --features="serde native_transport" --example simple -- server`
122+
- Client: `cargo run --features="serde native_transport" --example simple -- client`
119123

120124
If you want a more complex example you can checkout the [demo_bevy](https://github.com/UkoeHB/renet2/tree/master/demo_bevy) sample:
121125

122126
[Bevy Demo.webm](https://user-images.githubusercontent.com/35241085/180664609-f8c969e0-d313-45c0-9c04-8a116896d0bd.webm)
123127

124128
## Bevy Compatibility
125129

126-
|bevy|bevy_renet2 |
127-
|----|-------------|
128-
|0.17|0.11.0 - |
129-
|0.16|0.9.0 - 0.10.0|
130-
|0.15|0.0.7 - 0.8.1|
130+
| bevy | bevy_renet2 |
131+
| ---- | --------------- |
132+
| 0.18 | 0.13.0 |
133+
| 0.17 | 0.11.0 - 0.12.0 |
134+
| 0.16 | 0.9.0 - 0.10.0 |
135+
| 0.15 | 0.0.7 - 0.8.1 |

bevy_replicon_renet2/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "bevy_replicon_renet2"
3-
version = "0.12.1"
3+
version = "0.13.0"
44
authors = [
55
"Hennadii Chernyshchyk <genaloner@gmail.com>",
66
"koe <ukoe@protonmail.com>",
@@ -23,12 +23,12 @@ rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"]
2323

2424
[dependencies]
2525
bevy_replicon = { version = "0.38", default-features = false }
26-
bevy_renet2 = { path = "../bevy_renet2", version = "0.12.1", default-features = false }
26+
bevy_renet2 = { path = "../bevy_renet2", version = "0.13.0", default-features = false }
2727
bevy = { version = "0.18", default-features = false, features = ["bevy_log"] }
2828

2929
[dev-dependencies]
3030
clap = { version = "4.1", features = ["derive"] }
31-
bevy_renet2 = { path = "../bevy_renet2", version = "0.12.1", features = [
31+
bevy_renet2 = { path = "../bevy_renet2", version = "0.13.0", features = [
3232
"native_transport",
3333
] }
3434
bevy = { version = "0.18", default-features = false, features = [

bevy_replicon_renet2/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ Run tests with `cargo test --features native_transport,client,server`.
77
## Compatible versions
88

99
| bevy_replicon_renet2 | bevy_renet2 | bevy_replicon | bevy |
10-
|----------------------|-------------|---------------|--------|
10+
| -------------------- | ----------- | ------------- | ------ |
11+
| 0.13 | 0.13 | 0.38 | 0.18 |
1112
| 0.12 | 0.12 | 0.37 | 0.17 |
1213
| 0.11 | 0.11 | 0.36 | 0.17 |
1314
| 0.9 | 0.9 | 0.33 | 0.16 |

renet2/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "renet2"
3-
version = "0.12.1"
3+
version = "0.13.0"
44
authors = ["koe <ukoe@protonmail.com>"]
55
description = "Server/Client network protocol library for multiplayer games, forked from renet"
66
edition = "2021"

renet2_netcode/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "renet2_netcode"
3-
version = "0.12.1"
3+
version = "0.13.0"
44
authors = ["koe <ukoe@protonmail.com>"]
55
description = "Netcode integration for renet2"
66
edition = "2021"
@@ -107,8 +107,8 @@ ws_client_transport = [
107107
bytes = "1.1"
108108
log = "0.4"
109109
octets = "0.3"
110-
renetcode2 = { path = "../renetcode2", version = "0.12.1" }
111-
renet2 = { path = "../renet2", version = "0.12.1" }
110+
renetcode2 = { path = "../renetcode2", version = "0.13.0" }
111+
renet2 = { path = "../renet2", version = "0.13.0" }
112112
hmac-sha256 = { version = "1.1" }
113113
url = { version = "2.4" }
114114
bevy_ecs = { version = "0.18", optional = true }

renet2_setup/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "renet2_setup"
3-
version = "0.12.1"
3+
version = "0.13.0"
44
authors = ["koe <ukoe@protonmail.com>"]
55
edition = "2021"
66
description = "Setup utilities for renet2"
@@ -18,8 +18,8 @@ serde = { version = "1.0" }
1818
serde_with = { version = "1.0" }
1919
url = { version = "2.4" }
2020

21-
renet2 = { path = "../renet2", version = "0.12.1", default-features = false }
22-
renet2_netcode = { path = "../renet2_netcode", version = "0.12.1", optional = true, default-features = false, features = [
21+
renet2 = { path = "../renet2", version = "0.13.0", default-features = false }
22+
renet2_netcode = { path = "../renet2_netcode", version = "0.13.0", optional = true, default-features = false, features = [
2323
"serde",
2424
] }
2525

renet2_steam/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "renet2_steam"
3-
version = "0.12.1"
3+
version = "0.13.0"
44
keywords = ["gamedev", "networking", "transport"]
55
description = "steam transport for the renet2 crate"
66
repository = "https://github.com/UkoeHB/renet2"
@@ -17,7 +17,7 @@ rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"]
1717
bevy = ["dep:bevy_ecs"]
1818

1919
[dependencies]
20-
renet2 = { path = "../renet2", version = "0.12.1" }
20+
renet2 = { path = "../renet2", version = "0.13.0" }
2121
steamworks = "0.11"
2222
log = "0.4.19"
2323
bevy_ecs = { version = "0.18", optional = true }

renet2_visualizer/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "renet2_visualizer"
3-
version = "0.12.1"
3+
version = "0.13.0"
44
keywords = ["gamedev", "networking"]
55
description = "Egui metrics visualizer for the renet2 crate"
66
repository = "https://github.com/UkoeHB/renet2"
@@ -16,6 +16,6 @@ rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"]
1616
bevy = ["dep:bevy_ecs"]
1717

1818
[dependencies]
19-
renet2 = { path = "../renet2", version = "0.12.1" }
19+
renet2 = { path = "../renet2", version = "0.13.0" }
2020
egui = "0.33"
2121
bevy_ecs = { version = "0.18", optional = true }

0 commit comments

Comments
 (0)