Releases: teimuraz/tonic-middleware
Releases · teimuraz/tonic-middleware
v0.2.3
v0.2.2
Update tonic to 0.12.1
What's Changed
- Update README with changelog link by @teimuraz in #13
- Update README with proper request and response usage by @teimuraz in #15
- README: Fix version number by @progval in #18
- README: Fix typo in
use
by @progval in #19 - Update tonic to 0.12.1 by @teimuraz in #20
New Contributors
Full Changelog: v0.2.0...v0.2.1
Update tonic to 0.12.0
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
tonic-middleware v0.1.3
Fix more crate metadata (#3)