Skip to content

Releases: drogonframework/drogon

v1.4.1

07 Mar 12:50
Compare
Choose a tag to compare

Fixed

  • Fix a bug of DbClientImpl class that can lead to a crash when database connections are breaking.

v1.4.0

06 Mar 08:42
Compare
Choose a tag to compare

API change 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.

Note: an-tao is still the author. But marty1885 starts the draft and didn't expect it's his name.

v1.3.0

17 Jan 04:08
0168cd0
Compare
Choose a tag to compare

API change 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

12 Dec 08:41
Compare
Choose a tag to compare

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

31 Oct 03:12
Compare
Choose a tag to compare

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

  • 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

27 Sep 14:54
bbb338b
Compare
Choose a tag to compare

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-beta21

19 Aug 16:13
Compare
Choose a tag to compare
v1.0.0-beta21 Pre-release
Pre-release

Changed

  • Modify the Result class in orm.

Fixed

  • Fix zlib link error on Windows for the latest vcpkg.

v1.0.0-beta20

15 Aug 08:17
Compare
Choose a tag to compare
v1.0.0-beta20 Pre-release
Pre-release

API change list

  • Provide users with a method to change the session ID of a session.

Changed

  • Modify parseContentType function.

  • Modify the docker file to build release version in docker.

  • Set session to requests for websockets.

  • Modify parseContentType function.

  • Change the return value type of the mktime() function in models.

  • Fix compilation warning of sprintf function.

Fixed

  • Fix a bug when saving uploaded files on Windows.

  • Fix a mysql issue when connections are lost.

  • Resolve an issue when sending big files (>=2gB) on Windows.

  • Fix boost::string_view compilation error of MysqlConnection class.

  • Set the response Access-Control-Allow-Headers header correctly for CORS.

  • Fix a bug in drogon_ctl when creating a model, that causes to write source files multiple times.

v1.0.0-beta19

16 Jul 13:20
Compare
Choose a tag to compare
v1.0.0-beta19 Pre-release
Pre-release

API change list

  • Add a method to disable unicode escaping in json string.

  • Add a timeout parameter when sending HTTP requests.

  • Add the getJsonError method.

Changed

  • Remove the restriction on the location of layout tags in views.

  • Add a way to set the character set when creating DbClient objects.

  • Make GET as the only method for accessing static files.

  • Modify the 404 pages generator.

  • Modify the DbClient class.

  • Optimize the HttpResponse class.

Fixed

  • Properly handle chunked encoding requests.

  • Destroy DNS resolver of HttpClient in the correct thread.

  • Add the header to resolve build errors in VS2017.

v1.0.0-beta18

14 Jun 15:22
2607f35
Compare
Choose a tag to compare
v1.0.0-beta18 Pre-release
Pre-release

API change list

  • Add a new joinpoint of AOP for modification on each HTTP response.

  • Add a method for the TERM signal handling.

  • Add getContextRef method to the WebSocketConnection class.

Changed

  • Create a class template for publish subscribe pattern.

  • Add contribution recommendations.

  • Send a close message when closing a web socket connection.

  • Add additional formats for getHttpDate function.

  • Make app().run() method callable on a non-main thread.

  • Add digest filter in examples.

  • Use string_view to parse multipart/form-data requests.

Fixed

  • Fix building of ORM on FreeBSD.

  • Fix a Mysql connection error on Windows.

  • Fix a bug in ListenerManager::getIOLoop().

  • Fix the count() method of Mysql ORM.

  • Fix a compilation issue on windows.

  • Fix model generation for PostgreSQL primary keys.

  • Fix a bug with quoted column names in sqlite3 databases.