Skip to content

2.11

Choose a tag to compare

@apolukhin apolukhin released this 23 Jul 13:39

gRPC:

Other Optimizations:

  • utils::zstring_view is now used throughout the userver to avoid temporary std::string constructions. Affected components include PostgreSQL driver, HTTP clients, Chaotic, universal and Kafka.
  • URL utils for schema, query and fragment extraction now have overloads that return std::string_view and avoid dynamic memory allocations.
  • Properly make date header for S3 API. This avoids rare cases of CPU-intensive thread blocking. Many thanks to Daniil Shvalov for the PR.
  • Size of storages::redis::ReplyData dropped down to 32 bytes from 64 bytes, leading to less memory usage for responses with long arrays.
  • Optimized hex logging in Kafka. Many thanks to Mikhail Romaneev for the PR!

Documentation and Diagnostics:

Build:

  • CMAKE_CXX_STANDARD was set to to 20 by default. C++17 still supported.
  • Added preliminary CMake configure support on Windows. Many thanks to Alex for the PR.
  • Added cmake-format config and formatted the CMake files. Many thanks to Dzmitry Ivaniuk for the PR!
  • Added with_redis_tls flag for support Redis TLS in Conan. Many thanks to Mikhail Romaneev for the PR!
  • userver_testsuite_add() CMake function now works is used in subdirectory of a project. Many thanks to DmitriyH for the PR!

Full Changelog: v2.10...v2.11