diff --git a/CHANGELOG.md b/CHANGELOG.md index bfaaf85..c03211b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,30 @@ ## [Unreleased] -## [v0.2.0] - 2022-09-05 +## [v0.2.1] - 2022-09-16 +### Bugfix +- use trimmed serverZones name +- improved the accuracy of total(*) statistics by nginx-module-sts/pull/10 + +### Chore +- Add CI badge in README ([#245](https://github.com/vozlt/nginx-module-vts/issues/245)) + +### Compatibility +- fixed an issues/232 with compile errors in gcc 11.3 + +### Debug +- added ngx_log_error() when ngx_http_vhost_traffic_status_node_position_key() failed for issues/212 + +### Docs +- Fixed README + +### Test +- build without -Wno-stringop-overread ([#243](https://github.com/vozlt/nginx-module-vts/issues/243)) +- Add test for prometheus syntax +- Add test for display prometheus + + +## [v0.2.0] - 2022-09-06 ### Bugfix - fixed for PR[#238](https://github.com/vozlt/nginx-module-vts/issues/238) - fixed for PR[#238](https://github.com/vozlt/nginx-module-vts/issues/238) @@ -15,6 +38,7 @@ - fixed to display all A records of server without zone directive in the upstream block. ### Chore +- Change module version. ([#241](https://github.com/vozlt/nginx-module-vts/issues/241)) - Use git-chglog ### Comment @@ -305,7 +329,8 @@ - added type casting(ngx_atomic_t) in the ngx_vhost_traffic_status_node_init() and ngx_vhost_traffic_status_node_set() -[Unreleased]: https://github.com/vozlt/nginx-module-vts/compare/v0.2.0...HEAD +[Unreleased]: https://github.com/vozlt/nginx-module-vts/compare/v0.2.1...HEAD +[v0.2.1]: https://github.com/vozlt/nginx-module-vts/compare/v0.2.0...v0.2.1 [v0.2.0]: https://github.com/vozlt/nginx-module-vts/compare/v0.1.18...v0.2.0 [v0.1.18]: https://github.com/vozlt/nginx-module-vts/compare/v0.1.17...v0.1.18 [v0.1.17]: https://github.com/vozlt/nginx-module-vts/compare/v0.1.16...v0.1.17 diff --git a/README.md b/README.md index 65b7cb4..6729d9d 100644 --- a/README.md +++ b/README.md @@ -1821,7 +1821,7 @@ To cut a release, create a changelog entry PR with [git-chglog](https://github.c git checkout -b "cut-${version}" git-chglog -o CHANGELOG.md --next-tag "${version}" git add CHANGELOG.md - sed -i "s/NGX_HTTP_VTS_MODULE_VERSION \".*/NGX_HTTP_VTS_MODULE_VERSION \"${version}\"" src/ngx_http_vhost_traffic_status_module.h + sed -i "s/NGX_HTTP_VTS_MODULE_VERSION \".*/NGX_HTTP_VTS_MODULE_VERSION \"${version}\"/" src/ngx_http_vhost_traffic_status_module.h git add src/ngx_http_vhost_traffic_status_module.h git-chglog -t .chglog/RELNOTES.tmpl --next-tag "${version}" "${version}" | git commit -F- diff --git a/src/ngx_http_vhost_traffic_status_module.h b/src/ngx_http_vhost_traffic_status_module.h index 4083736..a4b035b 100644 --- a/src/ngx_http_vhost_traffic_status_module.h +++ b/src/ngx_http_vhost_traffic_status_module.h @@ -24,7 +24,7 @@ * I.E "v0.2.0+h0a1s2h" * */ -#define NGX_HTTP_VTS_MODULE_VERSION "v0.2.0" +#define NGX_HTTP_VTS_MODULE_VERSION "v0.2.1" #define NGX_HTTP_VHOST_TRAFFIC_STATUS_UPSTREAM_NO 0 #define NGX_HTTP_VHOST_TRAFFIC_STATUS_UPSTREAM_UA 1