Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
26 changes: 25 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,34 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
**Note:** Version 0 of Semantic Versioning is handled differently from version 1 and above.
The minor version will be incremented upon a breaking change and the patch version will be incremented for features.

# 2026-03-31
## 2026-03-31

- yellowstone-grpc-client-13.0.0
- yellowstone-grpc-client-nodejs-5.0.7
- yellowstone-grpc-client-simple-12.2.0
- yellowstone-grpc-geyser-12.2.0
- yellowstone-grpc-proto-12.1.0


### Breaking

Introduce API breaking that should facilitate maintenance and compilation errors.

- Removed generic interceptor types from `GeyserGrpcClient`
- Replaced `impl Sink<SubscribeRequest, Error = mpsc::SendError>` with `SubscribeRequestSink` type.
- Replaced `impl Sink<SubscribeDeshredRequest, Error = mpsc::SendError>` with `SubscribeDeshredRequestSink` type.
- Replaced `impl Stream<Item = Result<SubscribeUpdate, Status>>` with `GeyserStream` type.
- Replaced `impl Stream<Item = Result<SubscribeUpdateDeshred, Status>>` with `DeshredStream` type
- `SubscribeRequestSink`now returns `SubscribeRequestSinkError` instead of `mpsc::SendError`.
- Removed `GeyserGrpcClientError::SubscribeSendError` variant as no code branch could raise this error.

Referenced PR(s) :[721](https://github.com/rpcpool/yellowstone-grpc/pull/721)


# 2026-03-31

- yellowstone-grpc-client-12.2.0
- yellowstone-grpc-client-nodejs-5.0.7
- yellowstone-grpc-client-simple-12.2.0
- yellowstone-grpc-geyser-12.2.0
- yellowstone-grpc-proto-12.1.0
Expand Down
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 @@ -95,7 +95,7 @@ solana-transaction-error = "3.0.0"
spl-token-2022-interface = "2.0.0"

# Yellowstone
yellowstone-grpc-client = { path = "yellowstone-grpc-client", version = "12.2.0" }
yellowstone-grpc-client = { path = "yellowstone-grpc-client", version = "13.0.0" }
yellowstone-grpc-geyser = { path = "yellowstone-grpc-geyser", version = "12.2.0" }
yellowstone-grpc-proto = { path = "yellowstone-grpc-proto", version = "12.1.0", default-features = false }

Expand Down
15 changes: 6 additions & 9 deletions examples/rust/src/bin/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ use {
},
tokio::{fs, sync::Mutex},
tonic::transport::{channel::ClientTlsConfig, Certificate},
yellowstone_grpc_client::{
GeyserGrpcBuilder, GeyserGrpcClient, GeyserGrpcClientError, Interceptor,
},
yellowstone_grpc_client::{GeyserGrpcBuilder, GeyserGrpcClient},
yellowstone_grpc_geyser::plugin::{convert_from, filter::message::FilteredUpdate},
yellowstone_grpc_proto::{
geyser::SlotStatus,
Expand Down Expand Up @@ -659,7 +657,7 @@ impl Action {
}

async fn run_action(
mut client: GeyserGrpcClient<impl Interceptor>,
mut client: GeyserGrpcClient,
action: &Action,
commitment: Option<CommitmentLevel>,
) -> anyhow::Result<()> {
Expand Down Expand Up @@ -782,7 +780,7 @@ async fn main() -> anyhow::Result<()> {
.await
}

async fn geyser_health_watch(mut client: GeyserGrpcClient<impl Interceptor>) -> anyhow::Result<()> {
async fn geyser_health_watch(mut client: GeyserGrpcClient) -> anyhow::Result<()> {
let mut stream = client.health_watch().await?;
info!("stream opened");
while let Some(message) = stream.next().await {
Expand All @@ -793,7 +791,7 @@ async fn geyser_health_watch(mut client: GeyserGrpcClient<impl Interceptor>) ->
}

async fn geyser_subscribe(
mut client: GeyserGrpcClient<impl Interceptor>,
mut client: GeyserGrpcClient,
request: SubscribeRequest,
resub: usize,
stats: bool,
Expand Down Expand Up @@ -1047,16 +1045,15 @@ async fn geyser_subscribe(
ping: None,
from_slot: None,
})
.await
.map_err(GeyserGrpcClientError::SubscribeSendError)?;
.await?;
}
}
info!("stream closed");
Ok(())
}

async fn geyser_subscribe_deshred(
mut client: GeyserGrpcClient<impl Interceptor>,
mut client: GeyserGrpcClient,
request: SubscribeDeshredRequest,
stats: bool,
) -> anyhow::Result<()> {
Expand Down
2 changes: 1 addition & 1 deletion yellowstone-grpc-client/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "yellowstone-grpc-client"
version = "12.2.0"
version = "13.0.0"
authors = { workspace = true }
edition = { workspace = true }
description = "Yellowstone gRPC Geyser Simple Client"
Expand Down
Loading
Loading