Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions Canon.API/Canon.API.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
<PlatformTarget>x64</PlatformTarget>

<!-- Assembly Version Configuration -->
<AssemblyVersion>1.1.0.0</AssemblyVersion>
<FileVersion>1.1.0.0</FileVersion>
<Version>1.1.0.0</Version>
<AssemblyVersion>1.2.0.0</AssemblyVersion>
<FileVersion>1.2.0.0</FileVersion>
<Version>1.2.0.0</Version>

<!-- Self-Contained Single-File Deployment -->
<PublishSingleFile>true</PublishSingleFile>
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
Loading