drogon v1.6.0 Release Notes

Release Date: 2021-05-15 // almost 3 years ago
  • API changes list

    • โž• Add option to set default handler.

    • โž• Add the setTimeout() method to the DbClient class and the RedisClient class.

    • โž• Add the validateCert parameter to the newWebSocketClient method.

    ๐Ÿ”„ Changed

    • A few mini changes to drogon_ctl command.

    • ๐Ÿ‘Œ Improve the MultiPartParser class.

    • โž• Add GNU -Werror & fix warnings.

    • โœจ Enhancements on files part.

    • โž• Add version/soversion to shared library.

    • Disallow coroutines to be resolved as plain subroutine handlers.

    • Send the content-length header even if the body(POST,PUT,OPTIONS,PATCH) is empty.

    • ๐Ÿ‘ป Use make_exception_ptr instead of throw/catch when possible.

    • โœ‚ Remove duplicated inclusion.

    • ๐Ÿ–จ Print error before terminating in AsyncTask.

    • ๐Ÿ‘ Allow users to override drogon Find modules.

    • ๐Ÿ‘‰ Use two-phase construction for the DbClientImpl and the RedisClientImpl.

    • โž• Add support 'select ' for redis.

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fix a bug of the Transaction class.

    • Copy CoroMapper.h to installation location.

    • โœ‚ Remove the related request from the buffer if it's not sent after the timeout.

    • ๐Ÿ›  Fix ORM with SQLite3 not compiling on Arch Linux.

    • ๐Ÿ›  Fix an error when constructing RedisClientImpl objects.

    • ๐Ÿ›  Fix coroutine frame leak upon assigning to awaitable.

    • ๐Ÿ”Œ Set running flag to true before installing plugins.

    • ๐Ÿ›  Fix double free in coroutine exception handling.


Previous changes from v1.5.1

  • ๐Ÿ›  Fixed

    • ๐Ÿ›  Fix a bug of reflection failure.