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
45 changes: 43 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,33 @@ jobs:
cargo clippy --manifest-path apps/desktop/src-tauri/Cargo.toml --all-targets -- -D warnings
cargo test --manifest-path apps/desktop/src-tauri/Cargo.toml

- name: Check updater signing setup
shell: powershell
env:
TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}
run: |
if ([string]::IsNullOrWhiteSpace($env:TAURI_SIGNING_PRIVATE_KEY)) {
throw "TAURI_SIGNING_PRIVATE_KEY is not set. Add the updater private key as a repository secret (see docs/NOTES.md, Updater keys)."
}
$config = Get-Content -Raw -LiteralPath apps/desktop/src-tauri/tauri.conf.json | ConvertFrom-Json
if ($config.plugins.updater.pubkey -like "REPLACE_WITH_*") {
throw "plugins.updater.pubkey in tauri.conf.json is still the placeholder. Paste the public key (see docs/NOTES.md, Updater keys)."
}

- name: Build Windows installer
shell: powershell
env:
CAPKIT_COMMIT: ${{ github.sha }}
run: pnpm bundle:windows
TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}
TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }}
run: |
# Updater artifacts (.sig) are enabled here only, so a local
# `pnpm bundle:windows` needs no signing key. A config file avoids
# JSON quoting problems across pnpm and PowerShell.
$overlay = Join-Path $env:RUNNER_TEMP "updater-artifacts.json"
[System.IO.File]::WriteAllText($overlay, '{"bundle":{"createUpdaterArtifacts":true}}', [System.Text.UTF8Encoding]::new($false))
pnpm --filter @snaphub/desktop exec tauri build --bundles nsis --config $overlay
if ($LASTEXITCODE -ne 0) { throw "tauri build failed" }

- name: Publish GitHub release
shell: powershell
Expand All @@ -115,7 +138,25 @@ jobs:
if ($LASTEXITCODE -ne 0) { throw "Could not generate release notes" }
$notes = (@($generated) -join "`n") + "`n`nFull changelog: [CHANGELOG-PUBLIC.md](https://github.com/${{ github.repository }}/blob/v${{ env.VERSION }}/CHANGELOG-PUBLIC.md)`n"
[System.IO.File]::WriteAllText("$PWD/notes.md", $notes, [System.Text.UTF8Encoding]::new($false))
gh release create "v${{ env.VERSION }}" $installer $checksum --target "${{ github.sha }}" --title "CapKit ${{ env.VERSION }}" --notes-file notes.md
$signaturePath = "$installer.sig"
if (!(Test-Path -LiteralPath $signaturePath)) {
throw "Missing updater signature at $signaturePath"
}
$signature = (Get-Content -Raw -LiteralPath $signaturePath).Trim()
$manifest = [ordered]@{
version = "${{ env.VERSION }}"
notes = "See CHANGELOG-PUBLIC.md"
pub_date = (Get-Date).ToUniversalTime().ToString("yyyy-MM-ddTHH:mm:ssZ")
platforms = [ordered]@{
"windows-x86_64" = [ordered]@{
signature = $signature
url = "https://github.com/${{ github.repository }}/releases/download/v${{ env.VERSION }}/CapKit_${{ env.VERSION }}_x64-setup.exe"
}
}
}
$latest = "latest.json"
[System.IO.File]::WriteAllText("$PWD/$latest", ($manifest | ConvertTo-Json -Depth 5), [System.Text.UTF8Encoding]::new($false))
gh release create "v${{ env.VERSION }}" $installer $checksum $signaturePath $latest --target "${{ github.sha }}" --title "CapKit ${{ env.VERSION }}" --notes-file notes.md

- name: Upload installer artifact
uses: actions/upload-artifact@v4
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ scripts
.gitignore
CHANGELOG.md
AGENTS.md
marketing/launch-video/out/
33 changes: 33 additions & 0 deletions CHANGELOG-PUBLIC.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,39 @@

User-facing changes only, grouped by date under Added / Improved / Fixed.

## Unreleased — 2026-11-19

### Added

- CapKit can update itself. It checks GitHub once when it starts, tells you when a new version is ready, and installs only when you click Install and restart. You can turn the check off in Settings → General.
- Copy any capture from the Screenshots page, and drag it straight into another app.
- Choose how the capture overlay appears: Dim and rise, Fade in, or Fade in and out.
- Capture toolbar groups open when you click them and remember the last tool you used in each group.

### Improved

- The capture toolbar is a single card, with the colour and size row only for tools that use them.
- Only one CapKit runs at a time; opening it again brings the existing window forward.
- Folder paths in Settings no longer start with `\\?\`.

## Earlier — 2026-10-29

### Added

- Pick a colour while selecting: press I to copy the colour under the pointer as a hex code, or Shift+I for RGB.
- Copy text from a capture. It's read on your PC with Windows' built-in text recognition, so nothing is uploaded.
- Find sensitive text: CapKit spots things like API keys, card numbers, emails and phone numbers in a capture, and you choose which to black out.
- Save & Showcase sends a capture straight to Showcase. Star a style there to apply it to every capture you send.
- Recordings can show the shortcuts you press and your clicks as on-screen labels. It's off by default, and CapKit never records what you type.
- Zoom can follow your typing, so typed text stays readable in recordings.
- Export a recording to fit under 25 MB or 10 MB, for places with upload limits.

### Improved

- Open at startup works in the Microsoft Store version, using Windows' own startup list.
- If you turned CapKit off in Windows' startup settings, CapKit's Settings now tells you so and opens the right Windows page to turn it back on.
- The Store version asks for camera and microphone access through Windows' standard prompts.

## 0.3.0 — 2026-09-28

### Fixed
Expand Down
1 change: 0 additions & 1 deletion apps/desktop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
"@hugeicons/core-free-icons": "4.2.3",
"@hugeicons/react": "1.1.9",
"@tauri-apps/api": "^2.11.1",
"@tauri-apps/plugin-autostart": "^2.5.1",
"@tauri-apps/plugin-dialog": "^2.7.1",
"@tauri-apps/plugin-global-shortcut": "^2.3.2",
"konva": "^10.3.0",
Expand Down
Loading
Loading