Skip to content

Releases: teimuraz/tonic-middleware

v0.2.3

13 Oct 09:50
f07ee73
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.2.2...v0.2.3

v0.2.2

16 Sep 19:13
b6d6fbc
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.2.1...v0.2.2

Update tonic to 0.12.1

15 Aug 19:13
6a1147e
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.2.0...v0.2.1

Update tonic to 0.12.0

10 Jul 21:19
5940d12
Compare
Choose a tag to compare

What's Changed

  • Library updated to support Tonic 0.12.0 (Note: Tonic 0.12.0 includes breaking changes. Please update to version 0.2.0 of tonic-middleware)

Full Changelog: v0.1.4...v0.2.0

Breaking changes (resulting from breaking changes in Tonic)

Changed signature of interceptor function:

Instead of

async fn intercept(&self, req: Request<Body>) -> Result<Request<Body>, Status>

Use

use use tonic::body::BoxBody;
...

async fn intercept(&self, req: Request<BoxBody>) -> Result<Request<BoxBody>, Status>

Changed signature of middleware function:

Instead of

async fn intercept_with_endpoint_error(
    &self,
    mut req: Request<Body>,
) -> Result<Request<Body>, Status>

Use

use use tonic::body::BoxBody;
...

async fn intercept_with_endpoint_error(
    &self,
    mut req: Request<BoxBody>,
) -> Result<Request<BoxBody>, Status>

v0.1.4

10 May 22:07
371dfdd
Compare
Choose a tag to compare

What's Changed

  • Compatible with tonic 0.11.0
  • Relax services bounds by removing Debug derivation by @teimuraz in #9

Full Changelog: v0.1.3...v0.1.4

tonic-middleware v0.1.3

24 Mar 15:06
12ac059
Compare
Choose a tag to compare
Fix more crate metadata (#3)