Skip to content

Commit

Permalink
Release v0.2.0
Browse files Browse the repository at this point in the history
Release [v0.2.0] - 2022-09-05
** Bugfix
- fixed for PR[#238](#238)
- fixed for PR[#238](#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 <superq@gmail.com>
  • Loading branch information
SuperQ committed Sep 5, 2022
1 parent f6706e7 commit 1294c88
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 1 deletion.
20 changes: 20 additions & 0 deletions .chglog/RELNOTES.tmpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{{ range .Versions -}}
Release {{ .Tag.Name}}

Release {{ if .Tag.Previous }}[{{ .Tag.Name }}]{{ else }}{{ .Tag.Name }}{{ end }} - {{ datetime "2006-01-02" .Tag.Date }}
{{ range .CommitGroups -}}
** {{ .Title }}
{{ range .Commits -}}
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
{{ end }}
{{ end -}}

{{- if .NoteGroups -}}
{{ range .NoteGroups -}}
** {{ .Title }}
{{ range .Notes }}
{{ .Body }}
{{ end }}
{{ end -}}
{{ end -}}
{{ end -}}
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<a name="unreleased"></a>
## [Unreleased]


## [v0.2.0] - 2022-09-05
### 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)
Expand All @@ -12,6 +14,9 @@
- 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
Expand Down Expand Up @@ -300,7 +305,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.1.18...HEAD
[Unreleased]: https://github.com/vozlt/nginx-module-vts/compare/v0.2.0...HEAD
[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
[v0.1.16]: https://github.com/vozlt/nginx-module-vts/compare/v0.1.15...v0.1.16
Expand Down
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ Table of Contents
* [vhost_traffic_status_histogram_buckets](#vhost_traffic_status_histogram_buckets)
* [vhost_traffic_status_bypass_limit](#vhost_traffic_status_bypass_limit)
* [vhost_traffic_status_bypass_stats](#vhost_traffic_status_bypass_stats)
* [Releases](#releases)
* [See Also](#see-also)
* [TODO](#todo)
* [Donation](#donation)
Expand Down Expand Up @@ -1808,6 +1809,18 @@ http {
}
```

## Releases

To cut a release, create a changelog entry PR with [git-chglog](https://github.com/git-chglog/git-chglog)

version="v0.2.0"
git checkout -b "cut-${version}"
git-chglog -o CHANGELOG.md --next-tag "${version}"
git add CHANGELOG.md
git-chglog -t .chglog/RELNOTES.tmpl --next-tag "${version}" "${version}" | git commit -F-

After the PR is merged, create the new tag and release on the [GitHub Releases](https://github.com/vozlt/nginx-module-vts/releases).

## See Also
* Stream traffic status
* [nginx-module-sts](https://github.com/vozlt/nginx-module-sts)
Expand Down

0 comments on commit 1294c88

Please sign in to comment.