Skip to content

Commit 16bcb54

Browse files
committed
Dump version 0.8.0 (razor-rpc, razor-rpc-macros, razor-stream, razor-stream-macros, razor-rpc-tcp)
1 parent 464de16 commit 16bcb54

6 files changed

Lines changed: 33 additions & 9 deletions

File tree

CHANGELOG.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,30 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1313

1414
### Changed
1515

16+
## [0.8.0] - 2026-03-17
17+
18+
### Added
19+
20+
- Support define custom error type to redirect / retry, via RpcErrCodec::should_failover().
21+
22+
- FailoverPool now support leader-follower (stateless=false), and dynamically adding new server via redirect error.
23+
24+
### Changed
25+
26+
- Rework api interface: Define type "APIFact" to replace "APIClientDefault" / "APIClientFacts"
27+
28+
- Rename "ClientPool" to "ConnPool"
29+
30+
- Change "AsyncEndpoint" trait to "APIClientCaller", which impl directly on "ConnPool" / "FailoverPool"
31+
32+
- Rename FailoverPool argument from "round-robin" to "stateless"
33+
34+
- ClientTaskDone::set_custom_error() add last_index & config_ver as extra param, for APIClientReq to resubmit during redirect error.
35+
36+
- Add RT as associate type of ClientTransport, to reduce RT generic in FailoverPool / ConnPool
37+
38+
- Add RT as associate type of ServerTransport, to reduce RT generic in RpcServer::listen
39+
1640
## [0.7.0] - 2026-03-14
1741

1842
### Changed

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ members = ["codec", "macros", "stream", "stream/macros", "transport/tcp", "trans
33

44
[package]
55
name = "razor-rpc"
6-
version = "0.7.0"
6+
version = "0.8.0"
77
edition = "2024"
88
authors = ["plan <frostyplanet@gmail.com>"]
99
categories = ["concurrency", "network-programming"]
@@ -25,8 +25,8 @@ serde = "1"
2525
async-trait = "0"
2626
crossfire = ">=3.1"
2727
orb = "0"
28-
razor-stream = {path="stream/", version=">=0.7"}
29-
razor-rpc-macros = { path = "macros", version = "0.6" }
28+
razor-stream = {path="stream/", version=">=0.8"}
29+
razor-rpc-macros = { path = "macros", version = ">=0.8" }
3030
ahash = "0.8"
3131

3232
[dev-dependencies]

macros/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "razor-rpc-macros"
3-
version = "0.6.0"
3+
version = "0.8.0"
44
edition = "2024"
55
authors = ["plan <frostyplanet@gmail.com>"]
66
categories = ["concurrency", "network-programming"]

stream/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "razor-stream"
3-
version = "0.7.0"
3+
version = "0.8.0"
44
edition = "2024"
55
authors = ["plan <frostyplanet@gmail.com>"]
66
categories = ["concurrency", "network-programming"]
@@ -25,7 +25,7 @@ thiserror = "2"
2525
orb = ">=0.7"
2626
arc-swap = "1"
2727
razor-rpc-codec = {path="../codec/", version=">=0.3"}
28-
razor-stream-macros = {path="macros", version=">=0.4"}
28+
razor-stream-macros = {path="macros", version=">=0.8"}
2929
log = { version = "0.4", features = ["std", "kv_unstable"] }
3030
captains-log = ">=0.15"
3131
zerocopy = { version="0.8", features=["derive"]}

stream/macros/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "razor-stream-macros"
3-
version = "0.5.0"
3+
version = "0.8.0"
44
edition = "2024"
55
authors = ["plan <frostyplanet@gmail.com>"]
66
categories = ["concurrency", "network-programming"]

transport/tcp/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "razor-rpc-tcp"
3-
version = "0.5.1"
3+
version = "0.8.0"
44
edition = "2024"
55
authors = ["plan <frostyplanet@gmail.com>"]
66
categories = ["concurrency", "network-programming"]
@@ -16,7 +16,7 @@ with a low-level streaming interface, and high-level remote API call interface.
1616
"""
1717

1818
[dependencies]
19-
razor-stream = {path="../../stream", version=">=0.4"}
19+
razor-stream = {path="../../stream", version=">=0.8"}
2020
log = { version = "0.4", features = ["std", "kv_unstable"] }
2121
orb = { version="0"}
2222
captains-log = ">=0.15"

0 commit comments

Comments
 (0)