Skip to content

v2.5.0

Compare
Choose a tag to compare
@Tradias Tradias released this 13 Mar 11:31
· 320 commits to master since this release

Features

  • Implement a pool memory resource based on Boost.Container's unsynchronized_pool_resource. This makes selecting between <memory_resource>, Boost.Container and asio::recycling_allocator obsolete. All related CMake options have been marked deprecated and only affect uses_allocator specializations now. They will be removed in version 3 which will always use std::uses_allocator.
  • Deprecated: Due to the above, all typedefs in the agrpc::pmr namespace are deprecated and will be removed in v3.
  • Add a new CMake option called ASIO_GRPC_BUILD_EXAMPLES which enables compilation of just examples without tests. Also, libunifex is now treated as an optional dependency.

Fixes

  • agrpc::run* consumes a high amount of CPU resources when the GrpcContext had already stopped while the second argument (typically an io_context) had work left to do. To resolve that, agrpc::run* will now end when both contexts are stopped using new functions that were added to the RunTraits.

Documentation

  • Create an article on the use of asio::io_context.

Chore

  • Treat compiler warnings as error in CI.