Skip to content

Commit 2c944a3

Browse files
authored
Release/0.3.0 (#177)
* Bump version to 0.3.0 Fix licence field * Update git-cliff config * Fix licence field
1 parent 3dca403 commit 2c944a3

File tree

4 files changed

+25
-30
lines changed

4 files changed

+25
-30
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
![version](https://img.shields.io/badge/version-0.2.12-green) [![Tests](https://github.com/trustyai-python/module/actions/workflows/workflow.yml/badge.svg)](https://github.com/trustyai-python/examples/actions/workflows/workflow.yml)
1+
![version](https://img.shields.io/badge/version-0.3.0-green) [![Tests](https://github.com/trustyai-python/module/actions/workflows/workflow.yml/badge.svg)](https://github.com/trustyai-python/examples/actions/workflows/workflow.yml)
22

33
# python-trustyai
44

cliff.toml

Lines changed: 19 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,20 @@
1-
# configuration file for git-cliff (0.1.0)
2-
31
[changelog]
42
# changelog header
53
header = """
64
# Changelog\n
75
All notable changes to this project will be documented in this file.\n
86
"""
97
# template for the changelog body
10-
# https://tera.netlify.app/docs/#introduction
118
body = """
129
{% if version %}\
13-
## [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%Y-%m-%d") }}
10+
## [{{ version }}] - {{ timestamp | date(format="%Y-%m-%d") }}
1411
{% else %}\
1512
## [unreleased]
1613
{% endif %}\
1714
{% for group, commits in commits | group_by(attribute="group") %}
18-
{% if group is starting_with("FAI-") %}
19-
{% set issue_id = group | trim_start_matches(pat="FAI-") -%}
20-
### [FAI-{{ issue_id }}](https://issues.redhat.com/browse/FAI-{{ issue_id }})
21-
{% else %}
2215
### {{ group | upper_first }}
23-
{% endif %}
2416
{% for commit in commits %}
25-
- {% if commit.breaking %}[**breaking**] {% endif %}{{ commit.message | upper_first }}\
17+
- {{ commit.message | upper_first }}\
2618
{% endfor %}
2719
{% endfor %}\n
2820
"""
@@ -40,23 +32,23 @@ filter_unconventional = false
4032
split_commits = false
4133
# regex for preprocessing the commit messages
4234
commit_preprocessors = [
43-
{ pattern = '\((\w+\s)?#([0-9]+)\)', replace = "([#${2}](https://github.com/trustyai-explainability/trustyai-explainability-python/pull/${2}))"},
44-
{ pattern = 'FAI-([0-9]+)\s', replace = "[FAI-${1}](https://issues.redhat.com/browse/FAI-${1})"},
45-
# { pattern = 'FAI-([0-9]+)\s', replace = "[FAI-${1}](https://issues.redhat.com/browse/FAI-${1})"},
35+
# { pattern = '\((\w+\s)?#([0-9]+)\)', replace = "([#${2}](https://github.com/orhun/git-cliff/issues/${2}))"}, # replace issue numbers
4636
]
4737
# regex for parsing and grouping commits
4838
commit_parsers = [
49-
{ message = "^feat", group = "Features"},
50-
{ message = "^fix", group = "Bug Fixes"},
51-
{ message = "^doc", group = "Documentation"},
52-
{ message = "^perf", group = "Performance"},
53-
{ message = "^refactor", group = "Refactor"},
54-
{ message = "^style", group = "Styling"},
55-
{ message = "^test", group = "Testing"},
56-
{ message = "^chore\\(release\\): prepare for", skip = true},
57-
{ message = "^chore", group = "Miscellaneous Tasks"},
58-
{ body = ".*security", group = "Security"},
39+
{ message = "^feat", group = "Features" },
40+
{ message = "^fix", group = "Bug Fixes" },
41+
{ message = "^doc", group = "Documentation" },
42+
{ message = "^perf", group = "Performance" },
43+
{ message = "^refactor", group = "Refactor" },
44+
{ message = "^style", group = "Styling" },
45+
{ message = "^test", group = "Testing" },
46+
{ message = "^chore\\(release\\): prepare for", skip = true },
47+
{ message = "^chore", group = "Miscellaneous Tasks" },
48+
{ body = ".*security", group = "Security" },
5949
]
50+
# protect breaking changes from being skipped due to matching a skipping commit_parser
51+
protect_breaking_commits = false
6052
# filter out the commits that are not matched by commit parsers
6153
filter_commits = false
6254
# glob pattern for matching git tags
@@ -65,7 +57,9 @@ tag_pattern = "[0-9]*"
6557
skip_tags = "v0.1.0-beta.1"
6658
# regex for ignoring tags
6759
ignore_tags = ""
68-
# sort the tags chronologically
69-
date_order = false
60+
# sort the tags topologically
61+
topo_order = false
7062
# sort the commits inside sections by oldest/newest order
7163
sort_commits = "oldest"
64+
# limit the number of commits included in the changelog.
65+
# limit_commits = 42

pyproject.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
11
[project]
22
name = "trustyai"
3-
version = "0.2.12"
3+
version = "0.3.0"
44
description = "Python bindings to the TrustyAI explainability library."
55
authors = [{ name = "Rui Vieira", email = "[email protected]" }]
6-
license = { file = "LICENSE" }
6+
license = { text = "Apache License Version 2.0" }
77
readme = "README.md"
88
requires-python = ">=3.8"
99

1010
keywords = ["trustyai", "xai", "explainability", "ml"]
1111

1212
classifiers = [
1313
"License :: OSI Approved :: Apache Software License",
14-
"Development Status :: 2 - Pre-Alpha",
14+
"Development Status :: 2 - Alpha",
1515
"Intended Audience :: Developers",
1616
"Intended Audience :: Science/Research",
1717
"Programming Language :: Java",
18+
"Programming Language :: Python :: 3.8",
1819
"Programming Language :: Python :: 3.9",
1920
"Topic :: Scientific/Engineering :: Artificial Intelligence",
2021
"Topic :: Software Development :: Libraries :: Java Libraries"

src/trustyai/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
"""TrustyAI version"""
2-
__version__ = "0.2.12"
2+
__version__ = "0.3.0"

0 commit comments

Comments
 (0)