Skip to content

Commit

Permalink
Merge pull request #128 from PierreZ/release/0.9.0
Browse files Browse the repository at this point in the history
Prepare for Release 0.9.0
  • Loading branch information
PierreZ committed Mar 15, 2024
2 parents f7ca165 + cbcb94a commit 6350cf5
Show file tree
Hide file tree
Showing 10 changed files with 485 additions and 143 deletions.
485 changes: 363 additions & 122 deletions CHANGELOG.md

Large diffs are not rendered by default.

99 changes: 99 additions & 0 deletions cliff.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
# git-cliff ~ default configuration file
# https://git-cliff.org/docs/configuration
#
# Lines starting with "#" are comments.
# Configuration options are organized into tables and keys.
# See documentation for more information on available options.

[changelog]
header = """
# Changelog\n
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).\n
"""
# template for the changelog body
# https://keats.github.io/tera/docs/#introduction
body = """
{% if version -%}
## [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%Y-%m-%d") }}
{% else -%}
## [Unreleased]
{% endif -%}
{% for group, commits in commits | group_by(attribute="group") %}
### {{ group | upper_first }}
{% for commit in commits %}
- **{% if commit.scope %}{{ commit.scope }}{% else %}all{% endif %}**: {{ commit.message | upper_first }}\
{% endfor %}
{% endfor %}\n
"""
# template for the changelog footer
footer = """
{% for release in releases -%}
{% if release.version -%}
{% if release.previous.version -%}
[{{ release.version | trim_start_matches(pat="v") }}]: \
https://github.com/{{ remote.github.owner }}/{{ remote.github.repo }}\
/compare/{{ release.previous.version }}..{{ release.version }}
{% endif -%}
{% else -%}
[unreleased]: https://github.com/{{ remote.github.owner }}/{{ remote.github.repo }}\
/compare/{{ release.previous.version }}..HEAD
{% endif -%}
{% endfor %}
<!-- generated by git-cliff -->
"""

# remove the leading and trailing whitespace from the templates
trim = true

# postprocessors
postprocessors = [
# { pattern = '<REPO>', replace = "https://github.com/orhun/git-cliff" }, # replace repository URL
]
[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 preprocessing the commit messages
commit_preprocessors = [
# { pattern = '\((\w+\s)?#([0-9]+)\)', replace = "([#${2}](<REPO>/issues/${2}))"}, # replace issue numbers
]
# regex for parsing and grouping commits
commit_parsers = [
{ message = "^feat", group = "Features" },
{ message = "^fix", group = "Bug Fixes" },
{ message = "^doc", group = "Documentation" },
{ message = "^perf", group = "Performance" },
{ message = "^refactor", group = "Refactor" },
{ message = "^style", group = "Styling" },
{ message = "^test", group = "Testing" },
{ message = "^chore\\(release\\): prepare for", skip = true },
{ message = "^chore\\(deps\\)", skip = true },
{ message = "^chore\\(pr\\)", skip = true },
{ message = "^chore\\(pull\\)", skip = true },
{ message = "^chore|ci", group = "Miscellaneous Tasks" },
{ body = ".*security", group = "Security" },
{ message = "^revert", group = "Revert" },
]
# 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 = false
# 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"
# limit the number of commits included in the changelog.
# limit_commits = 42
2 changes: 2 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@
rust-bin.${rustChannel}.latest.rustfmt
rust-bin.${rustChannel}.latest.clippy

git-cliff

# FDB part
libfdb73

Expand Down
2 changes: 1 addition & 1 deletion foundationdb-bench/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ license = "MIT/Apache-2.0"
env_logger = "0.10.2"
foundationdb = { version = "*", path = "../foundationdb" }
futures = "0.3.30"
log = "0.4.20"
log = "0.4.21"
rand = "0.8.5"
structopt = "0.3.26"
6 changes: 3 additions & 3 deletions foundationdb-bindingtester/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bindingtester"
version = "0.8.0"
version = "0.9.0"
authors = [
"Benjamin Fry <benjaminfry@me.com>",
"Vincent Rouillé <vincent@clikengo.com>",
Expand All @@ -24,9 +24,9 @@ license = "MIT/Apache-2.0"
[dependencies]
env_logger = "0.10.2"
foundationdb = { path = "../foundationdb", features = ["uuid", "num-bigint", "fdb-7_3", "embedded-fdb-include", "tenant-experimental"], default-features = false }
foundationdb-sys = { version = "0.8.0", path = "../foundationdb-sys", features = ["embedded-fdb-include", "fdb-7_3"], default-features = false }
foundationdb-sys = { version = "0.9.0", path = "../foundationdb-sys", features = ["embedded-fdb-include", "fdb-7_3"], default-features = false }
futures = "0.3.30"
log = "0.4.20"
log = "0.4.21"
num-bigint = "0.4.4"
structopt = "0.3.26"
async-trait = "0.1.77"
2 changes: 1 addition & 1 deletion foundationdb-gen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "foundationdb-gen"
version = "0.8.0"
version = "0.9.0"
authors = [
"Jihyun Yu <yjh0502@gmail.com>",
"Vincent Rouillé <vincent@clikengo.com>",
Expand Down
4 changes: 2 additions & 2 deletions foundationdb-macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ keywords = ["foundationdb", "proc-macro"]
proc-macro = true

[dependencies]
syn = { version = "2.0.48", features = ["full"] }
proc-macro2 = "1.0.78"
syn = { version = "2.0.52", features = ["full"] }
proc-macro2 = "1.0.79"
try_map = "0.3.1"
quote = "1.0.35"
8 changes: 4 additions & 4 deletions foundationdb-simulation/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[package]
name = "foundationdb-simulation"
version = "0.1.0"
version = "0.2.0"
edition = "2021"

[dependencies]
foundationdb = { version = "0.8.0", path = "../foundationdb", default-features = false }
foundationdb-sys = { version = "0.8.0", path = "../foundationdb-sys", default-features = false }
foundationdb = { version = "0.9.0", path = "../foundationdb", default-features = false }
foundationdb-sys = { version = "0.9.0", path = "../foundationdb-sys", default-features = false }

[build-dependencies]
cc = "1.0.83"
cc = "1.0.90"

[features]
default = ["embedded-fdb-include"]
Expand Down
4 changes: 2 additions & 2 deletions foundationdb-sys/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "foundationdb-sys"
version = "0.8.0"
version = "0.9.0"
authors = [
"Benjamin Fry <benjaminfry@me.com>",
"Vincent Rouillé <vincent@clikengo.com>",
Expand Down Expand Up @@ -46,4 +46,4 @@ fdb-7_3 = []
libc = "0.2"

[build-dependencies]
bindgen = "0.69.2"
bindgen = "0.69.4"
16 changes: 8 additions & 8 deletions foundationdb/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "foundationdb"
version = "0.8.0"
version = "0.9.0"
authors = [
"Benjamin Fry <benjaminfry@me.com>",
"Vincent Rouillé <vincent@clikengo.com>",
Expand Down Expand Up @@ -46,10 +46,10 @@ fdb-7_3 = ["foundationdb-sys/fdb-7_3", "foundationdb-gen/fdb-7_3", "serde", "ser
tenant-experimental = []

[build-dependencies]
foundationdb-gen = { version = "0.8.0", path = "../foundationdb-gen", default-features = false }
foundationdb-gen = { version = "0.9.0", path = "../foundationdb-gen", default-features = false }

[dependencies]
foundationdb-sys = { version = "0.8.0", path = "../foundationdb-sys", default-features = false }
foundationdb-sys = { version = "0.9.0", path = "../foundationdb-sys", default-features = false }
foundationdb-macros = { version = "0.3.0", path = "../foundationdb-macros" }
futures = "0.3.30"
memchr = "2.7.1"
Expand All @@ -60,16 +60,16 @@ num-bigint = { version = "0.4.4", optional = true }
async-trait = "0.1.77"
async-recursion = "1.0.5"
# Required to deserialize tenant info
serde = { version = "1.0.195", features = ["derive"], optional = true}
serde_json = { version = "1.0.111", optional = true}
serde = { version = "1.0.197", features = ["derive"], optional = true}
serde_json = { version = "1.0.114", optional = true}
serde_bytes = { version = "0.11.14", optional = true}

[dev-dependencies]
byteorder = "1.5.0"
lazy_static = "1.4.0"
log = "0.4.20"
tokio = { version = "1.35.1", features = ["full"] }
ring = "0.17.7"
log = "0.4.21"
tokio = { version = "1.36.0", features = ["full"] }
ring = "0.17.8"
data-encoding = "2.5.0"
pretty-bytes = "0.2.2"
uuid = { version = "1.7.0", features = ["v4"] }

0 comments on commit 6350cf5

Please sign in to comment.