Skip to content

Commit 994c8fc

Browse files
committed
Add v2.0.0 changelog and release notes
1 parent 2a88fcf commit 994c8fc

2 files changed

Lines changed: 57 additions & 10 deletions

File tree

.github/workflows/release.yml

Lines changed: 41 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -41,20 +41,51 @@ jobs:
4141
id: version
4242
run: echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
4343

44+
- name: Extract release notes
45+
env:
46+
VERSION: ${{ steps.version.outputs.VERSION }}
47+
run: |
48+
python3 - <<'PY'
49+
import os
50+
from pathlib import Path
51+
52+
changelog = Path("CHANGELOG.md").read_text().splitlines()
53+
notes = []
54+
capture = False
55+
56+
for line in changelog:
57+
if line.startswith("## "):
58+
if capture:
59+
break
60+
capture = True
61+
62+
if capture:
63+
notes.append(line)
64+
65+
if not notes:
66+
raise SystemExit("No release notes found in CHANGELOG.md")
67+
68+
body = [
69+
f"## PD240W Firmware {os.environ['VERSION']}",
70+
"",
71+
*notes[1:],
72+
"",
73+
"### Installation",
74+
"1. Hold BOOTSEL button while connecting the Pico via USB",
75+
"2. Drag `PD240W.uf2` to the mounted `RPI-RP2` drive",
76+
"",
77+
"### Files",
78+
"- `PD240W.uf2` - Flash image for USB drag-and-drop",
79+
"- `PD240W.elf` - Debug binary with symbols (for SWD flashing)",
80+
]
81+
Path("release-body.md").write_text("\n".join(body) + "\n")
82+
PY
83+
4484
- name: Create Release
4585
uses: softprops/action-gh-release@v2
4686
with:
4787
name: "PD240W ${{ steps.version.outputs.VERSION }}"
48-
body: |
49-
## PD240W Firmware ${{ steps.version.outputs.VERSION }}
50-
51-
### Installation
52-
1. Hold BOOTSEL button while connecting the Pico via USB
53-
2. Drag `PD240W.uf2` to the mounted `RPI-RP2` drive
54-
55-
### Files
56-
- `PD240W.uf2` - Flash image for USB drag-and-drop
57-
- `PD240W.elf` - Debug binary with symbols (for SWD flashing)
88+
body_path: release-body.md
5889
files: |
5990
build/PD240W.uf2
6091
build/PD240W.elf

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Changelog
2+
3+
## [2.0.0] - 2026-05-31
4+
5+
### USB-PD 3.1 / 3.2 Release
6+
7+
- Added USB-PD 3.1 and 3.2 firmware support, making AVS and EPR negotiation possible.
8+
- Added completed constant-current control work, including an OFF current-limit mode and updated INA228 integration.
9+
- Improved USB-PD behavior across Fixed, PPS, and EPR AVS profiles with closed-loop tuning, safer contract transitions, smarter startup restore, and better high-voltage charger handling.
10+
- Added charger diagnostics and a USB serial CLI for remote inspection and control.
11+
- Refreshed the interface with PD240W branding, smoother visuals, clearer about screens, richer boot information, and more configurable settings such as auto-dim control.
12+
- Fixed reboot voltage spikes, badge and cursor restore issues, noisy logs, menu navigation edge cases, charger-change restore problems, and several AVS/EPR negotiation regressions.
13+
14+
## [1.0.0]
15+
16+
- Initial public firmware release.

0 commit comments

Comments
 (0)