Skip to content

Commit

Permalink
chore(release): prepare for 0.7.0 (#107)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcaurele authored Dec 8, 2024
1 parent 13e053b commit f110deb
Show file tree
Hide file tree
Showing 4 changed files with 181 additions and 33 deletions.
123 changes: 92 additions & 31 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,52 +1,113 @@
# Changelog

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

- add support for Python 3.12
## [0.7.0]

## 0.5.2
### 🐛 Bug Fixes

- bump to fix missing release for `0.5.1`
- Missing interpolation for off and toggle command (#106)

## 0.5.1
### ⚙️ Miscellaneous Tasks

- fix poetry lock file
- improve CI automation
- add support for Python 3.11
- Add Taskfile

## 0.5.0
## [0.6.0] - 2024-04-14

- move to poetry for packaging
- add counters operations
- remove support for Python 3.6 and 3.7
- add support for Python 3.10
### 🚀 Features

## 0.4.0
- Add Python 3.12 (#80)

- add virtual inputs operations
- add virtual output operations
- refactor relay/switch code
- test and support python 3.9
### 🐛 Bug Fixes

## 0.3.0
- Poetry, migrate to dev group

- add read operation on analog sensors
- bug fix on slice iteration
## [0.5.1] - 2023-10-02

## 0.2.3
### 🐛 Bug Fixes

- bug fix on relay
- *(ci)* Fix git dubious error msg for eclint (#48)

## 0.2.2
## [0.5.0] - 2022-02-07

- review sequence implementation
- validate response status and remove key from response returned
- validate device version and remove key from response returned
### ⚙️ Miscellaneous Tasks

## 0.2.1
- *(settings)* Editorconfig and CI linting (#13)
- *(dependabot)* Fix package-ecosystem
- Move to poetry (#36)
- Prepare release 0.5.0
- *(ci)* Improve GH actions (#37)
- *(ci)* GH release configuration
- *(dependabot)* Update commit message prefixes

- implement sequence to iterate over the relay list
## [0.4.0] - 2020-12-27

## 0.2
### 🚀 Features

- control relays
- *(analog sensors)* Read value for different sensors (#9)
- Add python 3.9 checks (#12)

### 💼 Other

- Bump to 0.4.0

### ⚙️ Miscellaneous Tasks

- *(release)* Adjust github actions
- *(test)* Update getall from latest firmware 4.04.02
- Add codeowners

## [0.3.0] - 2020-07-02

### 🚀 Features

- *(Analog sensor)* Add read operation on analog sensor (#7)

### 💼 Other

- Delete dev requirements
- *(slice)* Fix slice index (#6)

### ⚙️ Miscellaneous Tasks

- *(slice)* Use a generic slice to iterate over the GCE array objects
- *(ignore)* Ignore coverage files
- *(doc)* Add license in readme, dev requirements back
- *(cov)* Move excluded lines in pyproject.toml (#8)

## [0.2.3] - 2019-12-12

### 💼 Other

- Add sample usage line
- Old project name typo fix

## [0.2.2] - 2019-12-03

### 💼 Other

- Add pypi version badge
- Check device version, remove device and status from content

### 🧪 Testing

- More tests

## [0.2.1] - 2019-11-29

### 💼 Other

- Add package upload on release

## [0.1] - 2019-11-27

### 💼 Other

- Rename dist package due to conflict
- Add requirements

### ⚙️ Miscellaneous Tasks

- Rename workflow

<!-- generated by git-cliff -->
87 changes: 87 additions & 0 deletions cliff.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
# 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]
# template for the changelog header
header = """
# Changelog\n
All notable changes to this project will be documented in this file.\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 | striptags | trim | upper_first }}
{% for commit in commits %}
- {% if commit.scope %}*({{ commit.scope }})* {% endif %}\
{% if commit.breaking %}[**breaking**] {% endif %}\
{{ commit.message | upper_first }}\
{% endfor %}
{% endfor %}\n
"""
# template for the changelog footer
footer = """
<!-- generated by git-cliff -->
"""
# remove the leading and trailing s
trim = true
# postprocessors
postprocessors = [
# { pattern = '<REPO>', replace = "https://github.com/orhun/git-cliff" }, # replace repository URL
]
# render body even when there are no releases to process
# render_always = true
# output file path
# output = "test.md"

[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 = [
# Replace issue numbers
#{ pattern = '\((\w+\s)?#([0-9]+)\)', replace = "([#${2}](<REPO>/issues/${2}))"},
# 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 -' },
]
# regex for parsing and grouping commits
commit_parsers = [
{ message = "^feat", group = "<!-- 0 -->🚀 Features" },
{ message = "^fix", group = "<!-- 1 -->🐛 Bug Fixes" },
{ message = "^doc", group = "<!-- 3 -->📚 Documentation" },
{ message = "^perf", group = "<!-- 4 -->⚡ Performance" },
{ message = "^refactor", group = "<!-- 2 -->🚜 Refactor" },
{ message = "^style", group = "<!-- 5 -->🎨 Styling" },
{ message = "^test", group = "<!-- 6 -->🧪 Testing" },
{ message = "^chore\\(release\\): prepare for", skip = true },
{ message = "^chore\\(deps.*\\)", skip = true },
{ message = "^poetry\\(dep.*\\)", skip = true },
{ message = "^dep|^depr", skip = true },
{ message = "^pipenv\\(dep.*\\)", skip = true },
{ message = "^chore\\(pr\\)", skip = true },
{ message = "^chore\\(pull\\)", skip = true },
{ message = "^chore|^ci", group = "<!-- 7 -->⚙️ Miscellaneous Tasks" },
{ body = ".*security", group = "<!-- 8 -->🛡️ Security" },
{ message = "^revert", group = "<!-- 9 -->◀️ Revert" },
{ message = ".*", group = "<!-- 10 -->💼 Other" },
]
# filter out the commits that are not matched by commit parsers
filter_commits = false
# sort the tags topologically
topo_order = false
# sort the commits inside sections by oldest/newest order
sort_commits = "oldest"
2 changes: 1 addition & 1 deletion ipx800/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
from ipx800.ipx800 import ApiError, IPX800 as ipx800 # noqa


__version__ = "0.6.0"
__version__ = "0.7.0"
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "gce-ipx800"
version = "0.6.0"
version = "0.7.0"
description = "Library to interact with the GCE Electronics IPX800 device"
authors = ["Marc-Aurèle Brothier <m@brothier.org>"]
license = "Apache-2.0"
Expand Down

0 comments on commit f110deb

Please sign in to comment.