diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e244ead7..5db394bb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,4 +1,4 @@ -name: Release plugin +name: Create release concurrency: group: ${{ github.workflow }}-${{ github.ref }} @@ -8,6 +8,7 @@ on: push: branches: - 'master' + - 'v1.16' tags: - 'v*' - 'tools-v*' diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e762076b..d580018d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,4 +1,4 @@ -name: Build plugin +name: Run tests concurrency: group: ${{ github.workflow }}-${{ github.ref }} @@ -9,6 +9,7 @@ on: push: branches: - 'master' + - 'v1.16' workflow_dispatch: env: diff --git a/CHANGELOG.md b/CHANGELOG.md index 506660f7..44d39124 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,8 @@ The minor version will be incremented upon a breaking change and the patch versi ### Fixes +- deps: make cargo-deny happy about openssl, unsafe-libyaml, h2, ahash ([#278](https://github.com/rpcpool/yellowstone-grpc/pull/278)) + ### Features ### Breaking @@ -150,11 +152,11 @@ The minor version will be incremented upon a breaking change and the patch versi ### Features -- tools: add Google Pub/Sub ([#211](https://github.com/rpcpool/yellowstone-grpc/pull/211)). +- tools: add Google Pub/Sub ([#211](https://github.com/rpcpool/yellowstone-grpc/pull/211)) ### Breaking -- kafka: rename to tools ([#203](https://github.com/rpcpool/yellowstone-grpc/pull/203)). +- kafka: rename to tools ([#203](https://github.com/rpcpool/yellowstone-grpc/pull/203)) ## 2023-10-12 @@ -162,7 +164,7 @@ The minor version will be incremented upon a breaking change and the patch versi ### Features -- geyser: support snapshot data ([#182](https://github.com/rpcpool/yellowstone-grpc/pull/182)). +- geyser: support snapshot data ([#182](https://github.com/rpcpool/yellowstone-grpc/pull/182)) ## 2023-10-10 @@ -173,11 +175,11 @@ The minor version will be incremented upon a breaking change and the patch versi ### Fixes -- geyser: use `entry_count` from `ReplicaBlockInfoV3` ([#186](https://github.com/rpcpool/yellowstone-grpc/pull/186)). +- geyser: use `entry_count` from `ReplicaBlockInfoV3` ([#186](https://github.com/rpcpool/yellowstone-grpc/pull/186)) ### Features -- client: add `GeyserGrpcClient::subscribe_once2` ([#195](https://github.com/rpcpool/yellowstone-grpc/pull/195)). +- client: add `GeyserGrpcClient::subscribe_once2` ([#195](https://github.com/rpcpool/yellowstone-grpc/pull/195)) ## 2023-10-09 @@ -185,9 +187,9 @@ The minor version will be incremented upon a breaking change and the patch versi ### Features -- kafka: add metrics (stats, sent, recv) ([#196](https://github.com/rpcpool/yellowstone-grpc/pull/196)). -- kafka: support YAML config ([#197](https://github.com/rpcpool/yellowstone-grpc/pull/197)). -- kafka: support prometheus address in config ([#198](https://github.com/rpcpool/yellowstone-grpc/pull/198)). +- kafka: add metrics (stats, sent, recv) ([#196](https://github.com/rpcpool/yellowstone-grpc/pull/196)) +- kafka: support YAML config ([#197](https://github.com/rpcpool/yellowstone-grpc/pull/197)) +- kafka: support prometheus address in config ([#198](https://github.com/rpcpool/yellowstone-grpc/pull/198)) ## 2023-10-06 @@ -195,7 +197,7 @@ The minor version will be incremented upon a breaking change and the patch versi ### Fixes -- kafka: fix message size for gRPC client ([#195](https://github.com/rpcpool/yellowstone-grpc/pull/195)). +- kafka: fix message size for gRPC client ([#195](https://github.com/rpcpool/yellowstone-grpc/pull/195)) ## 2023-10-05 @@ -206,8 +208,8 @@ The minor version will be incremented upon a breaking change and the patch versi ### Features -- kafka: support strings for queue size ([#191](https://github.com/rpcpool/yellowstone-grpc/pull/191)). -- solana: update to 1.16.15 ([#193](https://github.com/rpcpool/yellowstone-grpc/pull/193)). +- kafka: support strings for queue size ([#191](https://github.com/rpcpool/yellowstone-grpc/pull/191)) +- solana: update to 1.16.15 ([#193](https://github.com/rpcpool/yellowstone-grpc/pull/193)) ## 2023-10-03 @@ -217,13 +219,9 @@ The minor version will be incremented upon a breaking change and the patch versi ### Features -- proto: add mod `convert_to`, `convert_from` ([#190](https://github.com/rpcpool/yellowstone-grpc/pull/190)). -- client: add tx pretty print to rust ([#189](https://github.com/rpcpool/yellowstone-grpc/pull/189)). -- geyser: update deps, tokio=1.32.0 ([#191](https://github.com/rpcpool/yellowstone-grpc/pull/191)). - -### Fixes - -### Breaking +- proto: add mod `convert_to`, `convert_from` ([#190](https://github.com/rpcpool/yellowstone-grpc/pull/190)) +- client: add tx pretty print to rust ([#189](https://github.com/rpcpool/yellowstone-grpc/pull/189)) +- geyser: update deps, tokio=1.32.0 ([#191](https://github.com/rpcpool/yellowstone-grpc/pull/191)) ## 2023-10-02 @@ -234,15 +232,13 @@ The minor version will be incremented upon a breaking change and the patch versi ### Features -- geyser: add optional TLS to gRPC server config ([#183](https://github.com/rpcpool/yellowstone-grpc/pull/183)). -- client: add timeout options to rust ([#187](https://github.com/rpcpool/yellowstone-grpc/pull/187)). -- geyser: update solana =1.16.14 ([#188](https://github.com/rpcpool/yellowstone-grpc/pull/188)). +- geyser: add optional TLS to gRPC server config ([#183](https://github.com/rpcpool/yellowstone-grpc/pull/183)) +- client: add timeout options to rust ([#187](https://github.com/rpcpool/yellowstone-grpc/pull/187)) +- geyser: update solana =1.16.14 ([#188](https://github.com/rpcpool/yellowstone-grpc/pull/188)) ### Fixes -- geyser: add `fs` feature to `tokio` dependencies in the plugin ([#184](https://github.com/rpcpool/yellowstone-grpc/pull/184)). - -### Breaking +- geyser: add `fs` feature to `tokio` dependencies in the plugin ([#184](https://github.com/rpcpool/yellowstone-grpc/pull/184)) ## 2023-08-28 @@ -250,7 +246,7 @@ The minor version will be incremented upon a breaking change and the patch versi ### Features -- kafka: init ([#170](https://github.com/rpcpool/yellowstone-grpc/pull/170)). +- kafka: init ([#170](https://github.com/rpcpool/yellowstone-grpc/pull/170)) ## 2023-08-21 @@ -258,13 +254,13 @@ The minor version will be incremented upon a breaking change and the patch versi ### Features -- geyser: add package name to version info ([#173](https://github.com/rpcpool/yellowstone-grpc/pull/173)). +- geyser: add package name to version info ([#173](https://github.com/rpcpool/yellowstone-grpc/pull/173)) ### Fixes -- geyser: fix overflow for small slot number ([#171](https://github.com/rpcpool/yellowstone-grpc/pull/171)). -- geyser: use Notify instead of AtomicBool in send loop ([#176](https://github.com/rpcpool/yellowstone-grpc/pull/176)). -- geyser: update block reconstruction code ([#177](https://github.com/rpcpool/yellowstone-grpc/pull/177)). +- geyser: fix overflow for small slot number ([#171](https://github.com/rpcpool/yellowstone-grpc/pull/171)) +- geyser: use Notify instead of AtomicBool in send loop ([#176](https://github.com/rpcpool/yellowstone-grpc/pull/176)) +- geyser: update block reconstruction code ([#177](https://github.com/rpcpool/yellowstone-grpc/pull/177)) ## 2023-08-10 @@ -275,7 +271,7 @@ The minor version will be incremented upon a breaking change and the patch versi ### Features -- geyser: include entries to block message ([#169](https://github.com/rpcpool/yellowstone-grpc/pull/169)). +- geyser: include entries to block message ([#169](https://github.com/rpcpool/yellowstone-grpc/pull/169)) ## 2023-07-26 @@ -283,7 +279,7 @@ The minor version will be incremented upon a breaking change and the patch versi ### Fixes -- geyser: fix config example ([#168](https://github.com/rpcpool/yellowstone-grpc/pull/168)). +- geyser: fix config example ([#168](https://github.com/rpcpool/yellowstone-grpc/pull/168)) ## 2023-07-22 @@ -291,8 +287,8 @@ The minor version will be incremented upon a breaking change and the patch versi ### Features -- geyser: add panic config option on failed block reconstruction ([#165](https://github.com/rpcpool/yellowstone-grpc/pull/165)). -- geyser: allow to disable unary methods ([#166](https://github.com/rpcpool/yellowstone-grpc/pull/166)). +- geyser: add panic config option on failed block reconstruction ([#165](https://github.com/rpcpool/yellowstone-grpc/pull/165)) +- geyser: allow to disable unary methods ([#166](https://github.com/rpcpool/yellowstone-grpc/pull/166)) ## 2023-07-20 @@ -303,7 +299,7 @@ The minor version will be incremented upon a breaking change and the patch versi ### Features -- geyser: add `Entry` message ([#163](https://github.com/rpcpool/yellowstone-grpc/pull/163)). +- geyser: add `Entry` message ([#163](https://github.com/rpcpool/yellowstone-grpc/pull/163)) ## 2023-07-18 @@ -311,7 +307,7 @@ The minor version will be incremented upon a breaking change and the patch versi ### Features -- geyser: reduce the amount of locks ([#161](https://github.com/rpcpool/yellowstone-grpc/pull/161)). +- geyser: reduce the amount of locks ([#161](https://github.com/rpcpool/yellowstone-grpc/pull/161)) ## 2023-07-17 @@ -322,7 +318,7 @@ The minor version will be incremented upon a breaking change and the patch versi ### Features -- geyser: add `accounts` to Block message ([#160](https://github.com/rpcpool/yellowstone-grpc/pull/160)). +- geyser: add `accounts` to Block message ([#160](https://github.com/rpcpool/yellowstone-grpc/pull/160)) ## 2023-07-07 @@ -333,7 +329,7 @@ The minor version will be incremented upon a breaking change and the patch versi ### Features -- geyser: add `account_include` to Blocks filter ([#155](https://github.com/rpcpool/yellowstone-grpc/pull/155)). +- geyser: add `account_include` to Blocks filter ([#155](https://github.com/rpcpool/yellowstone-grpc/pull/155)) ## 2023-06-29 @@ -344,7 +340,7 @@ The minor version will be incremented upon a breaking change and the patch versi ### Features -- geyser: support TokenAccountState in accounts filter ([#154](https://github.com/rpcpool/yellowstone-grpc/pull/154)). +- geyser: support TokenAccountState in accounts filter ([#154](https://github.com/rpcpool/yellowstone-grpc/pull/154)) ## 2023-06-29 @@ -355,13 +351,13 @@ The minor version will be incremented upon a breaking change and the patch versi ### Features -- geyser: support data_slice for accounts ([#150](https://github.com/rpcpool/yellowstone-grpc/pull/150)). -- client: add TypeScript client ([#142](https://github.com/rpcpool/yellowstone-grpc/pull/142)). +- geyser: support data_slice for accounts ([#150](https://github.com/rpcpool/yellowstone-grpc/pull/150)) +- client: add TypeScript client ([#142](https://github.com/rpcpool/yellowstone-grpc/pull/142)) ### Fixes -- client: set max message size for decode ([#151](https://github.com/rpcpool/yellowstone-grpc/pull/151)). -- geyser: remove duplicated account updates for confirmed/finalized ([#152](https://github.com/rpcpool/yellowstone-grpc/pull/152)). +- client: set max message size for decode ([#151](https://github.com/rpcpool/yellowstone-grpc/pull/151)) +- geyser: remove duplicated account updates for confirmed/finalized ([#152](https://github.com/rpcpool/yellowstone-grpc/pull/152)) ## 2023-06-16 @@ -371,7 +367,7 @@ The minor version will be incremented upon a breaking change and the patch versi ### Features -- geyser: update solana =1.16.1 ([#146](https://github.com/rpcpool/yellowstone-grpc/pull/146)). +- geyser: update solana =1.16.1 ([#146](https://github.com/rpcpool/yellowstone-grpc/pull/146)) ## 2023-06-15 @@ -384,8 +380,8 @@ The minor version will be incremented upon a breaking change and the patch versi ### Features -- geyser: Update `tonic`, `0.8.2` => `0.9.2` ([#145](https://github.com/rpcpool/yellowstone-grpc/pull/145)). -- geyser: Add methods `health_check` and `health_watch` ([#145](https://github.com/rpcpool/yellowstone-grpc/pull/145)). -- geyser: Add prometheus metric `message_queue_size` ([#145](https://github.com/rpcpool/yellowstone-grpc/pull/145)). -- geyser: Send task per connection ([#145](https://github.com/rpcpool/yellowstone-grpc/pull/145)). -- geyser: Send processed immediately without `Slot` message ([#145](https://github.com/rpcpool/yellowstone-grpc/pull/145)). +- geyser: Update `tonic`, `0.8.2` => `0.9.2` ([#145](https://github.com/rpcpool/yellowstone-grpc/pull/145)) +- geyser: Add methods `health_check` and `health_watch` ([#145](https://github.com/rpcpool/yellowstone-grpc/pull/145)) +- geyser: Add prometheus metric `message_queue_size` ([#145](https://github.com/rpcpool/yellowstone-grpc/pull/145)) +- geyser: Send task per connection ([#145](https://github.com/rpcpool/yellowstone-grpc/pull/145)) +- geyser: Send processed immediately without `Slot` message ([#145](https://github.com/rpcpool/yellowstone-grpc/pull/145)) diff --git a/Cargo.lock b/Cargo.lock index 9b03f9b1..57860859 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -65,9 +65,9 @@ dependencies = [ [[package]] name = "ahash" -version = "0.7.6" +version = "0.7.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fcb51a0695d8f838b1ee009b3fbf66bda078cd64590202a864a8f3e8c4315c47" +checksum = "5a824f2aa7e75a0c98c5a504fceb80649e9c35265d44525b5f94de4771a395cd" dependencies = [ "getrandom 0.2.10", "once_cell", @@ -1568,9 +1568,9 @@ dependencies = [ [[package]] name = "h2" -version = "0.3.21" +version = "0.3.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91fc23aa11be92976ef4729127f1a74adf36d8436f7816b185d18df956790833" +checksum = "bb2c4422095b67ee78da96fbb51a4cc413b3b25883c7717ff7ca1ab31022c9c9" dependencies = [ "bytes", "fnv", @@ -1578,7 +1578,7 @@ dependencies = [ "futures-sink", "futures-util", "http", - "indexmap 1.9.3", + "indexmap 2.0.2", "slab", "tokio", "tokio-util", @@ -1600,7 +1600,7 @@ version = "0.11.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ab5ef0d4909ef3724cc8cce6ccc8572c5c817592e9285f5464f8e86f8bd3726e" dependencies = [ - "ahash 0.7.6", + "ahash 0.7.7", ] [[package]] @@ -2408,9 +2408,9 @@ checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5" [[package]] name = "openssl" -version = "0.10.57" +version = "0.10.63" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bac25ee399abb46215765b1cb35bc0212377e58a061560d8b29b024fd0430e7c" +checksum = "15c9d69dd87a29568d4d017cfe8ec518706046a05184e5aea92d0af890b803c8" dependencies = [ "bitflags 2.4.0", "cfg-if", @@ -2449,9 +2449,9 @@ dependencies = [ [[package]] name = "openssl-sys" -version = "0.9.93" +version = "0.9.99" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db4d56a4c0478783083cfafcc42493dd4a981d41669da64b4572a2a089b51b1d" +checksum = "22e1bf214306098e4832460f797824c05d25aacdf896f64a985fb0fd992454ae" dependencies = [ "cc", "libc", @@ -4703,9 +4703,9 @@ dependencies = [ [[package]] name = "unsafe-libyaml" -version = "0.2.9" +version = "0.2.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f28467d3e1d3c6586d8f25fa243f544f5800fec42d97032474e17222c2b75cfa" +checksum = "ab4c90930b95a82d00dc9e9ac071b4991924390d46cbd0dfe566148667605e4b" [[package]] name = "untrusted"