Skip to content

Commit d802346

Browse files
deuszxTwey
andauthored
Bump versions of tonic dependencies. (#4446)
## Motivation Originally the motivation was to use latest `tonic-web-wasm-client` (version `0.8.0`) which introduced the timeout on web clients using JS `fetch` method (devashishdxt/tonic-web-wasm-client#84). In order to do so, update of all tonic dependencies was required. ## Proposal Update `tonic`. Unfortunately, we don't use the `tonic-web-wasm-client` latest feature as it also cancels the long-living streaming requests (like our `Subscribe` endpoint) which triggers the re-subscription (repeatedly). This slows down the clients but also could lead to potentially loosing some events emitted while it was un-subscribed. ## Test Plan CI. ## Release Plan - This change follows usual release cycle. ## Links - [reviewer checklist](https://github.com/linera-io/linera-protocol/blob/main/CONTRIBUTING.md#reviewer-checklist) --------- Signed-off-by: deuszx <[email protected]> Co-authored-by: James Kay <[email protected]>
1 parent 7cfb32d commit d802346

File tree

16 files changed

+191
-274
lines changed

16 files changed

+191
-274
lines changed

Cargo.lock

Lines changed: 77 additions & 130 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ proc-macro2 = "1.0"
164164
prometheus = "0.13.3"
165165
prometheus-parse = "0.2.5"
166166
proptest = { version = "1.6.0", default-features = false, features = ["alloc"] }
167-
prost = "0.13.2"
167+
prost = "0.14"
168168
quick_cache = "0.6.13"
169169
quote = "1.0"
170170
rand = { version = "0.8.5", default-features = false }
@@ -238,12 +238,14 @@ tokio-stream = "0.1.14"
238238
tokio-test = "0.4.3"
239239
tokio-util = "0.7.10"
240240
toml = "0.8.10"
241-
tonic = { version = "0.12.3", default-features = false }
242-
tonic-build = { version = "0.12.3", default-features = false }
243-
tonic-health = "0.12"
244-
tonic-reflection = "0.12"
245-
tonic-web = "0.12"
246-
tonic-web-wasm-client = "0.6.0"
241+
tonic = { version = "0.14", default-features = false }
242+
tonic-build = { version = "0.14", default-features = false }
243+
tonic-health = "0.14"
244+
tonic-prost = "0.14"
245+
tonic-prost-build = { version = "0.14", default-features = false }
246+
tonic-reflection = "0.14"
247+
tonic-web = "0.14"
248+
tonic-web-wasm-client = "0.8.0"
247249
tower = "0.4.13"
248250
tower-http = "0.6.6"
249251
tracing = { version = "0.1.40", features = ["release_max_level_debug"] }

examples/Cargo.lock

Lines changed: 55 additions & 110 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)