Skip to content

Commit 5ddc40d

Browse files
authored
chore: setup changelog via git cliff (#13)
1 parent 91e11dd commit 5ddc40d

File tree

2 files changed

+149
-0
lines changed

2 files changed

+149
-0
lines changed

CHANGELOG.md

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
## [0.5.1] - 2025-03-11
6+
7+
### 🐛 Bug Fixes
8+
9+
- Typo in label for endpoint parameter (#6)
10+
11+
### ⚙️ Miscellaneous Tasks
12+
13+
- Update icon
14+
- Improve README (#5)
15+
- Add privacy file to manifest
16+
- Extend .difyignore (#11)
17+
- Release 0.5.1
18+
19+
## [0.5.0] - 2025-03-08
20+
21+
### 🚀 Features
22+
23+
- Add single app mode (#3)
24+
25+
### 🧪 Testing
26+
27+
- Add unit tests
28+
29+
### ⚙️ Miscellaneous Tasks
30+
31+
- Add badges to README.md
32+
- Privacy policy
33+
- Add issue templates
34+
- Create FUNDING.yml
35+
36+
## [0.4.2] - 2025-02-26
37+
38+
### 🐛 Bug Fixes
39+
40+
- Error when default_middleware_json is undefined
41+
- Query and conversation_id undefined when explicit_inputs is true
42+
43+
### ⚙️ Miscellaneous Tasks
44+
45+
- Release 0.4.2
46+
47+
## [0.4.1] - 2025-02-23
48+
49+
### 🚀 Features
50+
51+
- Initial commit
52+
- Support webhooks without api key
53+
- Add translations
54+
- Support for middlewares
55+
- Support raw json output
56+
57+
### 🐛 Bug Fixes
58+
59+
- Wrong parameter name
60+
61+
### ⚙️ Miscellaneous Tasks
62+
63+
- Update license
64+
65+
<!-- generated by git-cliff -->

cliff.toml

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
# git-cliff ~ default configuration file
2+
# https://git-cliff.org/docs/configuration
3+
#
4+
# Lines starting with "#" are comments.
5+
# Configuration options are organized into tables and keys.
6+
# See documentation for more information on available options.
7+
8+
[changelog]
9+
# template for the changelog header
10+
header = """
11+
# Changelog\n
12+
All notable changes to this project will be documented in this file.\n
13+
"""
14+
# template for the changelog body
15+
# https://keats.github.io/tera/docs/#introduction
16+
body = """
17+
{% if version %}\
18+
## [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%Y-%m-%d") }}
19+
{% else %}\
20+
## [unreleased]
21+
{% endif %}\
22+
{% for group, commits in commits | group_by(attribute="group") %}
23+
### {{ group | striptags | trim | upper_first }}
24+
{% for commit in commits %}
25+
- {% if commit.scope %}*({{ commit.scope }})* {% endif %}\
26+
{% if commit.breaking %}[**breaking**] {% endif %}\
27+
{{ commit.message | upper_first }}\
28+
{% endfor %}
29+
{% endfor %}\n
30+
"""
31+
# template for the changelog footer
32+
footer = """
33+
<!-- generated by git-cliff -->
34+
"""
35+
# remove the leading and trailing s
36+
trim = true
37+
# postprocessors
38+
postprocessors = [
39+
# { pattern = '<REPO>', replace = "https://github.com/orhun/git-cliff" }, # replace repository URL
40+
]
41+
# render body even when there are no releases to process
42+
# render_always = true
43+
# output file path
44+
# output = "test.md"
45+
46+
[git]
47+
# parse the commits based on https://www.conventionalcommits.org
48+
conventional_commits = true
49+
# filter out the commits that are not conventional
50+
filter_unconventional = true
51+
# process each line of a commit as an individual commit
52+
split_commits = false
53+
# regex for preprocessing the commit messages
54+
commit_preprocessors = [
55+
# Replace issue numbers
56+
#{ pattern = '\((\w+\s)?#([0-9]+)\)', replace = "([#${2}](<REPO>/issues/${2}))"},
57+
# Check spelling of the commit with https://github.com/crate-ci/typos
58+
# If the spelling is incorrect, it will be automatically fixed.
59+
#{ pattern = '.*', replace_command = 'typos --write-changes -' },
60+
]
61+
# regex for parsing and grouping commits
62+
commit_parsers = [
63+
{ message = "^feat", group = "<!-- 0 -->🚀 Features" },
64+
{ message = "^fix", group = "<!-- 1 -->🐛 Bug Fixes" },
65+
{ message = "^doc", group = "<!-- 3 -->📚 Documentation" },
66+
{ message = "^perf", group = "<!-- 4 -->⚡ Performance" },
67+
{ message = "^refactor", group = "<!-- 2 -->🚜 Refactor" },
68+
{ message = "^style", group = "<!-- 5 -->🎨 Styling" },
69+
{ message = "^test", group = "<!-- 6 -->🧪 Testing" },
70+
{ message = "^chore\\(release\\): prepare for", skip = true },
71+
{ message = "^chore\\(deps.*\\)", skip = true },
72+
{ message = "^chore\\(pr\\)", skip = true },
73+
{ message = "^chore\\(pull\\)", skip = true },
74+
{ message = "^chore|^ci", group = "<!-- 7 -->⚙️ Miscellaneous Tasks" },
75+
{ body = ".*security", group = "<!-- 8 -->🛡️ Security" },
76+
{ message = "^revert", group = "<!-- 9 -->◀️ Revert" },
77+
{ message = ".*", group = "<!-- 10 -->💼 Other" },
78+
]
79+
# filter out the commits that are not matched by commit parsers
80+
filter_commits = false
81+
# sort the tags topologically
82+
topo_order = false
83+
# sort the commits inside sections by oldest/newest order
84+
sort_commits = "oldest"

0 commit comments

Comments
 (0)