Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .chglog/CHANGELOG.tpl.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{{ range .Versions }}
<a name="{{ .Tag.Name }}"></a>
## {{ if .Tag.Previous }}[{{ .Tag.Name }}]({{ $.Info.RepositoryURL }}/compare/{{ .Tag.Previous.Name }}...{{ .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 .RevertCommits -}}
### Reverts

{{ range .RevertCommits -}}
* {{ .Revert.Header }}
{{ end }}
{{ end -}}

{{- if .NoteGroups -}}
{{ range .NoteGroups -}}
### {{ .Title }}

{{ range .Notes }}
{{ .Body }}
{{ end }}
{{ end -}}
{{ end -}}
{{ end -}}
36 changes: 36 additions & 0 deletions .chglog/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
style: github
template: CHANGELOG.tpl.md
info:
title: CHANGELOG
repository_url: https://github.com/FunctionStream/function-stream
options:
commit_groups:
title_maps:
feat: Features
fix: Bug Fixes
perf: Performance Improvements
refactor: Code Refactoring
docs: Documentation
style: Styles
test: Tests
chore: Miscellaneous
sort_by: Custom
title_order:
- feat
- fix
- perf
- refactor
- docs
- style
- test
- chore
header:
pattern: "^(\\w*)(?:\\(([\\w\\$\\.\\-\\*\\s]*)\\))?\\:\\s(.*)$"
pattern_maps:
- Type
- Scope
- Subject
notes:
keywords:
- BREAKING CHANGE
tag_filter_pattern: '^v\d+\.\d+\.\d+$'
20 changes: 20 additions & 0 deletions .chglog/gen-chg-log.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#!/bin/bash
# Copyright 2024 Function Stream Org.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

set -xe

cd "$(git rev-parse --show-toplevel)"

git-chglog --output CHANGELOG.md
75 changes: 75 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@

<a name="v0.3.0"></a>
## [v0.3.0](https://github.com/FunctionStream/function-stream/compare/v0.2.0...v0.3.0) (2024-03-13)

### Features

* state store ([#153](https://github.com/FunctionStream/function-stream/issues/153))
* add http source tube ([#149](https://github.com/FunctionStream/function-stream/issues/149))
* add sink, source and runtime config to function config ([#136](https://github.com/FunctionStream/function-stream/issues/136))
* add grpc runtime ([#135](https://github.com/FunctionStream/function-stream/issues/135))

### Tests

* add tests for chan utils ([#140](https://github.com/FunctionStream/function-stream/issues/140))
* fix flaky test for grpc_func ([#142](https://github.com/FunctionStream/function-stream/issues/142))

### Bug Fixes

* fix deadlock issue in grpc_func and add cors support ([#158](https://github.com/FunctionStream/function-stream/issues/158))
* cli doesn't respect replica when creating function ([#145](https://github.com/FunctionStream/function-stream/issues/145))
* fix race condition issues in function manager ([#141](https://github.com/FunctionStream/function-stream/issues/141))
* fix context value setting for the function instance ([#139](https://github.com/FunctionStream/function-stream/issues/139))

### Code Refactoring

* improve grpc function protocol ([#147](https://github.com/FunctionStream/function-stream/issues/147))
* improve logging ([#146](https://github.com/FunctionStream/function-stream/issues/146))

### Miscellaneous

* rename module ([#137](https://github.com/FunctionStream/function-stream/issues/137))


<a name="v0.2.0"></a>
## [v0.2.0](https://github.com/FunctionStream/function-stream/compare/v0.1.0...v0.2.0) (2024-02-17)

### Features

* add directory structure to readme and improve structure ([#132](https://github.com/FunctionStream/function-stream/issues/132))
* support basic function operations using CLI tool ([#128](https://github.com/FunctionStream/function-stream/issues/128))
* support pluggable queue ([#125](https://github.com/FunctionStream/function-stream/issues/125))
* support delete function ([#3](https://github.com/FunctionStream/function-stream/issues/3))
* add integration test and CI ([#1](https://github.com/FunctionStream/function-stream/issues/1))
* support loading wasm file

### License

* update license header ([#130](https://github.com/FunctionStream/function-stream/issues/130))

### Build

* add license checker ([#7](https://github.com/FunctionStream/function-stream/issues/7))

### Bug Fixes

* fix mem queue bench doesn't show result ([#129](https://github.com/FunctionStream/function-stream/issues/129))

### Performance Improvements

* improve performance ([#124](https://github.com/FunctionStream/function-stream/issues/124))
* add bench perf ([#6](https://github.com/FunctionStream/function-stream/issues/6))

### Code Refactoring

* use tube term instead of queue ([#134](https://github.com/FunctionStream/function-stream/issues/134))
* abstract contube-go impl ([#131](https://github.com/FunctionStream/function-stream/issues/131))

### Documentation

* fix readme format ([#133](https://github.com/FunctionStream/function-stream/issues/133))


<a name="v0.1.0"></a>
## v0.1.0 (2021-06-28)

16 changes: 2 additions & 14 deletions license-checker/license-checker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

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

set -xe

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

$LICENSE_CHECKER -a -r -i bin,restclient,common/run.go,common/signal.go,fs/runtime/grpc/proto ./license-checker/license-header.txt . go
$LICENSE_CHECKER -a -r ./license-checker/license-header.txt . proto
$LICENSE_CHECKER -a -r -i bin,restclient ./license-checker/license-header-sh.txt . sh yaml yml
$LICENSE_CHECKER -a -r -i bin,restclient ./license-checker/license-header-md.txt . md
$LICENSE_CHECKER -a -r -i bin,restclient,.chglog ./license-checker/license-header-sh.txt . sh yaml yml
$LICENSE_CHECKER -a -r -i bin,restclient,.chglog,CHANGELOG.md ./license-checker/license-header-md.txt . md

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