diff --git a/Cargo.toml b/Cargo.toml index d99cf50..37600e3 100755 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sol-trade-sdk" -version = "4.0.1" +version = "4.0.2" edition = "2021" authors = [ "William ", diff --git a/README.md b/README.md index e4a8724..7686530 100644 --- a/README.md +++ b/README.md @@ -90,14 +90,14 @@ Add the dependency to your `Cargo.toml`: ```toml # Add to your Cargo.toml -sol-trade-sdk = { path = "./sol-trade-sdk", version = "4.0.1" } +sol-trade-sdk = { path = "./sol-trade-sdk", version = "4.0.2" } ``` ### Use crates.io ```toml # Add to your Cargo.toml -sol-trade-sdk = "4.0.1" +sol-trade-sdk = "4.0.2" ``` ## 🛠️ Usage Examples diff --git a/README_CN.md b/README_CN.md index 6060766..58397f3 100755 --- a/README_CN.md +++ b/README_CN.md @@ -90,14 +90,14 @@ git clone https://github.com/0xfnzero/sol-trade-sdk ```toml # 添加到您的 Cargo.toml -sol-trade-sdk = { path = "./sol-trade-sdk", version = "4.0.1" } +sol-trade-sdk = { path = "./sol-trade-sdk", version = "4.0.2" } ``` ### 使用 crates.io ```toml # 添加到您的 Cargo.toml -sol-trade-sdk = "4.0.1" +sol-trade-sdk = "4.0.2" ``` ## 🛠️ 使用示例 diff --git a/RELEASE_v4.0.2.md b/RELEASE_v4.0.2.md new file mode 100644 index 0000000..d81aa12 --- /dev/null +++ b/RELEASE_v4.0.2.md @@ -0,0 +1,19 @@ +## sol-trade-sdk v4.0.2 + +This release focuses on QUIC reliability and low-latency submission stability for Astralane. + +### Highlights + +- Fixed Astralane QUIC address-family mismatch that could produce `invalid remote address` when DNS returned IPv6 first and local endpoint was IPv4-only. +- Added remote-family-aware local QUIC bind selection: + - IPv4 remote -> bind `0.0.0.0:0` + - IPv6 remote -> bind `[::]:0` +- Added Astralane direct-IP candidate support (official region IPs), with IPv4-first selection for better QUIC stability. +- Added automatic endpoint failover and reconnect rotation across candidate addresses, reducing single-endpoint/DNS variance impact. +- Kept existing SDK interfaces compatible while improving submit-path resiliency. + +### Also included from recent updates + +- BlockRazor gRPC endpoint fixes and gRPC default transport behavior improvements (v4.0.1). +- SWQOS transport path hardening and Binary-Tx response handling improvements (v4.0.0). +