Bump version to 1.0.0-beta17

This commit is contained in:
antao 2020-05-23 10:47:24 +08:00
parent d43c2976ff
commit 84e503a948
11 changed files with 35 additions and 11 deletions

View File

@ -14,7 +14,7 @@ set(DROGON_MINOR_VERSION 0)
set(DROGON_PATCH_VERSION 0) set(DROGON_PATCH_VERSION 0)
set(DROGON_VERSION set(DROGON_VERSION
${DROGON_MAJOR_VERSION}.${DROGON_MINOR_VERSION}.${DROGON_PATCH_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 # Offer the user the choice of overriding the installation directories
set(INSTALL_LIB_DIR lib CACHE PATH "Installation directory for libraries") set(INSTALL_LIB_DIR lib CACHE PATH "Installation directory for libraries")

View File

@ -4,6 +4,30 @@ All notable changes to this project will be documented in this file.
## [Unreleased] ## [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 ## [1.0.0-beta16] - 2020-04-27
### API change list ### 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 ## [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 [1.0.0-beta16]: https://github.com/an-tao/drogon/compare/v1.0.0-beta15...v1.0.0-beta16

View File

@ -3,7 +3,7 @@ FROM ubuntu:18.04
RUN apt-get update -yqq \ RUN apt-get update -yqq \
&& apt-get install -yqq --no-install-recommends software-properties-common \ && apt-get install -yqq --no-install-recommends software-properties-common \
sudo curl wget cmake pkg-config locales git gcc-8 g++-8 \ 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 \ postgresql-server-dev-all libmariadbclient-dev libsqlite3-dev \
&& rm -rf /var/lib/apt/lists/* \ && rm -rf /var/lib/apt/lists/* \
&& locale-gen en_US.UTF-8 && locale-gen en_US.UTF-8

View File

@ -35,7 +35,7 @@ endforeach()
add_executable(drogon_ctl ${ctl_sources} ${TEMPL_SRC}) add_executable(drogon_ctl ${ctl_sources} ${TEMPL_SRC})
target_link_libraries(drogon_ctl PRIVATE ${PROJECT_NAME}) target_link_libraries(drogon_ctl PRIVATE ${PROJECT_NAME})
target_include_directories(drogon_ctl PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}) 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) if(WIN32)
target_link_libraries(drogon_ctl PRIVATE ws2_32 Rpcrt4) target_link_libraries(drogon_ctl PRIVATE ws2_32 Rpcrt4)
endif(WIN32) endif(WIN32)

View File

@ -15,7 +15,6 @@
#include "WebSocketConnectionImpl.h" #include "WebSocketConnectionImpl.h"
#include "HttpAppFrameworkImpl.h" #include "HttpAppFrameworkImpl.h"
#include <thread> #include <thread>
#include <trantor/net/inner/TcpConnectionImpl.h>
using namespace drogon; using namespace drogon;
WebSocketConnectionImpl::WebSocketConnectionImpl( WebSocketConnectionImpl::WebSocketConnectionImpl(

View File

@ -39,7 +39,7 @@
#endif #endif
#include <thread> #include <thread>
#include <trantor/net/EventLoop.h> #include <trantor/net/EventLoop.h>
#include <trantor/net/inner/Channel.h> #include <trantor/net/Channel.h>
#include <unordered_set> #include <unordered_set>
#include <vector> #include <vector>

View File

@ -36,7 +36,7 @@
#endif #endif
#include <thread> #include <thread>
#include <trantor/net/EventLoop.h> #include <trantor/net/EventLoop.h>
#include <trantor/net/inner/Channel.h> #include <trantor/net/Channel.h>
#include <unordered_set> #include <unordered_set>
#include <vector> #include <vector>

View File

@ -18,7 +18,6 @@
#include <drogon/orm/DbClient.h> #include <drogon/orm/DbClient.h>
#include <drogon/utils/string_view.h> #include <drogon/utils/string_view.h>
#include <trantor/net/EventLoop.h> #include <trantor/net/EventLoop.h>
#include <trantor/net/inner/Channel.h>
#include <trantor/utils/NonCopyable.h> #include <trantor/utils/NonCopyable.h>
#include <functional> #include <functional>
#include <iostream> #include <iostream>

View File

@ -17,7 +17,7 @@
#include "../DbConnection.h" #include "../DbConnection.h"
#include <drogon/orm/DbClient.h> #include <drogon/orm/DbClient.h>
#include <trantor/net/EventLoop.h> #include <trantor/net/EventLoop.h>
#include <trantor/net/inner/Channel.h> #include <trantor/net/Channel.h>
#include <trantor/utils/NonCopyable.h> #include <trantor/utils/NonCopyable.h>
#include <functional> #include <functional>
#include <iostream> #include <iostream>

View File

@ -17,7 +17,7 @@
#include "../DbConnection.h" #include "../DbConnection.h"
#include <drogon/orm/DbClient.h> #include <drogon/orm/DbClient.h>
#include <trantor/net/EventLoop.h> #include <trantor/net/EventLoop.h>
#include <trantor/net/inner/Channel.h> #include <trantor/net/Channel.h>
#include <trantor/utils/NonCopyable.h> #include <trantor/utils/NonCopyable.h>
#include <libpq-fe.h> #include <libpq-fe.h>
#include <unordered_map> #include <unordered_map>

@ -1 +1 @@
Subproject commit 1f1b0990c1b3111496abe9b42b182b397708bd9b Subproject commit a2ebdb51a085a7154acfff292720826c7df5a1cd