drogon v1.0.0-beta9 Release Notes

Release Date: 2019-10-28 // 4 months ago
  • 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.


Previous changes from v1.0.0-beta8

  • API change list

    ➕ Add length() method to the Field class.

    ➕ Add as<bool>() function template specialization to the Field class.

    ➕ Add add attribute store methods to the HttpRequest class.

    ➕ Add the setCustomContentTypeString() method to the HttpRequest class.

    ➕ Add thread storage.

    🔄 Changed

    👉 Use .find('x') instead of .find("x") in a string search.

    ➕ Add the ability to create restful API controllers.

    🛠 Fixed

    🛠 Fix a bug of creating models for mysql.

    🛠 Fix a bug when HTTP method is PUT.

    🛠 Fix a bug when using 'is null' substatement in ORM.

    🛠 Fix a sqlite3 bug when some SQL errors occur.

    🛠 Fix bug with parsing json.

    🛠 Fix url decode.

    🛠 Fix a error in HttpClient.

    🛠 Fix a error in setThreadNum method.

    🛠 Fix some race conditions.