Skip to content

Commit dab95d1

Browse files
Daniel Kraftclaude
andcommitted
v2.0.7: hotplug restore, WiFi channel auto-survey, PWA install fix
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 648f564 commit dab95d1

3 files changed

Lines changed: 30 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,34 @@ All notable changes to RaspiMIDIHub will be documented in this file.
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/).
66

7+
## [2.0.7] - 2026-04-21
8+
9+
### Added
10+
- **WiFi channel auto-survey**: at AP start, the service does a quick
11+
2.4 GHz scan via `iwlist` and picks the least-busy of the three
12+
non-overlapping channels (1, 6, 11) instead of the hardcoded 7.
13+
Weights each detected AP's signal linearly (dBm → power) with a
14+
±2-channel bleed. Dramatically improves throughput in noisy RF
15+
environments. Falls back to channel 11 if the scan fails.
16+
17+
### Fixed
18+
- **Saved connections for hot-plugged devices were not restored.**
19+
Hotplug re-scans replayed only the live-state snapshot and ignored
20+
`config.connections` entirely, so re-plugging a USB device left its
21+
saved routing disconnected while its disabled cells correctly
22+
reappeared (because `config.disconnected` is always re-read).
23+
The engine now tracks which stable IDs were present before each
24+
rescan and, for any device that just appeared, merges in matching
25+
saved connections — unless the pair is in `config.disconnected`.
26+
User edits that hadn't been saved yet are still respected for
27+
devices already present.
28+
- **PWA install prompt missing.** Recent Chromium versions require the
29+
service worker to actually handle fetches (an empty listener no
30+
longer qualifies). `sw.js` now does a real pass-through with a 503
31+
fallback when offline. `manifest.json` also gained `id`, `scope`,
32+
`description`, `orientation`, and explicit `purpose: "any"` on both
33+
icons.
34+
735
## [2.0.6] - 2026-04-19
836

937
### Added

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
PACKAGE = raspimidihub
2-
VERSION = 2.0.6
2+
VERSION = 2.0.7
33
DEB_NAME = $(PACKAGE)_$(VERSION)-1_all
44
BUILD_DIR = build/$(DEB_NAME)
55
DEB_FILE = dist/$(DEB_NAME).deb

src/raspimidihub/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
"""RaspiMIDIHub - Automatic USB MIDI hub for Raspberry Pi."""
22

3-
__version__ = "2.0.6"
3+
__version__ = "2.0.7"

0 commit comments

Comments
 (0)