Merged
Conversation
Contributor
Author
|
Note the |
Owner
|
Bugbot run |
Merged
jdx
added a commit
that referenced
this pull request
Jan 6, 2026
## [1.29.0](https://github.com/jdx/hk/compare/v1.28.0..v1.29.0) - 2026-01-06 ### 🚀 Features - **(ghalint)** add ghalint config to hk builtin config by [@hituzi-no-sippo](https://github.com/hituzi-no-sippo) in [#551](#551) - **(pinact)** add pinact config to hk builtin config by [@hituzi-no-sippo](https://github.com/hituzi-no-sippo) in [#552](#552) - **(pkl)** add pkl file type by [@hituzi-no-sippo](https://github.com/hituzi-no-sippo) in [#571](#571) - **(stylua)** use check_diff instead of check command by [@hituzi-no-sippo](https://github.com/hituzi-no-sippo) in [#563](#563) - **(vale)** add vale config to hk builtin config by [@hituzi-no-sippo](https://github.com/hituzi-no-sippo) in [#554](#554) - **(zizmor)** add zizmor config to hk builtin config by [@hituzi-no-sippo](https://github.com/hituzi-no-sippo) in [#550](#550) - add rumdl config to hk builtin config by [@hituzi-no-sippo](https://github.com/hituzi-no-sippo) in [#541](#541) - add selene config to hk builtin config by [@hituzi-no-sippo](https://github.com/hituzi-no-sippo) in [#544](#544) - Add `fix` to `cargo_check` builtin (running `cargo fix`) by [@thejcannon](https://github.com/thejcannon) in [#555](#555) - Lua file type support by [@hituzi-no-sippo](https://github.com/hituzi-no-sippo) in [#558](#558) - add editorconfig-checker config to hk builtin config by [@hituzi-no-sippo](https://github.com/hituzi-no-sippo) in [#557](#557) - add ryl config to hk builtin config by [@hituzi-no-sippo](https://github.com/hituzi-no-sippo) in [#543](#543) - add buf_format builtin using buf cli by [@joonas](https://github.com/joonas) in [#565](#565) - add buf_lint builtin using buf cli by [@joonas](https://github.com/joonas) in [#562](#562) - apply check_diff output directly using git apply by [@jdx](https://github.com/jdx) in [#561](#561) ### 🐛 Bug Fixes - **(ci)** pre-install nightly toolchain for cargo_check tests by [@joonas](https://github.com/joonas) in [#567](#567) - **(rubocop)** fix rubocop fix command by [@hituzi-no-sippo](https://github.com/hituzi-no-sippo) in [#572](#572) - Fix the `jq` builtin by [@thejcannon](https://github.com/thejcannon) in [#533](#533) - Fix the `rg` command in the tasks by [@thejcannon](https://github.com/thejcannon) in [#534](#534) - Make `settings.toml` and `Config.pkl` agree on keys by [@thejcannon](https://github.com/thejcannon) in [#539](#539) - Add `check_list_files` to `cargo_fmt` builtin by [@thejcannon](https://github.com/thejcannon) in [#542](#542) - Remove `jq`'s `check` command by [@thejcannon](https://github.com/thejcannon) in [#549](#549) ### 🚜 Refactor - **(ruby)** use types instead of glob for Ruby builtins by [@hituzi-no-sippo](https://github.com/hituzi-no-sippo) in [#564](#564) - Simplify RunType/CheckType by [@thejcannon](https://github.com/thejcannon) in [#547](#547) ### 📚 Documentation - **(config)** fix indentations in `workspace_indicator` example by [@hituzi-no-sippo](https://github.com/hituzi-no-sippo) in [#573](#573) ### 🧪 Testing - Add `actionlint` test by [@thejcannon](https://github.com/thejcannon) in [#537](#537) - shfmt by [@thejcannon](https://github.com/thejcannon) in [#538](#538) - Clean up some `check_` builtin tests by [@thejcannon](https://github.com/thejcannon) in [#536](#536) - Test `rustfmt` and `cargo_format` by [@thejcannon](https://github.com/thejcannon) in [#540](#540) - Add tests to the mypy builtin by [@thejcannon](https://github.com/thejcannon) in [#560](#560) - Add tests to the isort builtin by [@thejcannon](https://github.com/thejcannon) in [#559](#559) ### 📦️ Dependency Updates - update anthropics/claude-code-action digest to 7145c3e by [@renovate[bot]](https://github.com/renovate[bot]) in [#545](#545) - update rust crate serde_json to v1.0.147 by [@renovate[bot]](https://github.com/renovate[bot]) in [#546](#546) - update rust crate serde_json to v1.0.148 by [@renovate[bot]](https://github.com/renovate[bot]) in [#569](#569) - update rust crate tracing to v0.1.44 by [@renovate[bot]](https://github.com/renovate[bot]) in [#570](#570) <!-- CURSOR_SUMMARY --> --- > [!NOTE] > Releases `v1.29.0` and syncs version references across the project. > > - Add `1.29.0` entry to `CHANGELOG.md` > - Update version to `1.29.0` in `Cargo.toml`, `hk.usage.kdl`, CLI docs (`docs/cli/index.md`, `docs/cli/commands.json`), and examples > - Replace Pkl `amends`/`import` URLs to `v1.29.0` in docs and sample configs (e.g., `docs/*.md`, `docs/public/*.pkl`, `hk-example.pkl`, `hk.pkl`) > - Update init template and error help to reference `v1.29.0` (`src/cli/init.rs`, `src/config.rs`) > - Refresh `Cargo.lock` with minor dependency bumps > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit e23a13c. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY --> Co-authored-by: mise-en-dev <123107610+mise-en-dev@users.noreply.github.com>
tmeijn
pushed a commit
to tmeijn/dotfiles
that referenced
this pull request
Jan 9, 2026
This MR contains the following updates: | Package | Update | Change | |---|---|---| | [hk](https://github.com/jdx/hk) | minor | `1.28.0` → `1.29.0` | MR created with the help of [el-capitano/tools/renovate-bot](https://gitlab.com/el-capitano/tools/renovate-bot). **Proposed changes to behavior should be submitted there as MRs.** --- ### Release Notes <details> <summary>jdx/hk (hk)</summary> ### [`v1.29.0`](https://github.com/jdx/hk/blob/HEAD/CHANGELOG.md#1290---2026-01-06) [Compare Source](jdx/hk@v1.28.0...v1.29.0) ##### 🚀 Features - **(ghalint)** add ghalint config to hk builtin config by [@​hituzi-no-sippo](https://github.com/hituzi-no-sippo) in [#​551](jdx/hk#551) - **(pinact)** add pinact config to hk builtin config by [@​hituzi-no-sippo](https://github.com/hituzi-no-sippo) in [#​552](jdx/hk#552) - **(pkl)** add pkl file type by [@​hituzi-no-sippo](https://github.com/hituzi-no-sippo) in [#​571](jdx/hk#571) - **(stylua)** use check\_diff instead of check command by [@​hituzi-no-sippo](https://github.com/hituzi-no-sippo) in [#​563](jdx/hk#563) - **(vale)** add vale config to hk builtin config by [@​hituzi-no-sippo](https://github.com/hituzi-no-sippo) in [#​554](jdx/hk#554) - **(zizmor)** add zizmor config to hk builtin config by [@​hituzi-no-sippo](https://github.com/hituzi-no-sippo) in [#​550](jdx/hk#550) - add rumdl config to hk builtin config by [@​hituzi-no-sippo](https://github.com/hituzi-no-sippo) in [#​541](jdx/hk#541) - add selene config to hk builtin config by [@​hituzi-no-sippo](https://github.com/hituzi-no-sippo) in [#​544](jdx/hk#544) - Add `fix` to `cargo_check` builtin (running `cargo fix`) by [@​thejcannon](https://github.com/thejcannon) in [#​555](jdx/hk#555) - Lua file type support by [@​hituzi-no-sippo](https://github.com/hituzi-no-sippo) in [#​558](jdx/hk#558) - add editorconfig-checker config to hk builtin config by [@​hituzi-no-sippo](https://github.com/hituzi-no-sippo) in [#​557](jdx/hk#557) - add ryl config to hk builtin config by [@​hituzi-no-sippo](https://github.com/hituzi-no-sippo) in [#​543](jdx/hk#543) - add buf\_format builtin using buf cli by [@​joonas](https://github.com/joonas) in [#​565](jdx/hk#565) - add buf\_lint builtin using buf cli by [@​joonas](https://github.com/joonas) in [#​562](jdx/hk#562) - apply check\_diff output directly using git apply by [@​jdx](https://github.com/jdx) in [#​561](jdx/hk#561) ##### 🐛 Bug Fixes - **(ci)** pre-install nightly toolchain for cargo\_check tests by [@​joonas](https://github.com/joonas) in [#​567](jdx/hk#567) - **(rubocop)** fix rubocop fix command by [@​hituzi-no-sippo](https://github.com/hituzi-no-sippo) in [#​572](jdx/hk#572) - Fix the `jq` builtin by [@​thejcannon](https://github.com/thejcannon) in [#​533](jdx/hk#533) - Fix the `rg` command in the tasks by [@​thejcannon](https://github.com/thejcannon) in [#​534](jdx/hk#534) - Make `settings.toml` and `Config.pkl` agree on keys by [@​thejcannon](https://github.com/thejcannon) in [#​539](jdx/hk#539) - Add `check_list_files` to `cargo_fmt` builtin by [@​thejcannon](https://github.com/thejcannon) in [#​542](jdx/hk#542) - Remove `jq`'s `check` command by [@​thejcannon](https://github.com/thejcannon) in [#​549](jdx/hk#549) ##### 🚜 Refactor - **(ruby)** use types instead of glob for Ruby builtins by [@​hituzi-no-sippo](https://github.com/hituzi-no-sippo) in [#​564](jdx/hk#564) - Simplify RunType/CheckType by [@​thejcannon](https://github.com/thejcannon) in [#​547](jdx/hk#547) ##### 📚 Documentation - **(config)** fix indentations in `workspace_indicator` example by [@​hituzi-no-sippo](https://github.com/hituzi-no-sippo) in [#​573](jdx/hk#573) ##### 🧪 Testing - Add `actionlint` test by [@​thejcannon](https://github.com/thejcannon) in [#​537](jdx/hk#537) - shfmt by [@​thejcannon](https://github.com/thejcannon) in [#​538](jdx/hk#538) - Clean up some `check_` builtin tests by [@​thejcannon](https://github.com/thejcannon) in [#​536](jdx/hk#536) - Test `rustfmt` and `cargo_format` by [@​thejcannon](https://github.com/thejcannon) in [#​540](jdx/hk#540) - Add tests to the mypy builtin by [@​thejcannon](https://github.com/thejcannon) in [#​560](jdx/hk#560) - Add tests to the isort builtin by [@​thejcannon](https://github.com/thejcannon) in [#​559](jdx/hk#559) ##### 📦️ Dependency Updates - update anthropics/claude-code-action digest to [`7145c3e`](jdx/hk@7145c3e) by [@​renovate\[bot\]](https://github.com/renovate\[bot]) in [#​545](jdx/hk#545) - update rust crate serde\_json to v1.0.147 by [@​renovate\[bot\]](https://github.com/renovate\[bot]) in [#​546](jdx/hk#546) - update rust crate serde\_json to v1.0.148 by [@​renovate\[bot\]](https://github.com/renovate\[bot]) in [#​569](jdx/hk#569) - update rust crate tracing to v0.1.44 by [@​renovate\[bot\]](https://github.com/renovate\[bot]) in [#​570](jdx/hk#570) - lock file maintenance by [@​renovate\[bot\]](https://github.com/renovate\[bot]) in [#​553](jdx/hk#553) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this MR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box --- This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi43NS4xIiwidXBkYXRlZEluVmVyIjoiNDIuNzUuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiUmVub3ZhdGUgQm90IiwiYXV0b21hdGlvbjpib3QtYXV0aG9yZWQiLCJkZXBlbmRlbmN5LXR5cGU6Om1pbm9yIl19-->
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The usage of
RunTypeandCheckTypewas confusing to me. For instance, we may be running thecheck_diffcommand but be inrun_type == RunType::Check(CheckType::Check)(if we're runninghk check ...).Instead simplify by making it one toggle:
RunTypewhich matches whether we're checking or fixing. Here's how that shakes out:StepJob.check_firstis true if the job should (and hans't already) runcheck_firstStep.run) compare against therun_cmd(E.g.run_cmd == self.check_diff.as_ref()run_cmdintorun_cmdandcheck_first_run_cmdso we can have different hierarchiesOverall, this should hopefully simplify things a bit, since I have some more refactors I'd like to pursue in this space.
Changed Behavior:
hk testnow preferscheckovercheck_diff(before it had those swapped)Note
Streamlines execution by removing
CheckTypeand using a singleRunTypetoggle across the codebase.RunType::Check(CheckType)withRunType::{Check, Fix}; removeCheckTypecheck_first_cmd()andhas_command_for();run_cmd()now falls back (e.g.,Fixcan runcheckif nofix)has_command_for()and simplifiedRunTypeinhook.rs,step.rs, andstep_job.rscheck_firstflow: temporarily switch job toCheck, parse outputs, reset state, and avoid double-running summariesrun_cmdtocheck_list_files/check_diffinstead of enum matchingRunTypedirectly; behavior change:hk testpreferscheckovercheck_diff-vintest/git.bats)Written by Cursor Bugbot for commit 7d3202b. This will update automatically on new commits. Configure here.