Skip to content

Latest commit

 

History

History
307 lines (177 loc) · 26.6 KB

CHANGELOG.md

File metadata and controls

307 lines (177 loc) · 26.6 KB

0.4.3 (2021-04-29)

Features

  • client: Add Request::set_timeout (#615) (dae31d0)
  • transport: Configure TLS automatically when possible (#445) (b04c1c6)
  • transport: Support timeouts with the grpc-timeout header (#606) (9ff4f7b)

0.4.2 (2021-04-13)

Bug Fixes

  • codec: Allocate inbound buffer once (#578) (1d2754f)
  • reflection: Depend on correct version of build (#582) (db09093)

Features

0.4.1 (2021-03-16)

Features

  • feat(reflection): Implement gRPC Reflection Service (#340) (c54f247), closes #340
  • feat(build): Add disable_package_emission option to tonic-build (#556) (4f5e160), closes #556
  • feat(build): Support compiling well-known protobuf types (#522) (61555ff), closes #522
  • feat(build): Use RUSTFMT to find rustfmt binary (#566) (ea56e2e), closes #566
  • chore: add FromStr for Endpoint (#558) (f49d4bd), closes #558

Bug Fixes

0.4.0 (2021-01-15)

This version brings Tonic inline with Tokio 1.0 and Prost 0.7! This release also includes new versions of tonic-types, tonic-build, and tonic-health.

Bug Fixes

  • transport: return Poll::ready until error is consumed (#536) (dafea9a)
  • gracefully handle bad native certs (#520) (fe4d5b9), closes #519
  • build: Add content-type for generated unimplemented service (#441) (62c1230)
  • build: Match namespace code with other generated packages (#472) (1b03ece)
  • transport: Add content-type for Unimplemented (#434) (594a542)
  • transport: reconnect lazy connections after first failure (#458) (e9910d1), closes #452
  • client: Merge trailer and initla headers into status on err (#510)
  • transport: Fix TLS accept w/ peer certs (#535) (41c51f1)

Features

  • status: implement Fromio::Error for Status (#500) (fc86563)
  • transport: Add Router::into_service (#419) (37f6733)
  • transport: add max http2 frame size to server. (#529) (31936e0), closes #264
  • transport: add user-agent header to client requests. (#457) (d4899df), closes #453
  • transport: Connect lazily in the load balanced channel (#493) (2e964c7)
  • transport: expose HTTP2 server keepalive interval and timeout (#486) (2b9cdb9), closes #474
  • transport: Move error! to debug! (#537) (a7778ad)
  • transport: Do not panic when building and Endpoint with an invali… (#438) (26ce9d1), closes #438

BREAKING CHANGES

  • TryFrom API has been changed.
  • Upgraded to tokio 1.0 and prost 0.7.
  • Channel now implements Service instead of GrpcService.

0.3.1 (2020-08-20)

Bug Fixes

  • transport: Return connection error on Channel::connect (#413) (2ea17b2), closes #403

0.3.0 (2020-07-13)

Bug Fixes

  • Status::details leaking base64 encoding (#395) (2c4c544), closes #379
  • build: Allow empty packages (#382) (f085aba), closes #381
  • build: Make generated server service public (#347) (8cd6f05)
  • transport: Propagate errors in tls_config instead of unwrap/panic (#385) (3b9d6a6)
  • Remove uses of pin_project::project attribute (#367) (5bda615)

Features

0.2.1 (2020-05-07)

Bug Fixes

  • base64 encode details header (#345) (e683ffe)
  • build: Remove ambiguity in service method call (#327) (5d56daa)
  • transport: Apply tls-connector for discovery when applicable (#334) (#338) (99fbe22)

Features

  • transport: Add AsRef impl for Certificate (#326) (d2ad8df)

0.2.0 (2020-04-01)

Bug Fixes

  • build: Allow non_camel_case_types on codegen structs (224280d), closes #295
  • build: Don't replace extern_paths (#261) (1b3d107)
  • build: Ignore non .rs files with rustfmt (#284) (7dfa2a2), closes #283
  • build: Implement Debug for client struct (6dbe88d), closes #298
  • build: Remove debug println! (#287) (e2c2be2)
  • build: Server service uses generic body bound (#306) (5758b75)
  • health: Set referenced version of tonic (59c7788)
  • metadata: Remove deprecated error description (61e0429)
  • transport: Handle tls accepting on task (#320) (04a8c0c)

Features

0.1.1 (2020-01-20)

Bug Fixes

  • build: Typo with client mod docstring (#237) (5fc6762)
  • transport: Add Connected impl for TcpStream (#245) (cfdf0af)
  • transport: Use Uri host if no domain for tls (#244) (6de0b4d)

0.1.0 (2020-01-14)

Bug Fixes

  • build: Remove default impl for Server traits (#229) (a41f55a)
  • transport: Improve Error type (#217) (ec1f37e)

chore

Features

  • Add gRPC interceptors (#232) (eba7ec7)
  • build: Add extern_path config support (#223) (e034288)
  • codec: Introduce Decoder/Encoder traits (#208) (0fa2bf1)
  • transport: Add serve_with_incoming_shutdown (#220) (a66595b)
  • transport: Add server side peer cert support (#228) (af807c3)

BREAKING CHANGES

  • Rename ServiceName to NamedService.
  • removed interceptor_fn and intercep_headers_fn from transport in favor of using tonic::Interceptor.
  • codec: Add new Decoder/Encoder traits and use EncodeBuf/DecodeBuf over BytesMut directly.
  • build: remove default implementations for server traits.

0.1.0-beta.1 (2019-12-19)

Bug Fixes

Features

  • transport: Add remote_addr to Request on the server si… (#186) (3eb76ab)
  • transport: Add server graceful shutdown (#169) (393a57e)
  • transport: Add system root anchors for TLS (#114) (ac0e333), closes #101
  • transport: Add tracing support to server (#175) (f46a454)
  • transport: Allow custom IO and UDS example (#184) (b90c340), closes #136
  • expose tcp_nodelay for clients and servers (#145) (0eb9991)
  • transport: Enable TCP_NODELAY. (#120) (0299509)
  • transport: Expose tcp keepalive to clients & servers (#151) (caccfad)
  • Add Status constructors (#137) (997241c)

BREAKING CHANGES

  • build: Build will now generate each service client and server into their own modules.
  • transport: Remove support for OpenSSL within the transport.

0.1.0-alpha.5 (2019-10-31)

Bug Fixes

  • build: Fix missing argument in generate_connect (#95) (eea3c0f)
  • codec: Enforce encoders/decoders are Sync (#84) (3ce61d9), closes #81
  • codec: Remove custom content-type (#104) (a17049f)

Features

  • transport: Add service multiplexing/routing (#99) (5b4f468), closes #29
  • transport: Change channel connect to be async (#107) (5c2f4db)
  • Add IntoRequest and IntoStreamingRequest traits (#66) (4bb087b)

BREAKING CHANGES

  • transport: Endpoint::channel was removed in favor of an async Endpoint::connect.

0.1.0-alpha.4 (2019-10-23)

Bug Fixes

  • build: Fix service and rpc name conflict (#92) (1dbde95), closes #89
  • client: Use Stream instead of TrySteam for client calls (#61) (7eda823)
  • codec: Properly decode partial DATA frames (#83) (9079e0f)
  • transport: Rename server tls config method (#73) (2a4bdb2)

Features

BREAKING CHANGES

  • transport: rustls_client_config for the server has been renamed to rustls_server_config.

0.1.0-alpha.3 (2019-10-09)

Features

  • build: Expose prost-build type_attributes and field_attribu… (#60) (06ff619)
  • transport: Expose more granular control of TLS configuration (#48) (8db3961)

0.1.0-alpha.2 (2019-10-08)

Bug Fixes

  • codec: Fix buffer decode panic on full (#43) (ed3e7e9)
  • codegen: Fix Empty protobuf type and add unimplemented (#26) (2670b34)
  • codegen: Use wellknown types from prost-types (#49) (4e1fcec)
  • transport: Attempt to load RSA private keys in rustls (#39) (2c5c3a2)
  • transport: Avoid exit after bad TLS handshake (#51) (412a0bd)

Features

  • codgen: Add default implementations for the generated serve… (#27) (4559613)
  • transport: Expose http/2 settings (#28) (0218d58)