Skip to content

Commit b740132

Browse files
committed
Release v0.2.0
Release [v0.2.0] - 2022-09-05 ** Bugfix - fixed for PR[vozlt#238](vozlt#238) - fixed for PR[vozlt#238](vozlt#238) - fixed issues/204 that syntax error has occured - rollback to 549cc4d - fixed issues/137, issues/98 that maxSize in cacheZones is displayed incorrectly - fixed issues/174 that XSS vulnerability in the html page Feature: added moduleVersion field in format/json - added escape strings for filter names in JSON - fixed the sum value of histogram in upstream metrics - fixed to display all A records of server without zone directive in the upstream block. ** Chore - Use git-chglog ** Comment - added moduleVersion - added additional information about cacheZones - added tested versions - added a diagram for the order of module directives ** Compatibility - fixed ngx_http_vhost_traffic_status_display_get_upstream_nelts() to calculate all A records of server. ** Docs - Fix README ** Docs - fix simple typo, destory -> destroy ** Fix - limit the r->uri search scope to avoid overflow ** Prometheus - fix nginx_vts_filter_requests_total labels - remove request "total" metrics ** Refactor - changed version - changed spacing - changed spacing - changed if statement from merged pull/145 ** Test - describe how to test and fix failed test case Signed-off-by: SuperQ <[email protected]>
1 parent f6706e7 commit b740132

File tree

3 files changed

+44
-2
lines changed

3 files changed

+44
-2
lines changed

.chglog/RELNOTES.tmpl

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{{ range .Versions -}}
2+
Release {{ .Tag.Name}}
3+
4+
Release {{ if .Tag.Previous }}[{{ .Tag.Name }}]{{ else }}{{ .Tag.Name }}{{ end }} - {{ datetime "2006-01-02" .Tag.Date }}
5+
{{ range .CommitGroups -}}
6+
** {{ .Title }}
7+
{{ range .Commits -}}
8+
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
9+
{{ end }}
10+
{{ end -}}
11+
12+
{{- if .NoteGroups -}}
13+
{{ range .NoteGroups -}}
14+
** {{ .Title }}
15+
{{ range .Notes }}
16+
{{ .Body }}
17+
{{ end }}
18+
{{ end -}}
19+
{{ end -}}
20+
{{ end -}}

CHANGELOG.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
<a name="unreleased"></a>
22
## [Unreleased]
33

4+
5+
## [v0.2.0] - 2022-09-05
46
### Bugfix
57
- fixed for PR[#238](https://github.com/vozlt/nginx-module-vts/issues/238)
68
- fixed for PR[#238](https://github.com/vozlt/nginx-module-vts/issues/238)
@@ -12,6 +14,9 @@
1214
- fixed the sum value of histogram in upstream metrics
1315
- fixed to display all A records of server without zone directive in the upstream block.
1416

17+
### Chore
18+
- Use git-chglog
19+
1520
### Comment
1621
- added moduleVersion
1722
- added additional information about cacheZones
@@ -300,7 +305,8 @@
300305
- added type casting(ngx_atomic_t) in the ngx_vhost_traffic_status_node_init() and ngx_vhost_traffic_status_node_set()
301306

302307

303-
[Unreleased]: https://github.com/vozlt/nginx-module-vts/compare/v0.1.18...HEAD
308+
[Unreleased]: https://github.com/vozlt/nginx-module-vts/compare/v0.2.0...HEAD
309+
[v0.2.0]: https://github.com/vozlt/nginx-module-vts/compare/v0.1.18...v0.2.0
304310
[v0.1.18]: https://github.com/vozlt/nginx-module-vts/compare/v0.1.17...v0.1.18
305311
[v0.1.17]: https://github.com/vozlt/nginx-module-vts/compare/v0.1.16...v0.1.17
306312
[v0.1.16]: https://github.com/vozlt/nginx-module-vts/compare/v0.1.15...v0.1.16

README.md

+17-1
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,17 @@ Table of Contents
7272
* [vhost_traffic_status_histogram_buckets](#vhost_traffic_status_histogram_buckets)
7373
* [vhost_traffic_status_bypass_limit](#vhost_traffic_status_bypass_limit)
7474
* [vhost_traffic_status_bypass_stats](#vhost_traffic_status_bypass_stats)
75+
* [Releases](#releases)
7576
* [See Also](#see-also)
7677
* [TODO](#todo)
7778
* [Donation](#donation)
7879
* [Author](#author)
7980

8081
## Version
81-
This document describes nginx-module-vts `v0.1.18` released on 22 Jun 2018.
82+
83+
![GitHub Release](https://img.shields.io/github/v/release/vozlt/nginx-module-vts?display_name=tag&sort=semver)
84+
85+
See the [GitHub Releases](https://github.com/vozlt/nginx-module-vts/releases) for the latest tagged release.
8286

8387
## Test
8488
Run `sudo prove -r t` after you have installed this module. The `sudo` is required because
@@ -1808,6 +1812,18 @@ http {
18081812
}
18091813
```
18101814

1815+
## Releases
1816+
1817+
To cut a release, create a changelog entry PR with [git-chglog](https://github.com/git-chglog/git-chglog)
1818+
1819+
version="v0.2.0"
1820+
git checkout -b "cut-${version}"
1821+
git-chglog -o CHANGELOG.md --next-tag "${version}"
1822+
git add CHANGELOG.md
1823+
git-chglog -t .chglog/RELNOTES.tmpl --next-tag "${version}" "${version}" | git commit -F-
1824+
1825+
After the PR is merged, create the new tag and release on the [GitHub Releases](https://github.com/vozlt/nginx-module-vts/releases).
1826+
18111827
## See Also
18121828
* Stream traffic status
18131829
* [nginx-module-sts](https://github.com/vozlt/nginx-module-sts)

0 commit comments

Comments
 (0)