Skip to content

Releases: mathematic-inc/if-changed

v0.3.6

Choose a tag to compare

@jrandolf jrandolf released this 04 Jul 06:55
1f1515f

0.3.6 (2026-07-04)

Bug Fixes

  • Check deleted file pragmas (b94a9c8)

What's Changed

Full Changelog: v0.3.5...v0.3.6

v0.3.5

Choose a tag to compare

@jrandolf jrandolf released this 04 Jul 06:40
e7ccdda

0.3.5 (2026-07-04)

Bug Fixes

  • deps: Update rust crate git2 to 0.21.0 (#340) (f1923da)
  • Skip deleted diff paths (580e945)

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...
Read more

v0.3.4

Choose a tag to compare

@jrandolf jrandolf released this 11 Mar 01:03
c6136b0

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

  • git2 updated to 0.20.0 — this release patches a security vulnerability in the underlying libgit2 bindings. If you're running if-changed against untrusted repositories or in shared CI environments, this upgrade is especially important. (#274)

🛠 Improvements

  • CI release pipeline hardened — fixed a missing toolchain input in the rust-toolchain steps, ensuring the release workflow builds with the correct pinned Rust version every time. (#277)

Install / Upgrade

cargo install if-changed

Already 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-changed is 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

Choose a tag to compare

@jrandolf jrandolf released this 11 Mar 01:00
8810e08

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

  • git2 updated to 0.20.0 — this dependency received a security advisory and has been patched immediately. If you run if-changed in environments where git operations touch untrusted repositories, upgrading to this release is strongly recommended.

🐛 Bug Fixes

  • Release pipeline repaired — a missing toolchain input in the rust-toolchain steps 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.yml workflow, 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.0 SPDX expression has been narrowed to Apache-2.0 only, removing any ambiguity for downstream consumers and tooling.
  • Dependency freshnessclap, 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-changed

Or, 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-changed is 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. 💙

v0.3.2

Choose a tag to compare

@release-please release-please released this 13 Jun 01:43
7b333cd

0.3.2 (2024-06-13)

Bug Fixes

  • deps: Update cargo (#29) (c5b6b82)
  • deps: Update rust crate clap to v4.5.5 (#69) (8eb3430)
  • deps: Update rust crate clap to v4.5.6 (#70) (23a0547)
  • deps: Update rust crate clap to v4.5.7 (#78) (16382d0)

v0.3.1

Choose a tag to compare

@release-please release-please released this 21 Apr 17:24
b4ba543

0.3.1 (2024-04-21)

Bug Fixes

v0.3.0

Choose a tag to compare

@release-please release-please released this 20 Apr 13:54
8a78810

0.3.0 (2024-04-20)

⚠ BREAKING CHANGES

  • reverse pattern matching

Features

  • Reverse pattern matching (7d09224)

v0.2.0

Choose a tag to compare

@release-please release-please released this 19 Apr 14:28
f12634e

0.2.0 (2024-04-19)

⚠ BREAKING CHANGES

  • allow pathspec for files

Features

  • Allow pathspec for files (5df28a6)

Bug Fixes

v0.1.0

Choose a tag to compare

@release-please release-please released this 19 Apr 01:33
3e8c31f

0.1.0 (2024-04-19)

Features