Skip to content

Commit

Permalink
chore(release): prepare for 0.7.2 update version and changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
oyvindln committed Feb 3, 2024
1 parent 4fd32da commit f64f3da
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 10 deletions.
28 changes: 28 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,31 @@
# Changelog

All notable changes to this project will be documented in this file.

---
## [0.7.2](https://github.com/Frommi/miniz_oxide/compare/0.7.1..0.7.2) - 2024-02-03

### Bug Fixes

- **(inflate)** Return MZError::Buf when calling inflate with MZFlush::Finish in line with orig miniz and zlib - ([0f50464](https://github.com/Frommi/miniz_oxide/commit/0f50464c6f7eebdf50942d575db4fbf159436167)) - oyvindln
- **(miniz_oxide)** fix tests when with-alloc is not enabled (running with --no-default-features) and make add test run of it to ci - ([4fd32da](https://github.com/Frommi/miniz_oxide/commit/4fd32da7faa624bfdd47c12e5a0a8587824f65bb)) - oyvindln
- **(miniz_oxide)** fix compiler and clippy warnings - ([657c5b2](https://github.com/Frommi/miniz_oxide/commit/657c5b25760a65cdebe0f66e885d813b488ecd6f)) - oyvindln

### Documentation

- fix typo ([#142](https://github.com/Frommi/miniz_oxide/issues/142)) - ([6e3e813](https://github.com/Frommi/miniz_oxide/commit/6e3e8135895c41e1841c32338d2e0170b80a7e88)) - Brian Donovan

### Performance

- Code size reduction from panic reduction ([#145](https://github.com/Frommi/miniz_oxide/issues/145)) - ([201ef39](https://github.com/Frommi/miniz_oxide/commit/201ef393a84c858c78567a304b18439b3db9279c)) - Kornel
- Optimize match_len == 3 ([#146](https://github.com/Frommi/miniz_oxide/issues/146)) - ([10ff5a0](https://github.com/Frommi/miniz_oxide/commit/10ff5a0824a800d2df688894c904ebfc1b2a2dce)) - Kornel

### Other

- Add a roundtrip fuzz target ([#138](https://github.com/Frommi/miniz_oxide/issues/138)) - ([ee29e37](https://github.com/Frommi/miniz_oxide/commit/ee29e371237b01ddbadd4c0709f2d30447f2430c)) - Sergey "Shnatsel" Davidoff

<!-- generated by git-cliff -->

<a name="0.7.1"></a>
### 0.7.1 (2023-02-02)
* **inflate:**
Expand Down
39 changes: 30 additions & 9 deletions cliff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,43 @@ header = """
# Changelog\n
All notable changes to this project will be documented in this file.\n
"""
# template for the changelog body
# https://tera.netlify.app/docs/#introduction
body = """
---
{% if version %}\
## [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%Y-%m-%d") }}
{% 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 | upper_first }}
{% for commit in commits %}
- {% if commit.breaking %}[**breaking**] {% endif %}{{ commit.message | upper_first }}\
{% endfor %}
### {{ 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 }})) - {{ commit.author.name }}
{%- endfor -%}
{% raw %}\n{% endraw %}\
{%- for commit in commits %}
{%- if commit.scope -%}
{% else -%}
- {% if commit.breaking %} [**breaking**]{% endif %}\
{{ commit.message | split(pat="\n") | first }} - ([{{ commit.id | truncate(length=7, end="") }}]($REPO/commit/{{ commit.id }})) - {{ commit.author.name }}
{% endif -%}
{% endfor -%}
{% endfor %}\n
"""
# remove the leading and trailing whitespace from the template
trim = true

# postprocessors
postprocessors = [
{ pattern = '\$REPO', replace = "https://github.com/Frommi/miniz_oxide" }, # replace repository URL
]

# changelog footer
footer = """
<!-- generated by git-cliff -->
Expand All @@ -37,7 +57,7 @@ filter_unconventional = false
split_commits = false
# regex for preprocessing the commit messages
commit_preprocessors = [
{ pattern = '\((\w+\s)?#([0-9]+)\)', replace = "([#${2}](https://github.com/orhun/git-cliff/issues/${2}))"},
{ pattern = '\((\w+\s)?#([0-9]+)\)', replace = "([#${2}](https://github.com/Frommi/miniz_oxide/issues/${2}))"},
]
# regex for parsing and grouping commits
commit_parsers = [
Expand All @@ -51,13 +71,14 @@ commit_parsers = [
{ message = "^chore\\(release\\): prepare for", skip = true},
{ message = "^chore", group = "Miscellaneous Tasks"},
{ body = ".*security", group = "Security"},
{ message = "", group = "other"},
]
# filter out the commits that are not matched by commit parsers
filter_commits = false
# glob pattern for matching git tags
tag_pattern = "[0-9]*"
# regex for skipping tags
skip_tags = "v0.1.0-beta.1"
# skip_tags = "v0.1.0-beta.1"
# regex for ignoring tags
ignore_tags = ""
# sort the tags chronologically
Expand Down
2 changes: 1 addition & 1 deletion miniz_oxide/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "miniz_oxide"
authors = ["Frommi <[email protected]>", "oyvindln <[email protected]>"]
version = "0.7.1"
version = "0.7.2"
license = "MIT OR Zlib OR Apache-2.0"
readme = "Readme.md"
keywords = ["zlib", "miniz", "deflate", "encoding"]
Expand Down

0 comments on commit f64f3da

Please sign in to comment.