Skip to content

Commit d31cefc

Browse files
committed
ci: Use czespressif plugin for commitizen
1 parent 25bc34c commit d31cefc

File tree

3 files changed

+151
-79
lines changed

3 files changed

+151
-79
lines changed

.cz.toml

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,12 @@
11
[tool.commitizen]
2+
name = "czespressif"
23
version = "1.7.0"
34
update_changelog_on_bump = true
4-
version_scheme = "semver"
55
tag_format = "v$version"
66
changelog_merge_prerelease = true
77
annotated_tag = true
8+
changelog_start_rev = "v1.0.0"
89
bump_message = "change: Update version to $new_version"
910
version_files = [
1011
"idf_component.yml:version"
1112
]
12-
change_type_order = [
13-
"BREAKING CHANGE",
14-
"New Features",
15-
"Bug Fixes",
16-
"Code Refactoring",
17-
"Performance Improvements"
18-
]
19-
20-
[tool.commitizen.change_type_map]
21-
feat = "New Features"
22-
fix = "Bug Fixes"
23-
refactor = "Code Refactoring"
24-
perf = "Performance Improvements"

.github/workflows/new_release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
with:
2222
fetch-depth: 0
2323
- name: Install dependencies
24-
run: pip install Commitizen
24+
run: pip install commitizen czespressif>=1.3.1
2525
- name: Generate changelog
2626
run: |
2727
cz changelog ${{ steps.get_version.outputs.VERSION }} --file-name changelog_body.md

CHANGELOG.md

Lines changed: 148 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -1,131 +1,215 @@
1+
<a href="https://www.espressif.com">
2+
<img src="https://www.espressif.com/sites/all/themes/espressif/logo-black.svg" align="right" height="20" />
3+
</a>
4+
5+
# CHANGELOG
6+
7+
> All notable changes to this project are documented in this file.
8+
> This list is not exhaustive - only important changes, fixes, and new features in the code are reflected here.
9+
10+
<div align="center">
11+
<a href="https://keepachangelog.com/en/1.1.0/">
12+
<img alt="Static Badge" src="https://img.shields.io/badge/Keep%20a%20Changelog-v1.1.0-salmon?logo=keepachangelog&logoColor=black&labelColor=white&link=https%3A%2F%2Fkeepachangelog.com%2Fen%2F1.1.0%2F">
13+
</a>
14+
<a href="https://www.conventionalcommits.org/en/v1.0.0/">
15+
<img alt="Static Badge" src="https://img.shields.io/badge/Conventional%20Commits-v1.0.0-pink?logo=conventionalcommits&logoColor=black&labelColor=white&link=https%3A%2F%2Fwww.conventionalcommits.org%2Fen%2Fv1.0.0%2F">
16+
</a>
17+
<a href="https://semver.org/spec/v2.0.0.html">
18+
<img alt="Static Badge" src="https://img.shields.io/badge/Semantic%20Versioning-v2.0.0-grey?logo=semanticrelease&logoColor=black&labelColor=white&link=https%3A%2F%2Fsemver.org%2Fspec%2Fv2.0.0.html">
19+
</a>
20+
</div>
21+
<hr>
22+
23+
## Unreleased
24+
25+
### ✨ New Features
26+
27+
- Add the SDIO inteface and the corresponding esp port *(Djordje Nedic - b74194b)*
28+
29+
### 🐛 Bug Fixes
30+
31+
- **esp32s3**: Ensure electric current capabilities allowing to flash devkits with UART converters *(Jaroslav Burian - 05d78a4)*
32+
- INVALID_ARG error when ESP32P4 used as a host *(Jaroslav Burian - b42d1d8)*
33+
- Return when SDIO connection not initialized *(Jaroslav Burian - 3ee2b25)*
34+
- esp32c2 incorrect SPI flash config detection *(Jaroslav Burian - ed43e0a)*
35+
- Add missing definition for Zephyr debug trace *(Jaroslav Burian - 86effb2)*
36+
- Update USB reset sequence *(Jaroslav Burian - f64cf7c)*
37+
38+
### 📖 Documentation
39+
40+
- Update log output for Zephyr example *(Jaroslav Burian - 7abd989)*
41+
- Fix swapped RX and TX in Zephyr example *(Jaroslav Burian - 7855e5e)*
42+
43+
---
44+
145
## v1.7.0 (2024-11-25)
246

3-
### New Features
47+
### ✨ New Features
48+
49+
- **examples**: Provide more useful error messages *(Djordje Nedic - 663aa35)*
50+
- Add support for reading from target flash *(Djordje Nedic - 0785c94)*
51+
- Add support for inverting reset and boot pins *(shiona - dfb8551)*
52+
- Update zephyr example to v4.0.0 *(Jaroslav Burian - a6a0711)*
53+
54+
### 🐛 Bug Fixes
455

5-
- Add support for reading from target flash
6-
- Add support for inverting reset and boot pins
7-
- Update zephyr example to v4.0.0
8-
- **examples**: Provide more useful error messages
56+
- Clarify and validate alignment requirements for flashing *(Djordje Nedic - 400d614)*
57+
- ROUNDUP calculation fix *(Djordje Nedic - 6f17bfe)*
58+
- Zephyr example *(Marek Matej - 5d380bd)*
59+
- Handling of USB buffer overflow *(Jaroslav Burian - aa95e24)*
60+
- Callback when USB port is disconnected *(Jaroslav Burian - c966fe6)*
961

10-
### Bug Fixes
62+
### 📖 Documentation
1163

12-
- Clarify and validate alignment requirements for flashing
13-
- ROUNDUP calculation fix
14-
- Zephyr example
15-
- Handling of USB buffer overflow
16-
- Callback when USB port is disconnected
64+
- Remove experimental note for USB port *(Jaroslav Burian - 53fb930)*
65+
66+
---
1767

1868
## v1.6.2 (2024-10-18)
1969

20-
### Bug Fixes
70+
### 🐛 Bug Fixes
71+
72+
- Fix the ESP USB CDC ACM port read return value *(Djordje Nedic - ce71bff)*
2173

22-
- Fix the ESP USB CDC ACM port read return value
74+
---
2375

2476
## v1.6.1 (2024-10-15)
2577

26-
### Bug Fixes
78+
### 🐛 Bug Fixes
2779

28-
- Fix ESP32-H2 flash detection
80+
- Fix ESP32-H2 flash detection *(Jaroslav Burian - a8b1ac4)*
81+
82+
---
2983

3084
## v1.6.0 (2024-09-26)
3185

32-
### New Features
86+
### ✨ New Features
87+
88+
- Add logging from target to rpi pico port *(Jaroslav Burian - 15d34a1)*
89+
- Add support for Secure Download Mode *(Djordje Nedic - 46f3f0b)*
90+
- Add support for getting target security info *(Djordje Nedic - 96d0183)*
3391

34-
- Add support for Secure Download Mode
35-
- Add support for getting target security info
36-
- Add logging from target to rpi pico port
92+
### 🐛 Bug Fixes
3793

38-
### Bug Fixes
94+
- Add delay to usb example to ensure connection *(Jaroslav Burian - c0a2069)*
95+
- Do not enable logging if flashing error - STM *(Jaroslav Burian - cc0421f)*
96+
- Add missing esp32c3 chip magic numbers *(Jaroslav Burian - 82c4fc7)*
97+
- Multiple timeout fixes *(Djordje Nedic - 8f54452)*
98+
- Only check if image fits into flash when we know flash size *(Djordje Nedic - 3bc629c)*
99+
- Duplicate word in logging message *(Jaroslav Burian - c19f0bf)*
39100

40-
- Add delay to usb example to ensure connection
41-
- Do not enable logging if flashing error - STM
42-
- Add missing esp32c3 chip magic numbers
43-
- Multiple timeout fixes
44-
- Only check if image fits into flash when we know flash size
45-
- Duplicate word in logging message
101+
### 🔧 Code Refactoring
46102

47-
### Code Refactoring
103+
- **protocol**: Rework command and response handling code *(Djordje Nedic - 86efdf9)*
104+
- **protocol**: Add support for receiving variably sized SLIP packets *(Djordje Nedic - e3c332a)*
48105

49-
- **protocol**: Rework command and response handling code
50-
- **protocol**: Add support for receiving variably sized SLIP packets
106+
---
51107

52108
## v1.5.0 (2024-08-13)
53109

54-
### New Features
110+
### New Features
55111

56-
- Add the Raspberry Pi Pico port
112+
- Add the Raspberry Pi Pico port *(Djordje Nedic - c72680c)*
113+
114+
---
57115

58116
## v1.4.1 (2024-07-16)
59117

60-
### Bug Fixes
118+
### 🐛 Bug Fixes
119+
120+
- Add correct MD5 calculation with stub enabled *(Jaroslav Burian - 88352d9)*
121+
- Remove duplicate word in logging *(Jaroslav Burian - 7225889)*
122+
123+
### 📖 Documentation
61124

62-
- Add correct MD5 calculation with stub enabled
63-
- Remove duplicate word in logging
125+
- Update description in the READMEs *(Jaroslav Burian - 16b16a6)*
126+
127+
---
64128

65129
## v1.4.0 (2024-07-02)
66130

67-
### New Features
131+
### ✨ New Features
132+
133+
- add stub-support *(Vincent Hamp - ec1fc06)*
68134

69-
- Add stub-support
135+
### 🐛 Bug Fixes
70136

71-
### Bug Fixes
137+
- Fix MD5 option handling *(Djordje Nedic - 09e1192)*
72138

73-
- Fix MD5 option handling
139+
---
74140

75141
## v1.3.1 (2024-06-26)
76142

77-
### Bug Fixes
143+
### 🐛 Bug Fixes
78144

79-
- Fix ESP SPI port duplicate tracing
80-
- SPI interface/esp port alignment requirements fix
81-
- Upload to RAM examples monitor task priority fix
145+
- Fix ESP SPI port duplicate tracing *(Djordje Nedic - 116900d)*
146+
- SPI interface/esp port alignment requirements fix *(Djordje Nedic - 9706ed6)*
147+
- Upload to RAM examples monitor task priority fix *(Djordje Nedic - fd86bc3)*
148+
149+
---
82150

83151
## v1.3.0 (2024-03-22)
84152

85-
### New Features
153+
### ✨ New Features
154+
155+
- Add a convenient public API way to read the WIFI MAC *(Djordje Nedic - 8f07704)*
86156

87-
- Add a convenient public API way to read the WIFI MAC
157+
### 🐛 Bug Fixes
88158

89-
### Bug Fixes
159+
- Correctly compare image size with memory size including offset *(Dzarda7 - 2807ab5)*
90160

91-
- Correctly compare image size with memory size including offset
161+
---
92162

93163
## v1.2.0 (2024-02-28)
94164

95-
### New Features
165+
### New Features
96166

97-
- Move flash size detection functionality to the public API
167+
- Move flash size detection functionality to the public API *(Djordje Nedic - 6ae5b95)*
98168

99-
### Bug Fixes
169+
### 🐛 Bug Fixes
100170

101-
- Fix inferring flash size from the flash ID
102-
- **docs**: Fix table in SPI load to RAM example
171+
- **docs**: Fix table in SPI load to RAM example *(Djordje Nedic - edd8a6a)*
172+
- Fix inferring flash size from the flash ID *(Djordje Nedic - 3a1f345)*
173+
174+
---
103175

104176
## v1.1.0 (2024-02-13)
105177

106-
### New Features
178+
### ✨ New Features
179+
180+
- USB CDC ACM interface support *(Djordje Nedic - 4e26444)*
181+
- Add the ability for ESP ports to not initialize peripherals *(Djordje Nedic - 541fe12)*
107182

108-
- USB CDC ACM interface support
109-
- Add the ability for ESP ports to not initialize peripherals
183+
### 🐛 Bug Fixes
110184

111-
### Bug Fixes
185+
- **docs**: Remove notes about SPI interface being experimental *(Djordje Nedic - 3ffc189)*
186+
- Document size_id and improve comments in places *(Djordje Nedic - 3a1e818)*
112187

113-
- **docs**: Remove notes about SPI interface being experimental
114-
- Document size_id and improve comments in places
188+
---
115189

116190
## v1.0.2 (2023-12-20)
117191

118-
### Bug Fixes
192+
### 🐛 Bug Fixes
193+
194+
- Fix flash size ID sanity checks *(Djordje Nedic - 01e1618)*
119195

120-
- Fix flash size ID sanity checks
196+
---
121197

122198
## v1.0.1 (2023-12-19)
123199

124-
### Bug Fixes
200+
### 🐛 Bug Fixes
125201

126-
- Fix md5 timeout values
127-
- **ci**: Add more compiler warnings for the flasher in the examples
202+
- **ci**: Add more compiler warnings for the flasher in the examples *(Djordje Nedic - eb18fd0)*
203+
- Fix md5 timeout values *(Djordje Nedic - 058156c)*
128204

129-
## v1.0.0 (2023-12-10)
205+
---
130206

131-
- Initial release
207+
<div align="center">
208+
<small>
209+
<b>
210+
<a href="https://www.github.com/espressif/cz-plugin-espressif">Commitizen Espressif plugin</a>
211+
</b>
212+
<br>
213+
<sup><a href="https://www.espressif.com">Espressif Systems CO LTD. (2025)</a><sup>
214+
</small>
215+
</div>

0 commit comments

Comments
 (0)