Releases: mathematic-inc/if-changed
Release list
v0.3.6
v0.3.5
0.3.5 (2026-07-04)
Bug Fixes
What's Changed
- chore(deps): update swatinem/rust-cache action to v2.9.0 by @renovate[bot] in #279
- chore(deps): update github-actions by @renovate[bot] in #280
- chore(deps): update rust crate clap to v4.5.61 by @renovate[bot] in #281
- chore(deps): update rust crate clap to v4.6.0 by @renovate[bot] in #282
- chore(deps): update anthropics/claude-code-action digest to cd77b50 by @renovate[bot] in #283
- chore(deps): update github-actions by @renovate[bot] in #284
- chore(deps): update github-actions by @renovate[bot] in #285
- chore(deps): update softprops/action-gh-release action to v2.5.3 by @renovate[bot] in #286
- chore(deps): update softprops/action-gh-release action to v2.6.0 by @renovate[bot] in #287
- chore(deps): update github-actions by @renovate[bot] in #288
- chore(deps): update anthropics/claude-code-action digest to 1b422b3 by @renovate[bot] in #289
- chore(deps): update anthropics/claude-code-action digest to 1ba15be by @renovate[bot] in #290
- chore(deps): update anthropics/claude-code-action digest to df37d2f by @renovate[bot] in #291
- chore(deps): update anthropics/claude-code-action digest to 6062f37 by @renovate[bot] in #292
- chore(deps): update anthropics/claude-code-action digest to ff9acae by @renovate[bot] in #293
- chore(deps): update rust-lang/crates-io-auth-action action to v1.0.4 by @renovate[bot] in #294
- chore(deps): update anthropics/claude-code-action digest to 0ee1bee by @renovate[bot] in #295
- chore(deps): update anthropics/claude-code-action digest to 3ac52d0 by @renovate[bot] in #296
- chore(deps): update dtolnay/rust-toolchain digest to 631a55b by @renovate[bot] in #297
- chore(deps): update anthropics/claude-code-action digest to 094bd24 by @renovate[bot] in #298
- chore(deps): update rust crate insta to v1.47.0 by @renovate[bot] in #299
- chore(deps): update dtolnay/rust-toolchain digest to 29eef33 by @renovate[bot] in #300
- chore(deps): update anthropics/claude-code-action digest to e7b588b by @renovate[bot] in #301
- chore(deps): update anthropics/claude-code-action digest to 88c168b by @renovate[bot] in #302
- chore(deps): update rust crate insta to v1.47.1 by @renovate[bot] in #303
- chore(deps): update rust crate insta to v1.47.2 by @renovate[bot] in #304
- chore(deps): update anthropics/claude-code-action digest to bee87b3 by @renovate[bot] in #305
- chore(deps): update anthropics/claude-code-action digest to 408a40e by @renovate[bot] in #306
- chore(deps): update anthropics/claude-code-action digest to 58dbe8e by @renovate[bot] in #307
- chore(deps): update anthropics/claude-code-action digest to ba026a3 by @renovate[bot] in #308
- chore(deps): update anthropics/claude-code-action digest to 0432df8 by @renovate[bot] in #309
- chore(deps): update anthropics/claude-code-action digest to 1eddb33 by @renovate[bot] in #310
- chore(deps): update anthropics/claude-code-action digest to 6e2bd52 by @renovate[bot] in #311
- chore(deps): update anthropics/claude-code-action digest to 26ddc35 by @renovate[bot] in #312
- chore(deps): update anthropics/claude-code-action digest to 2ff1acb by @renovate[bot] in #313
- chore(deps): update anthropics/claude-code-action digest to 657fb7c by @renovate[bot] in #314
- chore(deps): update anthropics/claude-code-action digest to b47fd72 by @renovate[bot] in #315
- chore(deps): update github-actions by @renovate[bot] in #316
- chore(deps): update github-actions to v3 (major) by @renovate[bot] in #317
- chore(deps): update googleapis/release-please-action digest to 5c625bf by @renovate[bot] in #318
- chore(deps): update anthropics/claude-code-action digest to 1c8b699 by @renovate[bot] in #319
- chore(deps): update anthropics/claude-code-action digest to 5fb8995 by @renovate[bot] in #320
- chore(deps): update anthropics/claude-code-action digest to 905d4eb by @renovate[bot] in #321
- chore(deps): update rust crate clap to v4.6.1 by @renovate[bot] in #322
- chore(deps): update anthropics/claude-code-action digest to 931e620 by @renovate[bot] in #323
- chore(deps): update anthropics/claude-code-action digest to c3d45e8 by @renovate[bot] in #324
- chore(deps): update anthropics/claude-code-action digest to 0d2971c by @renovate[bot] in #325
- chore(deps): update anthropics/claude-code-action digest to 38ec876 by @renovate[bot] in #326
- chore(deps): update anthropics/claude-code-action digest to 5d5c10a by @renovate[bot] in #327
- chore(deps): update anthropics/claude-code-action digest to 4e5d8b1 by @renovate[bot] in #328
- chore(deps): update googleapis/release-please-action action to v5 by @renovate[bot] in #329
- chore(deps): update anthropics/claude-code-action digest to b4d6741 by @renovate[bot] in #330
- chore(deps): update anthropics/claude-code-action digest to e58dfa5 by @renovate[bot] in #331
- chore(deps): update anthropics/claude-code-action digest to 2da6cfa by @renovate[bot] in #332
- chore(deps): update anthropics/claude-code-action digest to 567fe95 by @renovate[bot] in #333
- chore(deps): update anthropics/claude-code-action digest to 11a9dad by @renovate[bot] in #334
- chore(deps): update anthropics/claude-code-action digest to 476e359 by @renovate[bot] in #335
- chore(deps): update anthropics/claude-code-action digest to dde2242 by @renovate[bot] in #336
- chore(deps): update anthropics/claude-code-action digest to f4fb5c6 by @renovate[bot] in #337
- chore(deps): update anthropics/claude-code-action digest to 86eb26b by @renovate[bot] in #338
- chore(deps): update anthropics/claude-code-action digest to 51ea8ea by @renovate[bot] in #339
- fix(deps): update rust crate git2 to 0.21.0 by @renovate[bot] in #340
- chore(deps): update anthropics/claude-code-action digest to 2449274 by @renovate[bot] in #342
- chore(deps): update anthropics/claude-code-action digest to 1dc994e by @renovate[bot] in #343
- chore(deps): update anthropics/claude-code-action digest to 20c8abf by @renovate[bot] in #344
- chore(deps): update anthropics/claude-code-action digest to c9d66af by @renovate[bot] in #345
- chore(deps): update anthropics/claude-code-action digest to 661a6fe by @renovate[bot] in #346
- chore(deps): update anthropics/claude-code-action digest to 4481e6d by @renovate[bot] in #347
- chore(deps): updat...
v0.3.4
if-changed v0.3.4
v0.3.4 is a security patch release — short, sharp, and important. If you're using if-changed in CI pipelines or developer machines, upgrade now to pick up a patched dependency and a more reliable release pipeline. No API changes, no migration needed — just drop it in.
🔒 Security Fixes
git2updated to 0.20.0 — this release patches a security vulnerability in the underlyinglibgit2bindings. If you're runningif-changedagainst untrusted repositories or in shared CI environments, this upgrade is especially important. (#274)
🛠 Improvements
- CI release pipeline hardened — fixed a missing
toolchaininput in therust-toolchainsteps, ensuring the release workflow builds with the correct pinned Rust version every time. (#277)
Install / Upgrade
cargo install if-changedAlready using if-changed with pre-commit? Bump the rev in your .pre-commit-config.yaml:
repos:
- repo: https://github.com/mathematic-inc/if-changed
rev: v0.3.4
hooks:
- id: if-changed
if-changedis free and open-source software by a 501(c)(3) non-profit. If it saves you time in your build pipeline, consider sponsoring the project. Every bit helps!
v0.3.3
if-changed v0.3.3
v0.3.3 is a focused maintenance release that keeps if-changed safe, clean, and reliable — patching a security vulnerability in a core dependency, clarifying the project's license, and overhauling the CI/release pipeline so future releases ship smoothly. No API changes, no migration needed; just drop it in and you're good to go.
🔒 Security Fixes
git2updated to 0.20.0 — this dependency received a security advisory and has been patched immediately. If you runif-changedin environments where git operations touch untrusted repositories, upgrading to this release is strongly recommended.
🐛 Bug Fixes
- Release pipeline repaired — a missing
toolchaininput in therust-toolchainsteps was causing release builds to misbehave; that's now fixed so binaries are built with the correct toolchain going forward. - CI workflows overhauled — the GitHub Actions setup was rewritten from scratch: leaner job definitions, a new dedicated
release.ymlworkflow, automated release-please integration, and cleaner separation of CI vs. publish concerns. Fewer moving parts, fewer surprises.
⚡ Improvements
- License simplified to Apache-2.0 — the previous dual
MIT OR Apache-2.0SPDX expression has been narrowed toApache-2.0only, removing any ambiguity for downstream consumers and tooling. - Dependency freshness —
clap,serde,tempfile,bstr, and a raft of GitHub Actions are all up to date, keeping the supply chain tidy and auditable.
📦 Install
cargo install if-changedOr, to use the latest version with pre-commit, update your .pre-commit-config.yaml:
repos:
- repo: https://github.com/mathematic-inc/if-changed
rev: v0.3.3
hooks:
- id: if-changed
if-changedis free and open-source work by a 501(c)(3) non-profit. If it saves you time in your build pipelines, please consider sponsoring the project. 💙