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
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,16 @@ on:
version:
description: 'Workspace version to publish'
required: true
default: '0.8.10'
default: '0.8.12'
Comment thread
sourcery-ai[bot] marked this conversation as resolved.
Resolved
type: string

permissions:
contents: read

concurrency:
group: wallr-crates-publish
cancel-in-progress: false

jobs:
publish:
runs-on: ubuntu-latest
Expand Down
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
30 changes: 30 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,36 @@ 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 and push a release tag from the merged release commit using
`v<version>`, 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. The release workflow does not check every preparation step,
including the version in `flake.nix`.

## pull requests

Use a short commit subject that describes the change. Summarize user-visible
Expand Down
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down
4 changes: 4 additions & 0 deletions docs/architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion wallr-common/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion wallr-core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading