Merge pull request #191 from an-tao/dev

Bump version to v1.0.0-beta2
This commit is contained in:
An Tao 2019-07-10 10:36:34 +08:00 committed by GitHub
commit 7d38a9427c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 25 additions and 2 deletions

View File

@ -3,8 +3,31 @@ All notable changes to this project will be documented in this file.
## [Unreleased]
## [1.0.0-beta2] - 2019-07-10
### Added
- Add setBody methods to the HttpRequest class.
- Add stress testing command to drogon_ctl.
- Add -v, -h parameters to drogon_ctl.
- Add the setContentTypeCodeAndCustomString method to the HttpResponse class.
### Changed
- Update the submodule - trantor.
- Modify the handling of CORS.
- Optimize the htmlTranslate method and the Field class.
- Make all listeners share IO threads in the MacOS/Unix system.
### Fixed
- Fix a bug of the IsPlugin class.
- Use default constructor of string_view to reset _statusMessage to fix a warning on GCC 9.1 on Arch Linux.
## [1.0.0-beta1] - 2019-06-11
[Unreleased]: https://github.com/an-tao/drogon/compare/v1.0.0-beta1...HEAD
[Unreleased]: https://github.com/an-tao/drogon/compare/v1.0.0-beta2...HEAD
[1.0.0-beta2]: https://github.com/an-tao/drogon/compare/v1.0.0-beta1...v1.0.0-beta2
[1.0.0-beta1]: https://github.com/an-tao/drogon/releases/tag/v1.0.0-beta1

View File

@ -3,7 +3,7 @@
GIT_VER=$(git log|grep ^commit|wc -l|sed -e "s/^ *//")
MD5=$(git log|head -1|awk '{printf $2}')
TMP_FILE=/tmp/version
echo "#define VERSION \"1.0.0.beta1.$GIT_VER\"" > ${TMP_FILE}
echo "#define VERSION \"1.0.0.beta2.$GIT_VER\"" > ${TMP_FILE}
echo "#define VERSION_MD5 \"$MD5\"" >> ${TMP_FILE}
if [ ! -f $1 ];then
mv -f ${TMP_FILE} $1