diff --git a/CHANGELOG.md b/CHANGELOG.md index 99e85a9..fa9bcf6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,21 +11,22 @@ All notable changes to nvrs will be documented in this file. ### 🐛 Bug Fixes -- (*ui*) wrong --cmp output characters

`|` -> `*` ([3cad4c1](https://github.com/adamperkowski/nvrs/commit/3cad4c1dd94f54c176d894e32c4f7ef384c6d8dd)) +- (*ui*) wrong --cmp output characters ([3cad4c1](https://github.com/adamperkowski/nvrs/commit/3cad4c1dd94f54c176d894e32c4f7ef384c6d8dd)) - (*config*) make `prefix` optional ([7b942cc](https://github.com/adamperkowski/nvrs/commit/7b942cc6b9f7c5ac551837e7f53425df34ccb3a9)) ### 📚 Documentation - add a banner & move `speed` to `features` ([752fc15](https://github.com/adamperkowski/nvrs/commit/752fc158b118de603a9f2a9f31a0c320fb3cf78a)) - add a manpage ([073c98f](https://github.com/adamperkowski/nvrs/commit/073c98ff097283fae09742c77bb98358d706bb22)) +- some `git-cliff` improvements ([270c0e6](https://github.com/adamperkowski/nvrs/commit/270c0e6b6e729a349b61a512def02433d3675cc9)) ### ⚡ Performance -- drastically decrease bin size & increase performance

4.7M -> 1.8M
0.2s -> 0.02s ([460f9d9](https://github.com/adamperkowski/nvrs/commit/460f9d9bbe6928d34948ecb3eec7fd0c6c4b7ba4)) +- drastically decrease bin size & increase performance ([460f9d9](https://github.com/adamperkowski/nvrs/commit/460f9d9bbe6928d34948ecb3eec7fd0c6c4b7ba4)) ### Other (unconventional) -- change the `--take` character

`*` -> `+` ([0aace9d](https://github.com/adamperkowski/nvrs/commit/0aace9de0f2c3f26eda4de9491a3454929398102)) +- change the `--take` character ([0aace9d](https://github.com/adamperkowski/nvrs/commit/0aace9de0f2c3f26eda4de9491a3454929398102)) ## [0.1.0] - 2024-11-16 @@ -35,7 +36,7 @@ All notable changes to nvrs will be documented in this file. ### ⚙️ Refactoring -- (*custom_error*) improve newline control ([#1](https://github.com/adamperkowski/nvrs/issues/1))

nwm co robie ([05faaca](https://github.com/adamperkowski/nvrs/commit/05faaca79dd1306a818864ab80ae028a0217dd1e)) +- (*custom_error*) improve newline control ([#1](https://github.com/adamperkowski/nvrs/issues/1)) ([05faaca](https://github.com/adamperkowski/nvrs/commit/05faaca79dd1306a818864ab80ae028a0217dd1e)) ### ⚙️ Miscellaneous Tasks diff --git a/cliff.toml b/cliff.toml index a1d40e8..f585309 100644 --- a/cliff.toml +++ b/cliff.toml @@ -16,7 +16,7 @@ body = """ {% for commit in commits %} - {% if commit.scope %}(*{{ commit.scope }}*) {% endif %}\ {% if commit.breaking %}[**breaking**] {% endif %}\ - {{ commit.message }} ([{{ commit.id | truncate(length=7, end="") }}](https://github.com/adamperkowski/nvrs/commit/{{ commit.id }}){% if commit.remote.username %} by @{{ commit.remote.username }}{%- endif %})\ + {{ commit.message }} ([{{ commit.id | truncate(length=7, end="") }}](/commit/{{ commit.id }}){% if commit.remote.username %} by @{{ commit.remote.username }}{%- endif %})\ {% endfor %} {% endfor %}\n """ @@ -25,7 +25,7 @@ footer = """ """ trim = true postprocessors = [ - # { pattern = '', replace = "https://github.com/orhun/git-cliff" }, # replace repository URL + { pattern = '', replace = "https://github.com/adamperkowski/nvrs" }, ] # render body even when there are no releases to process # render_always = true @@ -39,8 +39,8 @@ filter_unconventional = false split_commits = false commit_preprocessors = [ # Replace issue numbers - { pattern = '\((\w+\s)?#([0-9]+)\)', replace = "([#${2}](https://github.com/adamperkowski/nvrs/issues/${2}))"}, - { pattern = '\n', replace = "
" } + { pattern = '\((\w+\s)?#([0-9]+)\)', replace = "([#${2}](/issues/${2}))"}, + { pattern = '\n.*', replace = "" } # Check spelling of the commit with https://github.com/crate-ci/typos # If the spelling is incorrect, it will be automatically fixed. #{ pattern = '.*', replace_command = 'typos --write-changes -' },