From a9e3013afe1feb26d63e37143f90a5b36e044d02 Mon Sep 17 00:00:00 2001 From: Jessey Fransen Date: Sun, 8 Nov 2026 21:36:37 +0100 Subject: [PATCH 1/2] release: prepare wallr 0.8.12 --- .github/workflows/ci.yml | 4 ++-- .github/workflows/publish.yml | 2 +- CHANGELOG.md | 14 ++++++++++++++ CONTRIBUTING.md | 19 +++++++++++++++++++ Cargo.lock | 6 +++--- Cargo.toml | 6 +++--- docs/architecture.md | 4 ++++ flake.nix | 2 +- wallr-common/README.md | 2 +- wallr-core/README.md | 2 +- 10 files changed, 49 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f3ae63a..559646b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -94,8 +94,8 @@ jobs: test "$crate_version" = "$VERSION" done grep -Fq "version = \"$VERSION\"" flake.nix - test "$VERSION" = "0.8.10" - grep -q "## \[0.8.10\]" CHANGELOG.md + test "$VERSION" = "0.8.12" + grep -q "## \[0.8.12\]" CHANGELOG.md msrv: name: MSRV (1.90) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index d24fc8e..b583b7f 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -6,7 +6,7 @@ on: version: description: 'Workspace version to publish' required: true - default: '0.8.10' + default: '0.8.12' type: string permissions: diff --git a/CHANGELOG.md b/CHANGELOG.md index d1f9800..7e5ff02 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,20 @@ All notable changes to Wallr are documented here. +## [0.8.12] - 2026-11-08 + +### fixed + +- static wallpaper commits are flushed to the Wayland compositor so saved + backgrounds appear on daemon startup without waiting for another event. +- release metadata, crate documentation, and Nix package version are aligned + with the release version. The v0.8.11 release failed tag verification because + its workspace version was still 0.8.10; no release binary was built. + +### docs + +- documented startup restoration and the release preparation checklist. + ## [0.8.10] - 2026-10-31 ### fixed diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 92a045b..a4e7c8f 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -40,6 +40,25 @@ New transitions usually require coordinated changes to the shader, effect type, uniform mapping, and tests. New theme providers need a runner and a `wallr doctor` availability check. +## preparing a release + +Prepare releases on a branch and open a pull request against `main`: + +1. Update the workspace version and internal dependency versions in + `Cargo.toml`, then regenerate `Cargo.lock` with `cargo check --workspace`. +2. Match the version in `flake.nix`, the crate README dependency examples, + the CI version checks, and the publish workflow's default version. +3. Add a dated `CHANGELOG.md` entry describing the user-visible changes. +4. Refresh Nix inputs with `nix flake update`, review `flake.lock`, and run + `nix flake check` and `nix build` on Linux. +5. Run the build and test checks above and merge the release pull request. +6. Create the release tag from the merged release commit. The tag must match + the Cargo workspace version and have a matching changelog entry; the release + workflow verifies these before building binaries. + +Keep failed release tags intact and prepare a new patch version when correcting +release metadata. Tagging an unprepared commit will fail release verification. + ## pull requests Use a short commit subject that describes the change. Summarize user-visible diff --git a/Cargo.lock b/Cargo.lock index 0499ebf..d3b08c0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1744,7 +1744,7 @@ checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" [[package]] name = "wallr" -version = "0.8.10" +version = "0.8.12" dependencies = [ "anyhow", "clap", @@ -1759,7 +1759,7 @@ dependencies = [ [[package]] name = "wallr-common" -version = "0.8.10" +version = "0.8.12" dependencies = [ "bytemuck", "clap", @@ -1770,7 +1770,7 @@ dependencies = [ [[package]] name = "wallr-core" -version = "0.8.10" +version = "0.8.12" dependencies = [ "anyhow", "bytemuck", diff --git a/Cargo.toml b/Cargo.toml index 70053c0..accad2f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ members = ["wallr", "wallr-common", "wallr-core"] resolver = "3" [workspace.package] -version = "0.8.10" +version = "0.8.12" edition = "2024" authors = ["Wallr Contributors"] license = "MIT" @@ -38,8 +38,8 @@ strip = false opt-level = 2 # Optimize dependencies even in dev mode [workspace.dependencies] -wallr-common = { path = "wallr-common", version = "0.8.10" } -wallr-core = { path = "wallr-core", version = "0.8.10" } +wallr-common = { path = "wallr-common", version = "0.8.12" } +wallr-core = { path = "wallr-core", version = "0.8.12" } # Core utilities anyhow = "1" diff --git a/docs/architecture.md b/docs/architecture.md index eb23305..35ffcc0 100644 --- a/docs/architecture.md +++ b/docs/architecture.md @@ -19,6 +19,10 @@ wallpapers use `wl_shm` when the surface protocol allows it; transitions, gif, video, and surfaces already using the gpu path use wgpu. Settled wallpapers do not run a frame loop. +Saved static wallpapers are restored on daemon startup. After committing a +shared-memory wallpaper buffer, the daemon flushes the Wayland connection so +the compositor receives it even when no further events wake the daemon. + ## images and transitions Static images without transitions use bounded `wl_shm` buffers. Fill images diff --git a/flake.nix b/flake.nix index 898fc05..a06667b 100644 --- a/flake.nix +++ b/flake.nix @@ -29,7 +29,7 @@ packages = { wallr = pkgs.rustPlatform.buildRustPackage { pname = "wallr"; - version = "0.8.10"; + version = "0.8.12"; src = self; cargoLock.lockFile = ./Cargo.lock; diff --git a/wallr-common/README.md b/wallr-common/README.md index 5bd8e1c..24369a1 100644 --- a/wallr-common/README.md +++ b/wallr-common/README.md @@ -5,7 +5,7 @@ does not depend on wayland, wgpu, or ffmpeg. ```toml [dependencies] -wallr-common = "0.8.10" +wallr-common = "0.8.12" ``` ## license diff --git a/wallr-core/README.md b/wallr-core/README.md index 1377ee4..f38d627 100644 --- a/wallr-core/README.md +++ b/wallr-core/README.md @@ -5,7 +5,7 @@ wgpu rendering, animated image and video playback, theme providers, and ipc. ```toml [dependencies] -wallr-core = "0.8.10" +wallr-core = "0.8.12" ``` The optional `static-ffmpeg` feature enables static ffmpeg linking when the From 52804835ccfa2363f93b5153a5c36c53eeb4258c Mon Sep 17 00:00:00 2001 From: Jessey Fransen Date: Sun, 8 Nov 2026 21:51:18 +0100 Subject: [PATCH 2/2] fix: serialize crate publishing and clarify release steps --- .github/workflows/publish.yml | 4 ++++ CONTRIBUTING.md | 19 +++++++++++++++---- 2 files changed, 19 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b583b7f..3e14eb4 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -12,6 +12,10 @@ on: permissions: contents: read +concurrency: + group: wallr-crates-publish + cancel-in-progress: false + jobs: publish: runs-on: ubuntu-latest diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a4e7c8f..ff27295 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -52,12 +52,23 @@ Prepare releases on a branch and open a pull request against `main`: 4. Refresh Nix inputs with `nix flake update`, review `flake.lock`, and run `nix flake check` and `nix build` on Linux. 5. Run the build and test checks above and merge the release pull request. -6. Create the release tag from the merged release commit. The tag must match - the Cargo workspace version and have a matching changelog entry; the release - workflow verifies these before building binaries. +6. Create and push a release tag from the merged release commit using + `v`, such as `v0.8.12`. The version must match the Cargo workspace + version and have a matching changelog entry; the release workflow verifies + these and that the checkout matches the tag before building binaries. +7. Dispatch the separate **Publish crates** workflow against the same release + tag and workspace version, for example: + + ```sh + gh workflow run publish.yml --ref v0.8.12 -f version=0.8.12 + ``` + + Verify that both workflows succeed. The tag-triggered release workflow + publishes GitHub release assets; it does not publish crates to crates.io. Keep failed release tags intact and prepare a new patch version when correcting -release metadata. Tagging an unprepared commit will fail release verification. +release metadata. The release workflow does not check every preparation step, +including the version in `flake.nix`. ## pull requests