From 39ec13794c3280a944222cd66ec0bd10cde6a660 Mon Sep 17 00:00:00 2001 From: rueger-events-bot Date: Sun, 31 May 2026 17:29:11 +0000 Subject: [PATCH] docs: add changelog Add a changelog generated from existing commit messages and update the version bump script to collect a release entry in nano before committing the version bump. --- CHANGELOG.md | 63 +++++++++++++++++++++++++++++++++++++++++ scripts/bump-version.sh | 57 ++++++++++++++++++++++++++++++++++++- 2 files changed, 119 insertions(+), 1 deletion(-) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..a78060c --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,63 @@ +# Changelog + +## v0.2.0 - 2026-05-29 + +### Added +- Added DeckLink support improvements. +- Added Linux build and release support. +- Added Unifi clickplane and PSN height support, scrolling, and sACN input. +- Added configurable dock layouts. +- Added a basic 3D stage view. +- Added a welcome screen. +- Added MVR import. +- Improved project loading and saving. + +### Changed +- Replaced the Qt ZIP reader with libarchive. + +### Fixed +- Fixed the Windows DeckLink build. + +### CI +- Updated Linux builds to use a newer Qt version. +- Bundled Qt, OpenCV, and the Linux runtime dependency closure in Linux artifacts. +- Avoided recopying bundled Linux libraries. + +## v0.1.2 - 2026-05-20 + +### Added +- Respected configured network interfaces for PSN and sessions. + +## v0.1.1 - 2026-05-18 + +### Fixed +- Disabled macOS library validation to allow loading the DeckLink SDK. +- Removed Homebrew OpenCV rpaths and stripped Homebrew rpaths from macOS app bundles to prevent OMP double-load issues. +- Added caching for Homebrew downloads to improve build performance. + +## v0.1.0 - 2026-05-16 + +### Added +- Added 3D calibration. + +## v0.0.1 - 2026-05-15 + +### Added +- Added session management features and MainWindow UI updates. +- Added Qlementine theme support and layout improvements. +- Added the TrackerBar for tracker selection and fullscreen toggling. +- Added the Help menu and About dialog. +- Added webcam and DeckLink support. +- Added project loading and saving improvements, including error handling and station tracker persistence. +- Added Windows support and GitHub Actions workflows. +- Added macOS notarization, camera permissions, and entitlements handling. +- Added application rebranding and the version bump script. + +### Changed +- Refactored the network panel to show relevant fields and interfaces. + +### Fixed +- Fixed segfaults when closing the window. +- Swapped axes so they match grandMA. +- Ignored trackers when recalibrating. +- Fixed Windows build and installer issues, including Qt, OpenCV, MSVC, vcpkg, and relative path handling. diff --git a/scripts/bump-version.sh b/scripts/bump-version.sh index 3410eec..b45740a 100755 --- a/scripts/bump-version.sh +++ b/scripts/bump-version.sh @@ -2,6 +2,7 @@ set -euo pipefail CMAKELISTS="CMakeLists.txt" +CHANGELOG="CHANGELOG.md" usage() { echo "Usage: $0 " @@ -38,6 +39,60 @@ tag="v${new_version}" echo "Bumping ${current} → ${new_version}" +entry_file=$(mktemp) +cleanup() { + rm -f "$entry_file" +} +trap cleanup EXIT + +cat > "$entry_file" </dev/null 2>&1; then + echo "nano is required to enter the changelog entry." >&2 + exit 1 +fi + +echo "Opening nano for the ${tag} changelog entry..." +nano "$entry_file" + +if ! awk ' + /^## / { next } + /^[[:space:]]*$/ { next } + /^[[:space:]]*-[[:space:]]*$/ { next } + { found = 1 } + END { exit(found ? 0 : 1) } +' "$entry_file"; then + echo "Changelog entry is empty; aborting version bump." >&2 + exit 1 +fi + +changelog_out=$(mktemp) +if [[ -f "$CHANGELOG" ]]; then + awk -v entry_file="$entry_file" ' + NR == 1 { + print + print "" + while ((getline line < entry_file) > 0) print line + close(entry_file) + print "" + next + } + NR == 2 && $0 == "" { next } + { print } + ' "$CHANGELOG" > "$changelog_out" +else + { + echo "# Changelog" + echo + cat "$entry_file" + echo + } > "$changelog_out" +fi +mv "$changelog_out" "$CHANGELOG" + # Update CMakeLists.txt (works on macOS and Linux) sed -i.bak "s/project(onpoint VERSION [0-9][0-9.]*/project(onpoint VERSION ${new_version}/" "$CMAKELISTS" rm -f "${CMAKELISTS}.bak" @@ -47,7 +102,7 @@ updated=$(sed -n 's/project(onpoint VERSION \([0-9][0-9.]*\) .*/\1/p' "$CMAKELIS [[ "$updated" != "$new_version" ]] && { echo "Version update failed (got '${updated}')"; exit 1; } # Commit and tag -git add "$CMAKELISTS" +git add "$CMAKELISTS" "$CHANGELOG" git commit -m "chore: bump version to ${tag}" git tag "$tag"