Skip to content

v2.6.0

Compare
Choose a tag to compare
@Tradias Tradias released this 30 Jul 10:46
· 272 commits to master since this release

Features

  • Breaking change in experimental agrpc::RPC API:
    • Rename to agrpc::ClientRPC and agrpc::ClientRPCType.
    • Header name changed to client_rpc.hpp.
    • asio::use_awaitable is no longer the default completion token.
    • Remove third template parameter.
    • For streaming specializations:
      • ClientRPC now creates and owns the grpc::ClientContext, it can be customized during construction or later access using context().
      • Must now be started by calling start(), request() has been removed.
      • finish() and writes_done() no longer guard against being called multiple times.
    • For generic specializations:
      • Replace marker values agrpc::CLIENT_GENERIC_X_RPC with agrpc::ClientRPCType::GENERIC_X.
      • Add type aliases agrpc::ClientRPCGenericUnary<Executor> and agrpc::ClientRPCGenericStreaming<Executor>.
  • De-experimentalize agrpc::HealthCheckService.
  • Add cancel() to agrpc::Alarm.
  • Add support for libunifex v0.2.0 to agrpc::repeatedly_request.

Fixes

  • Typo in NotfiyWhenDoneFn

Documentation

  • Simplify file-transfer example.

Chore

  • Update libunifex to v0.2.0. Version 0.3.0 is also supported by held back due to an ICE in clang 10.