Changelog History
Page 1
-
v1.6.0 Changes
May 15, 2021API 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, 2021API 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 build.sh 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, 2021API 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, 2021API 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, 2019API 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.