All Versions
Latest Version
Avg Release Cycle
40 days
Latest Release
1101 days ago

Changelog History
Page 1

  • v1.6.0 Changes

    May 15, 2021

    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.

  • v1.5.1 Changes

    April 10, 2021

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fix a bug of reflection failure.
  • v1.5.0 Changes

    April 10, 2021

    API changes list

    • โž• Add option to disable signal handling.

    • โž• Added newFileResponse Support for buffers in memory.

    • โž• Add a method to HttpRequest to set the user_agent header.

    • Catch exceptions thrown by handlers.

    ๐Ÿ”„ Changed

    • โž• Add convert method to models.

    • โž• Add Arch Dockerfile.

    • โž• Add Redis support.

    • ๐Ÿ–จ Print error and exit when IP parsing failed in server startup.

    • ๐Ÿ Use a canonical way of calling max() function on Windows.

    • โœ‚ Remove an assertion statement in the HttpClientImpl class.

    • 0๏ธโƒฃ Send ping messages by default for WebSockets.

    • ๐Ÿ‘‰ Use canonical cmake logic for cross-compilation.

    • ๐Ÿ‘ท set make job count to the number of threads in GitHub Actions workflow.

    • ๐Ÿ‘‰ Use lambda instead of std::bind in HttpServer.

    • โž• Add exports macro to allow Shared Library with hidden symbols by default.

    • โœ‚ Remove repeated class names on relationships from the model generator.

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fix compile warnings in SQL client.

    • ๐Ÿ›  Fix compilation errors for the TimeFilter example.

    • ๐Ÿ›  Fix missing nproc error in build for macOS.

    • ๐Ÿ›  Fix a bug when creating sqlite3 models.

    • ๐Ÿ›  Fix two building corner cases, CMake quality of life improvements.

    • โž• Add CoroMapper to models' friends.

  • v1.4.1 Changes

    March 07, 2021

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fix a bug of DbClientImpl class that can lead to a crash when database connections are breaking.
  • v1.4.0 Changes

    March 05, 2021

    API changes list

    • โž• Add coroutine support.

    • โž• Add default value interface to SqlBinder for MySQL and PostgreSQL.

    • ๐Ÿ‘Œ Support SNI in the HttpClient class.

    • Validate certificate in HttpClient.

    • HttpRequest: add a feature to avoid URL encoding of the path.

    ๐Ÿ”„ Changed

    • ๐Ÿ– Handle cross-compiling properly.

    • Lowercase all HTTP headers, add webp and avif types.

    • Modify FindMySQL.cmake

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fix an error in the HttpClient class when a response has no content-length.

    • Return 404 or 405 responses correctly.

    • ๐Ÿ›  Fix compilation errors on vs2019.

    • ๐Ÿ›  Fix stack use after scope error in client_example.

    • ๐Ÿ›  Fix the error when the SSL handshake fails.

  • v1.3.0 Changes

    January 16, 2021

    API changes list

    • โž• Add an option for setting float precision in Json string.

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fix brotli link order.

    • ๐Ÿ›  Fix cmake with drogonctl cross-compilation.

    • sqlite3: Insert into stmtsMap_ as string_view.

    • ๐Ÿ›  Fix some bugs when creating models via drogon_ctl.

    • ๐Ÿ›  Fix an error in sqlite3 ORM generator.

    • ๐Ÿ›  Fix an error with missing composite key to sqlite3 ORM generator.

    ๐Ÿ”„ Changed

    • โœ‚ Remove the use of std::filesystem to adapt to old compilers.

    • โž• Add github actions.

    • Serve wasm files with the correct MIME type.

  • v1.2.0 Changes

    December 12, 2020

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fix error when receiving response without content-length header.

    • ๐Ÿ›  Fix a stack-overflow error when high concurrency happening on sqlite3.

    • ๐Ÿ›  Fix MinGW ORM building by enabling htonll and ntohll.

    ๐Ÿ”„ Changed

    • โœ… Modify the WebSocketTest controller to create a simple chat room.

    • โž• Add support for OpenBSD.

    • Return 400 if the content-length is invalid.

    • Don't send content type in a 304 response.

    • โž• Add the reuse_port option to app() interface.

    • โž• Add the 'std::optional' support in the SqlBinder class and the Session class.

    • โž• Add implicit page resolving capability.

  • v1.1.0 Changes

    October 31, 2020

    ๐Ÿ›  Fixed

    ๐Ÿ›  Fix failing to connect to DB if parameters contains spaces.

    ๐Ÿ›  Fix a CMAKE bug when SHARED and EXAMPLES are on.

    ๐Ÿ›  Fix the HttpServer::isWebSocket method.

    Find mariadb client library correctly on Ubuntu 20.04.

    ๐Ÿ›  Fix a bug when creating sqlite3 database models.

    ๐Ÿ›  Fix a bug in the Mapper::insertFuture method.

    ๐Ÿ”„ Changed

    0๏ธโƒฃ Disable TLS1.0/1.1 on HTTPS by default.

    ๐Ÿ‘‰ Use explicit lambda capture lists.

    Modify the procedure of the app().run() method.

    ๐Ÿ‘Œ Support namespaces when creating view source files.

    โž• Add --path-to-namespace option to drogon_ctl for creating views.

    โž• Add the Host and Sec-WebSocket-Version headers when connecting to a websocket server.

  • v1.0.0 Changes

    September 27, 2020

    ๐Ÿ›  Fixed

    Fix an issue of simple_reverse_proxy when handling chunked transfer-encoding.

    ๐Ÿ›  Fix a bug when losting connection to MySQL server during query.

    โœ‚ Remove the expired std::iterator template.

    ๐Ÿ›  Fix a bug when creating models in some special cases.

    API changes list

    Modify methods related to headers.

    โœ‚ Remove the expired std::iterator template.

    โž• Add getListeners() method to the HttpAppFramework class.

    โœ‚ Remove the useless method stat() from the PluginBase class.

    โž• Add ConfigLoader::ConfigLoader(const Json::Value &data).

    ๐Ÿ”„ Changed

    โž• Add support for status code 418.

    Modify session handling.

    Modify the FileUpload.csp in simple_example to avoid CORS.

    โœ‚ remove execution permission on /tmp/drogon.lock.

  • v1.0.0-beta9 Changes

    October 28, 2019

    API change list

    โž• Add interfaces for accessing content of attachments.

    โž• Add option to disable setting the 404 status code of the custom 404 page.

    ๐Ÿ‘‰ Make user can use any string as a placeholder's name in routing patterns.

    โž• Add type conversion methods to the HttpRequest and HttpResponse classes.

    ๐Ÿ”„ Changed

    ๐Ÿ”ง Modify cmake configuration.

    Modify the quit() method.

    Implement relationships in ORM.

    ๐Ÿ›  Fixed

    Fix size_t underflow of drogon_ctl.

    ๐Ÿ›  Fix some race conditions.

    ๐Ÿ›  Fix a busy loop bug when connections to mysql server are timeout.