Skip to content

Commit

Permalink
chore(release): v0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tippfehlr committed Apr 20, 2024
1 parent aa2907b commit a8e09b3
Show file tree
Hide file tree
Showing 2 changed files with 103 additions and 0 deletions.
28 changes: 28 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Changelog

## [0.1.0] - 2024-04-20

### Features

- change port to 8537, write readme, get + post request ([df2657c](https://github.com/tippfehlr/composehook/commit/df2657c6fc037c1ca2ae197d74ac03870ab827eb))
- allow only one concurrent update ([1525103](https://github.com/tippfehlr/composehook/commit/15251038ea36497bf1526d53a66fc59302138b33))
- timeout of 10 seconds ([57567b9](https://github.com/tippfehlr/composehook/commit/57567b9029f97ac6dab840e7e1d0c209435933fd))
- set TIMEOUT as env var, default to 10 seconds ([f3937e4](https://github.com/tippfehlr/composehook/commit/f3937e4b0789c650bcfd4bcca7f4ce6265887df0))
- add simple info at / ([aa2907b](https://github.com/tippfehlr/composehook/commit/aa2907b2500fff1ebfa46f9e0ae9e94f7aa41ff9))

### Bug Fixes

- change port in code ([a1a0080](https://github.com/tippfehlr/composehook/commit/a1a008007a1124205ab3187e8f16e6431c5c1bda))
- wrap HashMap in Mutex ([5cad92e](https://github.com/tippfehlr/composehook/commit/5cad92e2c318e8784d556278a838aca7adfc52e3))
- use Arc to mutate the same Hashmap ([78ea4d9](https://github.com/tippfehlr/composehook/commit/78ea4d9eef08250b4fe15346da1591f506b3192e))

### Performance

- remove extra check for update since assigning returns the old value ([57474f7](https://github.com/tippfehlr/composehook/commit/57474f702a1f27f5f5a9a2e0feae60ed5e4b692e))

### Documentation

- explain the port number ([e4bedee](https://github.com/tippfehlr/composehook/commit/e4bedeedf7ee4076b5dd3052303b7118fcce1dd2))
- explain details and limit to post requests ([ca71d35](https://github.com/tippfehlr/composehook/commit/ca71d351e702e64f1b5fe9c9b4c3329bef543644))

<!-- generated by git-cliff -->
75 changes: 75 additions & 0 deletions cliff.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
# git-cliff ~ configuration file
# https://git-cliff.org/docs/configuration

[changelog]
# changelog header
header = """
# Changelog\n
"""
body = """
{% if version %}\
{% if previous.version %}\
## [{{ version | trim_start_matches(pat="v") }}]($REPO/compare/{{ previous.version }}..{{ version }}) - {{ timestamp | date(format="%Y-%m-%d") }}
{% else %}\
## [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%Y-%m-%d") }}
{% endif %}\
{% else %}\
## [unreleased]
{% endif %}\
{% for group, commits in commits | group_by(attribute="group") %}
### {{ group | striptags | trim | upper_first }}
{% for commit in commits
| filter(attribute="scope")
| sort(attribute="scope") %}
- **({{commit.scope}})**{% if commit.breaking %} [**breaking**]{% endif %} \
{{ commit.message }} ([{{ commit.id | truncate(length=7, end="") }}]($REPO/commit/{{ commit.id }}))
{%- endfor -%}
{% raw %}\n{% endraw %}\
{%- for commit in commits %}
{%- if commit.scope -%}
{% else -%}
- {% if commit.breaking %} [**breaking**]{% endif %}\
{{ commit.message }} ([{{ commit.id | truncate(length=7, end="") }}]($REPO/commit/{{ commit.id }}))
{% endif -%}
{% endfor -%}
{% endfor %}\n
"""
# template for the changelog footer
footer = """
<!-- generated by git-cliff -->
"""
# remove the leading and trailing whitespace from the templates
trim = true
postprocessors = [
{ pattern = '\$REPO', replace = "https://github.com/tippfehlr/composehook" },
]

[git]
# parse the commits based on https://www.conventionalcommits.org
conventional_commits = true
# filter out the commits that are not conventional
filter_unconventional = true
# process each line of a commit as an individual commit
split_commits = false
# regex for parsing and grouping commits
commit_parsers = [
{ message = "^feat", group = "<--1--> Features" },
{ message = "^fix", group = "<--2--> Bug Fixes" },
{ message = "^perf", group = "<--3--> Performance" },
{ message = "^refactor", group = "<--4--> Refactor" },
{ message = "^doc", group = "<--5--> Documentation" },
]
# protect breaking changes from being skipped due to matching a skipping commit_parser
protect_breaking_commits = false
# filter out the commits that are not matched by commit parsers
filter_commits = true
# regex for matching git tags
tag_pattern = "v[0-9].*"
# regex for skipping tags
skip_tags = "v0.1.0-beta.1"
# regex for ignoring tags
ignore_tags = ""
# sort the tags topologically
topo_order = false
# sort the commits inside sections by oldest/newest order
sort_commits = "oldest"

0 comments on commit a8e09b3

Please sign in to comment.