diff --git a/CMakeLists.txt b/CMakeLists.txt index 46748236..aab915d7 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,7 +14,7 @@ set(DROGON_MINOR_VERSION 0) set(DROGON_PATCH_VERSION 0) set(DROGON_VERSION ${DROGON_MAJOR_VERSION}.${DROGON_MINOR_VERSION}.${DROGON_PATCH_VERSION}) -set(DROGON_VERSION_STRING "${DROGON_VERSION}.beta16") +set(DROGON_VERSION_STRING "${DROGON_VERSION}.beta17") # Offer the user the choice of overriding the installation directories set(INSTALL_LIB_DIR lib CACHE PATH "Installation directory for libraries") diff --git a/ChangeLog.md b/ChangeLog.md index 62c93f91..914cdc8a 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -4,6 +4,30 @@ All notable changes to this project will be documented in this file. ## [Unreleased] +## [1.0.0-beta17] - 2020-05-22 + +### API change list + +- Add methods to get DbClient connection status + +### Changed + +- Add causal profiling with coz + +- Add filters on static file locations + +- Pass data from view to its layout container + +- Add additional HttpStatusCodes and implement a custom error handler + +- Modify drogon_ctl to show more compilation information + +### Fixed + +- Fix a bug in drogon_ctl (when size of a line is larger than buffer size) + +- Fix a connection bug of mariadb clients + ## [1.0.0-beta16] - 2020-04-27 ### API change list @@ -360,7 +384,9 @@ All notable changes to this project will be documented in this file. ## [1.0.0-beta1] - 2019-06-11 -[Unreleased]: https://github.com/an-tao/drogon/compare/v1.0.0-beta16...HEAD +[Unreleased]: https://github.com/an-tao/drogon/compare/v1.0.0-beta17...HEAD + +[1.0.0-beta17]: https://github.com/an-tao/drogon/compare/v1.0.0-beta16...v1.0.0-beta17 [1.0.0-beta16]: https://github.com/an-tao/drogon/compare/v1.0.0-beta15...v1.0.0-beta16 diff --git a/Dockerfile b/Dockerfile index 2eab1fa4..e1e55a55 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ FROM ubuntu:18.04 RUN apt-get update -yqq \ && apt-get install -yqq --no-install-recommends software-properties-common \ sudo curl wget cmake pkg-config locales git gcc-8 g++-8 \ - openssl libssl-dev libjsoncpp-dev uuid-dev zlib1g-dev \ + openssl libssl-dev libjsoncpp-dev uuid-dev zlib1g-dev libc-ares-dev\ postgresql-server-dev-all libmariadbclient-dev libsqlite3-dev \ && rm -rf /var/lib/apt/lists/* \ && locale-gen en_US.UTF-8 diff --git a/drogon_ctl/CMakeLists.txt b/drogon_ctl/CMakeLists.txt index 7ce6f548..bbc01fe2 100755 --- a/drogon_ctl/CMakeLists.txt +++ b/drogon_ctl/CMakeLists.txt @@ -35,7 +35,7 @@ endforeach() add_executable(drogon_ctl ${ctl_sources} ${TEMPL_SRC}) target_link_libraries(drogon_ctl PRIVATE ${PROJECT_NAME}) target_include_directories(drogon_ctl PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}) -add_dependencies(drogon_ctl trantor _drogon_ctl) +add_dependencies(drogon_ctl _drogon_ctl) if(WIN32) target_link_libraries(drogon_ctl PRIVATE ws2_32 Rpcrt4) endif(WIN32) diff --git a/lib/src/WebSocketConnectionImpl.cc b/lib/src/WebSocketConnectionImpl.cc index 4a2143dd..42ce3251 100644 --- a/lib/src/WebSocketConnectionImpl.cc +++ b/lib/src/WebSocketConnectionImpl.cc @@ -15,7 +15,6 @@ #include "WebSocketConnectionImpl.h" #include "HttpAppFrameworkImpl.h" #include -#include using namespace drogon; WebSocketConnectionImpl::WebSocketConnectionImpl( diff --git a/orm_lib/src/DbClientImpl.cc b/orm_lib/src/DbClientImpl.cc index 66b5348e..aba4bcc4 100644 --- a/orm_lib/src/DbClientImpl.cc +++ b/orm_lib/src/DbClientImpl.cc @@ -39,7 +39,7 @@ #endif #include #include -#include +#include #include #include diff --git a/orm_lib/src/DbClientLockFree.cc b/orm_lib/src/DbClientLockFree.cc index fe2cf047..28a78334 100644 --- a/orm_lib/src/DbClientLockFree.cc +++ b/orm_lib/src/DbClientLockFree.cc @@ -36,7 +36,7 @@ #endif #include #include -#include +#include #include #include diff --git a/orm_lib/src/DbConnection.h b/orm_lib/src/DbConnection.h index 6e2e39fd..d30cf598 100644 --- a/orm_lib/src/DbConnection.h +++ b/orm_lib/src/DbConnection.h @@ -18,7 +18,6 @@ #include #include #include -#include #include #include #include diff --git a/orm_lib/src/mysql_impl/MysqlConnection.h b/orm_lib/src/mysql_impl/MysqlConnection.h index e71ea8de..4d0d9094 100644 --- a/orm_lib/src/mysql_impl/MysqlConnection.h +++ b/orm_lib/src/mysql_impl/MysqlConnection.h @@ -17,7 +17,7 @@ #include "../DbConnection.h" #include #include -#include +#include #include #include #include diff --git a/orm_lib/src/postgresql_impl/PgConnection.h b/orm_lib/src/postgresql_impl/PgConnection.h index 865af427..69783f2d 100644 --- a/orm_lib/src/postgresql_impl/PgConnection.h +++ b/orm_lib/src/postgresql_impl/PgConnection.h @@ -17,7 +17,7 @@ #include "../DbConnection.h" #include #include -#include +#include #include #include #include diff --git a/trantor b/trantor index 1f1b0990..a2ebdb51 160000 --- a/trantor +++ b/trantor @@ -1 +1 @@ -Subproject commit 1f1b0990c1b3111496abe9b42b182b397708bd9b +Subproject commit a2ebdb51a085a7154acfff292720826c7df5a1cd