Skip to content

Commit 11064a6

Browse files
committed
Release sol-parser-sdk 0.5.8
1 parent 9d6ff19 commit 11064a6

4 files changed

Lines changed: 20 additions & 6 deletions

File tree

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "sol-parser-sdk"
3-
version = "0.5.7"
3+
version = "0.5.8"
44
edition = "2021"
55
authors = ["William <byteblock6@gmail.com>", "sgxiang <sgxiang@gmail.com>", "wei <1415121722@qq.com>"]
66
repository = "https://github.com/0xfnzero/sol-parser-sdk"

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,17 +108,24 @@ sol-parser-sdk = { path = "../sol-parser-sdk", default-features = false, feature
108108

109109
```toml
110110
# Add to your Cargo.toml
111-
sol-parser-sdk = "0.5.5"
111+
sol-parser-sdk = "0.5.8"
112112
```
113113

114114
Or with the zero-copy parser (maximum performance):
115115

116116
```toml
117-
sol-parser-sdk = { version = "0.5.5", default-features = false, features = ["parse-zero-copy"] }
117+
sol-parser-sdk = { version = "0.5.8", default-features = false, features = ["parse-zero-copy"] }
118118
```
119119

120120
### Release Notes
121121

122+
#### v0.5.8
123+
124+
- Adds configurable ShredStream event filter examples, including Pump.fun trade, create-trade, buy, sell, and buy-exact-sol-in presets.
125+
- Clarifies Pump.fun IDL instruction names in `ix_name`: `buy`, `buy_v2`, `buy_exact_sol_in`, `buy_exact_quote_in_v2`, `sell`, and `sell_v2`.
126+
- Keeps Pump.fun filter families aligned with IDL semantics: `PumpFunBuy` covers all buy instructions, `PumpFunSell` covers all sell instructions, and `PumpFunTrade` covers all buy and sell instructions.
127+
- Ensures subscribing only to `PumpFunTrade` emits unified `DexEvent::PumpFunTrade` events on the ShredStream hot path.
128+
122129
#### v0.5.5
123130

124131
- Aligns ShredStream static-account parsing across Rust, Node.js, Python, and Go.

README_CN.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,17 +108,24 @@ sol-parser-sdk = { path = "../sol-parser-sdk", default-features = false, feature
108108

109109
```toml
110110
# 在 Cargo.toml 中添加
111-
sol-parser-sdk = "0.5.5"
111+
sol-parser-sdk = "0.5.8"
112112
```
113113

114114
或使用零拷贝解析器(最高性能):
115115

116116
```toml
117-
sol-parser-sdk = { version = "0.5.5", default-features = false, features = ["parse-zero-copy"] }
117+
sol-parser-sdk = { version = "0.5.8", default-features = false, features = ["parse-zero-copy"] }
118118
```
119119

120120
### 发布说明
121121

122+
#### v0.5.8
123+
124+
- ShredStream 示例增加可配置事件过滤 preset,包括 Pump.fun trade、create-trade、buy、sell、buy-exact-sol-in。
125+
- 明确 Pump.fun `ix_name` 使用 IDL 原始 instruction name:`buy``buy_v2``buy_exact_sol_in``buy_exact_quote_in_v2``sell``sell_v2`
126+
- Pump.fun 过滤大类与 IDL 语义保持一致:`PumpFunBuy` 覆盖所有 buy 指令,`PumpFunSell` 覆盖所有 sell 指令,`PumpFunTrade` 覆盖所有 buy 和 sell 指令。
127+
- 只订阅 `PumpFunTrade` 时,ShredStream 热路径统一输出 `DexEvent::PumpFunTrade`
128+
122129
#### v0.5.5
123130

124131
- 对齐 Rust、Node.js、Python、Go 的 ShredStream 静态账户解析语义。

0 commit comments

Comments
 (0)