Skip to content

Commit 76b6c9b

Browse files
authored
build: add change log (#160)
Signed-off-by: Zike Yang <zike@apache.org>
1 parent 1c2abcc commit 76b6c9b

5 files changed

Lines changed: 163 additions & 14 deletions

File tree

.chglog/CHANGELOG.tpl.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{{ range .Versions }}
2+
<a name="{{ .Tag.Name }}"></a>
3+
## {{ if .Tag.Previous }}[{{ .Tag.Name }}]({{ $.Info.RepositoryURL }}/compare/{{ .Tag.Previous.Name }}...{{ .Tag.Name }}){{ else }}{{ .Tag.Name }}{{ end }} ({{ datetime "2006-01-02" .Tag.Date }})
4+
5+
{{ range .CommitGroups -}}
6+
### {{ .Title }}
7+
8+
{{ range .Commits -}}
9+
* {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
10+
{{ end }}
11+
{{ end -}}
12+
13+
{{- if .RevertCommits -}}
14+
### Reverts
15+
16+
{{ range .RevertCommits -}}
17+
* {{ .Revert.Header }}
18+
{{ end }}
19+
{{ end -}}
20+
21+
{{- if .NoteGroups -}}
22+
{{ range .NoteGroups -}}
23+
### {{ .Title }}
24+
25+
{{ range .Notes }}
26+
{{ .Body }}
27+
{{ end }}
28+
{{ end -}}
29+
{{ end -}}
30+
{{ end -}}

.chglog/config.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
style: github
2+
template: CHANGELOG.tpl.md
3+
info:
4+
title: CHANGELOG
5+
repository_url: https://github.com/FunctionStream/function-stream
6+
options:
7+
commit_groups:
8+
title_maps:
9+
feat: Features
10+
fix: Bug Fixes
11+
perf: Performance Improvements
12+
refactor: Code Refactoring
13+
docs: Documentation
14+
style: Styles
15+
test: Tests
16+
chore: Miscellaneous
17+
sort_by: Custom
18+
title_order:
19+
- feat
20+
- fix
21+
- perf
22+
- refactor
23+
- docs
24+
- style
25+
- test
26+
- chore
27+
header:
28+
pattern: "^(\\w*)(?:\\(([\\w\\$\\.\\-\\*\\s]*)\\))?\\:\\s(.*)$"
29+
pattern_maps:
30+
- Type
31+
- Scope
32+
- Subject
33+
notes:
34+
keywords:
35+
- BREAKING CHANGE
36+
tag_filter_pattern: '^v\d+\.\d+\.\d+$'

.chglog/gen-chg-log.sh

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#!/bin/bash
2+
# Copyright 2024 Function Stream Org.
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
16+
set -xe
17+
18+
cd "$(git rev-parse --show-toplevel)"
19+
20+
git-chglog --output CHANGELOG.md

CHANGELOG.md

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
2+
<a name="v0.3.0"></a>
3+
## [v0.3.0](https://github.com/FunctionStream/function-stream/compare/v0.2.0...v0.3.0) (2024-03-13)
4+
5+
### Features
6+
7+
* state store ([#153](https://github.com/FunctionStream/function-stream/issues/153))
8+
* add http source tube ([#149](https://github.com/FunctionStream/function-stream/issues/149))
9+
* add sink, source and runtime config to function config ([#136](https://github.com/FunctionStream/function-stream/issues/136))
10+
* add grpc runtime ([#135](https://github.com/FunctionStream/function-stream/issues/135))
11+
12+
### Tests
13+
14+
* add tests for chan utils ([#140](https://github.com/FunctionStream/function-stream/issues/140))
15+
* fix flaky test for grpc_func ([#142](https://github.com/FunctionStream/function-stream/issues/142))
16+
17+
### Bug Fixes
18+
19+
* fix deadlock issue in grpc_func and add cors support ([#158](https://github.com/FunctionStream/function-stream/issues/158))
20+
* cli doesn't respect replica when creating function ([#145](https://github.com/FunctionStream/function-stream/issues/145))
21+
* fix race condition issues in function manager ([#141](https://github.com/FunctionStream/function-stream/issues/141))
22+
* fix context value setting for the function instance ([#139](https://github.com/FunctionStream/function-stream/issues/139))
23+
24+
### Code Refactoring
25+
26+
* improve grpc function protocol ([#147](https://github.com/FunctionStream/function-stream/issues/147))
27+
* improve logging ([#146](https://github.com/FunctionStream/function-stream/issues/146))
28+
29+
### Miscellaneous
30+
31+
* rename module ([#137](https://github.com/FunctionStream/function-stream/issues/137))
32+
33+
34+
<a name="v0.2.0"></a>
35+
## [v0.2.0](https://github.com/FunctionStream/function-stream/compare/v0.1.0...v0.2.0) (2024-02-17)
36+
37+
### Features
38+
39+
* add directory structure to readme and improve structure ([#132](https://github.com/FunctionStream/function-stream/issues/132))
40+
* support basic function operations using CLI tool ([#128](https://github.com/FunctionStream/function-stream/issues/128))
41+
* support pluggable queue ([#125](https://github.com/FunctionStream/function-stream/issues/125))
42+
* support delete function ([#3](https://github.com/FunctionStream/function-stream/issues/3))
43+
* add integration test and CI ([#1](https://github.com/FunctionStream/function-stream/issues/1))
44+
* support loading wasm file
45+
46+
### License
47+
48+
* update license header ([#130](https://github.com/FunctionStream/function-stream/issues/130))
49+
50+
### Build
51+
52+
* add license checker ([#7](https://github.com/FunctionStream/function-stream/issues/7))
53+
54+
### Bug Fixes
55+
56+
* fix mem queue bench doesn't show result ([#129](https://github.com/FunctionStream/function-stream/issues/129))
57+
58+
### Performance Improvements
59+
60+
* improve performance ([#124](https://github.com/FunctionStream/function-stream/issues/124))
61+
* add bench perf ([#6](https://github.com/FunctionStream/function-stream/issues/6))
62+
63+
### Code Refactoring
64+
65+
* use tube term instead of queue ([#134](https://github.com/FunctionStream/function-stream/issues/134))
66+
* abstract contube-go impl ([#131](https://github.com/FunctionStream/function-stream/issues/131))
67+
68+
### Documentation
69+
70+
* fix readme format ([#133](https://github.com/FunctionStream/function-stream/issues/133))
71+
72+
73+
<a name="v0.1.0"></a>
74+
## v0.1.0 (2021-06-28)
75+

license-checker/license-checker.sh

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,6 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515

16-
# Licensed under the Apache License, Version 2.0 (the "License");
17-
# you may not use this file except in compliance with the License.
18-
# You may obtain a copy of the License at
19-
#
20-
# http://www.apache.org/licenses/LICENSE-2.0
21-
#
22-
# Unless required by applicable law or agreed to in writing, software
23-
# distributed under the License is distributed on an "AS IS" BASIS,
24-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
25-
# See the License for the specific language governing permissions and
26-
# limitations under the License.
27-
2816
set -xe
2917

3018
cd "$(git rev-parse --show-toplevel)"
@@ -38,8 +26,8 @@ fi
3826

3927
$LICENSE_CHECKER -a -r -i bin,restclient,common/run.go,common/signal.go,fs/runtime/grpc/proto ./license-checker/license-header.txt . go
4028
$LICENSE_CHECKER -a -r ./license-checker/license-header.txt . proto
41-
$LICENSE_CHECKER -a -r -i bin,restclient ./license-checker/license-header-sh.txt . sh yaml yml
42-
$LICENSE_CHECKER -a -r -i bin,restclient ./license-checker/license-header-md.txt . md
29+
$LICENSE_CHECKER -a -r -i bin,restclient,.chglog ./license-checker/license-header-sh.txt . sh yaml yml
30+
$LICENSE_CHECKER -a -r -i bin,restclient,.chglog,CHANGELOG.md ./license-checker/license-header-md.txt . md
4331

4432
if [[ -z $(git status -s) ]]; then
4533
echo "No license header issues found"

0 commit comments

Comments
 (0)