- usb_haiku.cpp: each disk device transaction kept minimal, because
Haiku R1/beta6 rejects or hangs on combined ones: erase foreign
content, delete old MBR partitions, create the 0x0c partition
("FAT 32-bit, LBA-mapped", with "active false" parameters) and format
FAT32 are separate commits; Uninitialize is never used on an MBR
- OPENPU_DEBUG=1 traces the Haiku disk device steps on stderr
- extractTar resolves the destination first: SECURE_SYMLINKS refused
destinations under a symlink (/tmp on Haiku)
- check.sh: clang-tidy skips sources not built on Linux
- validated in the Haiku VM: write-usb on the virtual stick gives an MBR,
a FAT32 partition at 1 MiB, the label, license/ and the archive tree
without UpdateInfo.xml, with identical checksums; 53 unit tests pass
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WDASLCiN764v685boRVYar
61 lines
3.0 KiB
Markdown
61 lines
3.0 KiB
Markdown
# Changelog
|
|
|
|
Format: [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). Versions follow
|
|
[Semantic Versioning](https://semver.org/): `0.x` until the Linux and Haiku applications are
|
|
complete; every release is an annotated git tag `vX.Y.Z` (see `tools/release.sh`).
|
|
|
|
## [Unreleased]
|
|
|
|
### Added
|
|
- Haiku development VM tooling: `tools/haiku-vm.sh` (Haiku R1/beta6 x86_64 under QEMU/KVM, with a
|
|
virtual USB stick) and `tools/qmp.py` (headless screenshots, clicks and typing through QMP).
|
|
- Haiku USB backend (Storage Kit disk device API): lists USB drives, writes an MBR with one FAT32
|
|
partition at 1 MiB, mounts, unmounts and ejects. Validated end to end in the VM.
|
|
- The core library and `openpu-cli` build and pass all unit tests on Haiku R1/beta6 x86_64.
|
|
|
|
### Fixed
|
|
- Archive extraction failed when the destination path contained a symbolic link (e.g. `/tmp` on
|
|
Haiku).
|
|
- `tools/release.sh` produced empty release notes.
|
|
|
|
## [0.2.0] - 2026-11-28
|
|
|
|
### Added
|
|
- GTK4 (gtkmm) graphical interface: vehicles, adding a vehicle by VIN, available updates, download
|
|
folder, resumable download, USB stick selection, writing, installation guide.
|
|
- Versioning: CMake version + `git describe` on every build, `openpu-cli --version`, About dialog,
|
|
`OpenPU/<version>` User-Agent, `tools/release.sh`.
|
|
- gettext translation infrastructure (English source strings, French translation).
|
|
- Links to the official installation guides (PDF) in French and English.
|
|
- Preferences: download folder, language (system language by default), automatic check for a new
|
|
OpenPU version at startup.
|
|
- New OpenPU version check (GitHub releases), offering to open the download page in the browser;
|
|
`openpu-cli app-update`.
|
|
- MIT license (`LICENSE`, SPDX headers).
|
|
- GitHub Actions continuous integration: build and tests on Linux x86_64 and arm64, ASan/UBSan.
|
|
|
|
### Changed
|
|
- The main repository is now https://github.com/yann64/openpu.
|
|
- `vehicles.json` keeps the order in which vehicles were added.
|
|
|
|
### Planned
|
|
- Linux `.deb`, Flatpak and AppImage packages; Haiku `.hpkg` package.
|
|
- From 1.0.0 on, binaries attached to every release, for x86_64 and arm64.
|
|
|
|
## [0.1.0] - 2026-11-28
|
|
|
|
### Added
|
|
- Analysis of "Peugeot Update" 1.6.1 (`docs/analysis/`, in French).
|
|
- `libopenpu`: Majestic API client (VIN, head units, updates), resumable downloads (HTTP Range),
|
|
license download (including the empty placeholder Majestic returns while generating it), tar
|
|
archives (integrity check, safe extraction skipping `UpdateInfo.xml`), settings and vehicles
|
|
compatible with the official application, Linux USB support through UDisks2 (MBR + FAT32,
|
|
mounting, ejecting).
|
|
- `openpu-cli`: `check`, `download`, `verify`, `extract`, `usb-list`, `write-usb`, `write-dir`.
|
|
- Quality: doctest unit tests, ASan/UBSan, valgrind, clang-tidy, cppcheck (`tools/check.sh`),
|
|
end-to-end USB test on a loop image (`tools/e2e-usb.sh`).
|
|
|
|
[Unreleased]: https://github.com/yann64/openpu/compare/v0.2.0...HEAD
|
|
[0.2.0]: https://github.com/yann64/openpu/releases/tag/v0.2.0
|
|
[0.1.0]: https://github.com/yann64/openpu/releases/tag/v0.1.0
|