From adfa6b936a0876cbaf79528fe6f9f6d839e2b417 Mon Sep 17 00:00:00 2001 From: Inky Quill Date: Sun, 19 Apr 2026 11:01:09 +0300 Subject: [PATCH 1/2] fix(release): pin cargo-dist matrix to available runner images cargo-dist 0.22.1's built-in runner matrix hard-codes ubuntu-20.04, macos-13, and windows-2019. All three are retired or deprecated GitHub runner images, so the release workflow matrix was hanging forever on v1.1.0, queued against runners that GitHub no longer provisions. The fix is the same one the sibling sel project applied: add a [workspace.metadata.dist.github-custom-runners] block pinning each target to a current runner (macos-14 for both apple triples, ubuntu-24.04 and its -arm variant for linux, windows-2022 for MSVC). aarch64-unknown-linux-gnu uses the native ARM runner rather than x86_64 cross-compile, avoiding the 'incompatible with elf64-x86-64' link failure that comes from cargo-dist 0.22.1's missing packages_install entry for that target. --- Cargo.toml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index feb5fe3..2201f76 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -81,3 +81,22 @@ install-updater = false # hand-edited to append a crates.io publish job (cargo-dist 0.22 doesn't # generate one natively). allow-dirty = ["ci"] + +# Override cargo-dist 0.22.1's hard-coded matrix runners. The upstream +# defaults (ubuntu-20.04, macos-13, windows-2019) are all retired or +# deprecated GitHub runner images, so the release matrix hangs forever +# waiting for runners that no longer exist. Same fix the sibling `sel` +# project applied. +# +# Note aarch64-unknown-linux-gnu uses the native ARM runner +# (`ubuntu-24.04-arm`) rather than cross-compiling from x86_64. +# cargo-dist 0.22.1 emits no `packages_install` entry for that target, +# so without `gcc-aarch64-linux-gnu` on the runner the cross-link fails +# with "incompatible with elf64-x86-64". Building natively sidesteps +# the whole class of toolchain mismatch. +[workspace.metadata.dist.github-custom-runners] +aarch64-apple-darwin = "macos-14" +x86_64-apple-darwin = "macos-14" +aarch64-unknown-linux-gnu = "ubuntu-24.04-arm" +x86_64-unknown-linux-gnu = "ubuntu-24.04" +x86_64-pc-windows-msvc = "windows-2022" From 88cb035f4dd8c9c55f86ef6001fe86666ecc7617 Mon Sep 17 00:00:00 2001 From: Inky Quill Date: Sun, 19 Apr 2026 11:35:48 +0300 Subject: [PATCH 2/2] chore: release v1.2.0 Bumps the package version and brings the CHANGELOG up to date with every user-visible commit since v1.1.0: the Claude-skill install path, gzip-compressed backups, the scaffolding cleanup, and the matrix runner fix in this same commit series. Bundled with the runner fix so that merging this PR both unblocks the release pipeline and immediately cuts v1.2.0 through it (the release-plz `release` job detects the new Cargo.toml version and pushes the tag, which fires cargo-dist's release.yml with the now-working runner matrix). --- CHANGELOG.md | 13 +++++++++++++ Cargo.lock | 2 +- Cargo.toml | 2 +- 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3e93042..3aed056 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,19 @@ All notable changes to SedX are documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.2.0] — 2026-04-19 + +### Added +- Claude Code skill `prefer-sedx-over-sed` with one-liner installer (`contrib/claude-skill/`) +- Gzip-compressed backups (~5× smaller on typical text) with backward-compatible restore of legacy uncompressed backups +- `make check-windows` target + wiring into `make check-ci` for local Windows cross-lint + +### Changed +- Removed scaffolding that doesn't fit a Rust CLI: `Dockerfile`, `.dockerignore`, `justfile` (Makefile is the sole build runner), `scripts/package.sh` (cargo-dist owns this), `docs/ROADMAP.md` + `docs/PRODUCTION_ROADMAP.md` (stale pre-1.0 docs), `TEST_SUITE_SUMMARY.txt` + +### Fixed +- Release workflow matrix hung forever on v1.1.0 waiting for retired GitHub runner images (ubuntu-20.04, macos-13, windows-2019); pinned cargo-dist matrix to current runners in `[workspace.metadata.dist.github-custom-runners]` + ## [1.1.0] — 2026-04-19 ### Added diff --git a/Cargo.lock b/Cargo.lock index 794e51d..551ef1b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -730,7 +730,7 @@ dependencies = [ [[package]] name = "sedx" -version = "1.1.0" +version = "1.2.0" dependencies = [ "anyhow", "assert_cmd", diff --git a/Cargo.toml b/Cargo.toml index 960d64a..98e876e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sedx" -version = "1.1.0" +version = "1.2.0" edition = "2024" description = "A safe, modern replacement for GNU sed with automatic backups, preview mode, and rollback" authors = ["InkyQuill "]