From f25af41ff16d8b160d25af17b87ff39bdebb877a Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 30 Sep 2026 04:53:02 +0000 Subject: [PATCH] Bump version to 1.2.0.0 and date the 1.1.0.0 and 1.2.0.0 releases Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01FRZmo7wsZGgxrgkKqib1At --- CHANGELOG.md | 12 +++++++----- Canon.API/Canon.API.csproj | 6 +++--- README.md | 6 +++--- docs/openapi.json | 2 +- 4 files changed, 14 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index aa32e14..7d2c86f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,19 +7,20 @@ Versions match the Git tags (`v1.0.0.11`) that trigger the release workflow. ## [Unreleased] -### Changed -- The release workflow refuses to run when the tag does not point to the latest commit of `main`, - so the published package always matches the tag. +## [1.2.0.0] - 2026-09-30 +### Changed - **Migrated from .NET 9 to .NET 10 (LTS)**, supported until November 2028 (.NET 9 support ends in November 2026). The release is still a self-contained executable: nothing to install on the photo booth computers. - Packages updated (ASP.NET Core OpenAPI 10, Serilog.AspNetCore 10, Swagger UI 10, AutoUpdater.NET 1.9.3). - The OpenAPI document is now OpenAPI 3.1 (was 3.0), without duplicated schemas. +- The release workflow refuses to run when the tag does not point to the latest commit of `main`, + so the published package always matches the tag. ### Added - CI workflow building the solution and running the unit tests on every pull request and push to `main`. -## [1.1.0.0] - Unreleased +## [1.1.0.0] - 2026-09-30 ### Changed - **Canon EDSDK updated from 13.19.0 to 13.20.21** (64-bit). Adds support for the EOS R6 Mark III and EOS R6V. @@ -150,7 +151,8 @@ First release. - Automatic updates with AutoUpdater.NET, from GitHub releases. - CI/CD workflow building the release package. -[Unreleased]: https://github.com/dansleboby/CanonWebAPI/compare/v1.1.0.0...HEAD +[Unreleased]: https://github.com/dansleboby/CanonWebAPI/compare/v1.2.0.0...HEAD +[1.2.0.0]: https://github.com/dansleboby/CanonWebAPI/compare/v1.1.0.0...v1.2.0.0 [1.1.0.0]: https://github.com/dansleboby/CanonWebAPI/compare/v1.0.0.11...v1.1.0.0 [1.0.0.11]: https://github.com/dansleboby/CanonWebAPI/compare/v1.0.0.10...v1.0.0.11 [1.0.0.10]: https://github.com/dansleboby/CanonWebAPI/compare/v1.0.0.9...v1.0.0.10 diff --git a/Canon.API/Canon.API.csproj b/Canon.API/Canon.API.csproj index 10eeaef..88b7dfc 100644 --- a/Canon.API/Canon.API.csproj +++ b/Canon.API/Canon.API.csproj @@ -7,9 +7,9 @@ x64 - 1.1.0.0 - 1.1.0.0 - 1.1.0.0 + 1.2.0.0 + 1.2.0.0 + 1.2.0.0 true diff --git a/README.md b/README.md index f4689e5..81817ea 100644 --- a/README.md +++ b/README.md @@ -4,9 +4,9 @@ A web API for remotely controlling Canon DSLR and mirrorless cameras. This project utilizes the Canon EDSDK to communicate with the camera and includes automatic update capabilities. -**Current version: 1.1.0.0** (Canon EDSDK 13.20.21). See the [changelog](CHANGELOG.md) for the changes of each version. +**Current version: 1.2.0.0** (.NET 10, Canon EDSDK 13.20.21). See the [changelog](CHANGELOG.md) for the changes of each version. -> **Upgrading from 1.0.x**: errors are now returned as problem details with new status codes (e.g. 503 when the camera is not connected, 504 instead of 408 on capture timeout), and values unknown to the value tables are returned in hexadecimal (`"0x99"`). See the [changelog](CHANGELOG.md#1100---unreleased). +> **Upgrading from 1.0.x**: errors are now returned as problem details with new status codes (e.g. 503 when the camera is not connected, 504 instead of 408 on capture timeout), and values unknown to the value tables are returned in hexadecimal (`"0x99"`). See the [changelog](CHANGELOG.md#1100---2026-09-30). ## Features @@ -150,7 +150,7 @@ dotnet run --project Canon.API This project uses automated GitHub Actions for releases: 1. **Changelog**: Move the changes of the `Unreleased` section of [CHANGELOG.md](CHANGELOG.md) under the new version and date, and update the version in `Canon.API/Canon.API.csproj` -2. **Tag-based releases**: Push a tag like `v1.1.0.0` on the latest commit of `main` to trigger automated build and release (the workflow refuses a tag on another commit) +2. **Tag-based releases**: Push a tag like `v1.2.0.0` on the latest commit of `main` to trigger automated build and release (the workflow refuses a tag on another commit) 3. **Version synchronization**: The workflow automatically updates project versions to match the tag 4. **Unit tests**: The workflow runs `Canon.Core.Tests` before packaging 5. **Automatic packaging**: Creates release packages and updates the AutoUpdater XML diff --git a/docs/openapi.json b/docs/openapi.json index 5ca7563..2590331 100644 --- a/docs/openapi.json +++ b/docs/openapi.json @@ -3,7 +3,7 @@ "info": { "title": "Canon Web API", "description": "Remote control of a Canon camera through the Canon EDSDK: settings, capture and MJPEG live view. Errors are returned as problem details: 400 invalid value, 409 capture refused by the camera, 503 camera not connected or busy, 504 capture timeout.", - "version": "1.1.0" + "version": "1.2.0" }, "paths": { "/cameraname": {