Tags: jdx/hk
Tags
chore: release v1.19.0 (#360) ## [1.19.0](https://github.com/jdx/hk/compare/v1.18.3..v1.19.0) - 2025-10-15 ### 🚀 Features - add nix flake compatibility by [@chadac](https://github.com/chadac) in [#361](#361) - update biome pkl builtins to use biome v2 flags by [@ic4l4s9c](https://github.com/ic4l4s9c) in [#366](#366) ### 🐛 Bug Fixes - add nix version to package metadata by [@chadac](https://github.com/chadac) in [#363](#363) - suppress stash probe stderr and preserve stash on restoration failure by [@jdx](https://github.com/jdx) in [#367](#367) ### 🔍 Other Changes - bump xx by [@jdx](https://github.com/jdx) in [#362](#362) ### New Contributors - @ic4l4s9c made their first contribution in [#366](#366) - @chadac made their first contribution in [#363](#363) <!-- CURSOR_SUMMARY --> --- > [!NOTE] > Release 1.19.0 with updated docs/templates, changelog, and dependency bumps. > > - **Release 1.19.0** > - Add `CHANGELOG.md` entry for `1.19.0` (features, fixes, other, contributors). > - Bump crate version in `Cargo.toml`, CLI spec `hk.usage.kdl`, and docs CLI version. > - **Docs** > - Update all Pkl import URLs from `v1.18.3` to `v1.19.0` across `docs/*`, examples, and `hk-example.pkl`. > - **CLI/Init** > - Update init template in `src/cli/init.rs` to reference `v1.19.0` Pkl URLs. > - Update version shown in `docs/cli/commands.json` and `docs/cli/index.md`. > - **Config** > - Refresh example/error message Pkl URL in `src/config.rs` to `v1.19.0`. > - **Dependencies** > - Update `Cargo.lock` with multiple crate bumps (e.g., `tokio 1.48.0`, `reqwest 0.12.24`, `regex 1.12.2`, `getrandom 0.3.4`, etc.) and minor cleanups. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 6699536. 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>
chore: release v1.18.3 (#359) ## [1.18.3](https://github.com/jdx/hk/compare/v1.18.2..v1.18.3) - 2025-10-07 ### 🐛 Bug Fixes - stash untracked files during partial stashes when HK_STASH_UNTRACKED=true by [@jdx](https://github.com/jdx) in [#357](#357) <!-- CURSOR_SUMMARY --> --- > [!NOTE] > Release 1.18.3 with bug fix for stashing untracked files during partial stashes and synchronized version/docs/templates plus minor dependency updates. > > - **Release/version bump** > - Set `hk` to `1.18.3` in `Cargo.toml`, `Cargo.lock`, `docs/cli/commands.json`, `docs/cli/index.md`, `hk.usage.kdl`. > - Update docs/examples to reference `v1.18.3` package URLs in `docs/**/*.md`, `docs/public/*.pkl`, `hk-example.pkl`, `hk.pkl` (comment), and `src/cli/init.rs` template. > - **Bug fix (changelog)** > - Document fix: stash untracked files during partial stashes when `HK_STASH_UNTRACKED=true` in `CHANGELOG.md`. > - **Code/messages** > - Update invalid module URI hint in `src/config.rs` to `v1.18.3` URL. > - **Dependencies/tooling** > - Bump `webpki-roots` to `1.0.3` in `Cargo.lock`. > - Add/update platform assets in `mise.lock` for `ruff`, `shellcheck`, `taplo`. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 30d0bb6. 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>
chore: release v1.18.2 (#356) ## [1.18.2](https://github.com/jdx/hk/compare/v1.18.1..v1.18.2) - 2025-10-06 ### 🐛 Bug Fixes - stage directive to include untracked files matching globs by [@jdx](https://github.com/jdx) in [#355](#355) <!-- CURSOR_SUMMARY --> --- > [!NOTE] > Bumps to v1.18.2 with a bug fix making `stage` include untracked files matching globs, and updates docs/CLI templates and references to the new version. > > - **Release 1.18.2** > - Bug fix: `stage` now includes untracked files matching globs (`CHANGELOG.md`). > - **Version bump and references** > - Update crate/version metadata to `1.18.2` (`Cargo.toml`, CLI usage/specs). > - Refresh docs/examples to use `v1.18.2` package URLs (`docs/**`, `hk-example.pkl`). > - Update init template and error hint to `v1.18.2` (`src/cli/init.rs`, `src/config.rs`). > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 69be2f2. 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>
chore: release v1.18.1 (#354) ## [1.18.1](https://github.com/jdx/hk/compare/v1.18.0..v1.18.1) - 2025-10-05 ### 🐛 Bug Fixes - prevent race condition when files are deleted between collection and execution by [@jdx](https://github.com/jdx) in [#353](#353) <!-- CURSOR_SUMMARY --> --- > [!NOTE] > Release 1.18.1 with a fix for a file-deletion race condition and synchronized version refs across code, docs, and CLI metadata. > > - **Release 1.18.1** > - **Bug Fix**: Prevent race when files are deleted between collection and execution (`CHANGELOG.md`). > - **Version Bump**: Update `1.18.0` → `1.18.1` in `Cargo.toml`, `Cargo.lock`, CLI specs (`docs/cli/commands.json`, `docs/cli/index.md`, `hk.usage.kdl`), docs and examples (`docs/*.md`, `docs/public/*.pkl`, `docs/reference/**`), templates (`hk-example.pkl`, `src/cli/init.rs`), project config (`hk.pkl` comment), and error/help text (`src/config.rs`). > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 90e8fcd. 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>
chore: release v1.18.0 (#351) ## [1.18.0](https://github.com/jdx/hk/compare/v1.17.0..v1.18.0) - 2025-10-05 ### 🚀 Features - add fix-smart-quotes util by [@joonas](https://github.com/joonas) in [#348](#348) ### 🐛 Bug Fixes - add Windows support by guarding Unix-specific file permission APIs by [@jdx](https://github.com/jdx) in [#349](#349) - handle missing files in update-version script by [@jdx](https://github.com/jdx) in [#350](#350) - rewrite update-version script to avoid pipefail issues by [@jdx](https://github.com/jdx) in [211b1ac](211b1ac) - run render before update-version in release script by [@jdx](https://github.com/jdx) in [35d2df3](35d2df3) - use [0-9] instead of \d in ripgrep pattern for better compatibility by [@jdx](https://github.com/jdx) in [cf8ebb0](cf8ebb0) - explicitly specify search path for ripgrep in update-version script by [@jdx](https://github.com/jdx) in [5666f96](5666f96) ### 🔍 Other Changes - add diagnostic output to update-version script by [@jdx](https://github.com/jdx) in [aaeea63](aaeea63) - add more file existence checks by [@jdx](https://github.com/jdx) in [cbace40](cbace40) - test rg pattern matching in CI environment by [@jdx](https://github.com/jdx) in [a52ea46](a52ea46) ### New Contributors - @joonas made their first contribution in [#348](#348) <!-- CURSOR_SUMMARY --> --- > [!NOTE] > Bumps hk to 1.18.0, updates docs/CLI/templates to new Pkl package URLs, and refreshes a dependency. > > - **Version bump**: > - Set crate/app version to `1.18.0` in `Cargo.toml`, `Cargo.lock` (package `hk`), `hk.usage.kdl`, `docs/cli/commands.json`, and `docs/cli/index.md`. > - **Docs/examples**: > - Update `amends`/`import` URLs from `v1.2.0` to `v1.18.0` across `docs/*`, `hk-example.pkl`, and example `.pkl` files. > - Add `CHANGELOG.md` entry for `1.18.0`. > - **CLI/templates**: > - Update init template in `src/cli/init.rs` to use `v1.18.0` URLs. > - Refresh error hint URL in `src/config.rs` to `v1.18.0`. > - **Dependencies**: > - Bump `flate2` to `1.1.4` in `Cargo.lock`. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit fc59481. 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>
chore: release v1.17.0 (#320) ## [1.17.0](https://github.com/jdx/hk/compare/v1.16.0..v1.17.0) - 2025-10-05 ### 🚀 Features - Add hk util trailing-whitespace command by [@jdx](https://github.com/jdx) in [#319](#319) - add mixed_line_ending builtin by [@jdx](https://github.com/jdx) in [#324](#324) - add check_symlinks builtin by [@jdx](https://github.com/jdx) in [#326](#326) - add check_executables_have_shebangs builtin by [@jdx](https://github.com/jdx) in [#325](#325) - Add check-merge-conflict util command and builtin by [@jdx](https://github.com/jdx) in [#322](#322) - add check_case_conflict builtin by [@jdx](https://github.com/jdx) in [#323](#323) - add detect_private_key builtin by [@jdx](https://github.com/jdx) in [#332](#332) - add check_added_large_files builtin by [@jdx](https://github.com/jdx) in [#329](#329) - add python_debug_statements builtin by [@jdx](https://github.com/jdx) in [#331](#331) - add python_check_ast builtin by [@jdx](https://github.com/jdx) in [#330](#330) - add no_commit_to_branch builtin by [@jdx](https://github.com/jdx) in [#333](#333) - add check_byte_order_marker and fix_byte_order_marker builtins by [@jdx](https://github.com/jdx) in [#328](#328) - add regex pattern support for glob and exclude by [@jdx](https://github.com/jdx) in [#336](#336) - automatically batch large file lists to prevent ARG_MAX errors by [@jdx](https://github.com/jdx) in [#338](#338) ### 🐛 Bug Fixes - Add validation for stage attribute requiring fix command by [@jdx](https://github.com/jdx) in [#327](#327) - display stderr when check_list_files returns empty list by [@jdx](https://github.com/jdx) in [#334](#334) - added new builtins to Builtins.pkl by [@jdx](https://github.com/jdx) in [b8a2b17](b8a2b17) - enable experimental settings in mise.toml for swift support by [@jdx](https://github.com/jdx) in [#342](#342) - correct airflow migration test to expect local imports by [@jdx](https://github.com/jdx) in [#343](#343) - make final CI check always run and fail if dependencies fail by [@jdx](https://github.com/jdx) in [#344](#344) - add ruff format to ruff builtin by [@jdx](https://github.com/jdx) in [#340](#340) ### 🚜 Refactor - Split util module into separate files by [@jdx](https://github.com/jdx) in [#321](#321) ### 🛡️ Security - migrate pre-commit by [@jdx](https://github.com/jdx) in [#318](#318) ### 🔍 Other Changes - split CI runs into parallel jobs and add docs-sync mise task by [@jdx](https://github.com/jdx) in [#337](#337) - remove v0 pkl files from docs/public by [@jdx](https://github.com/jdx) in [#341](#341) <!-- CURSOR_SUMMARY --> --- > [!NOTE] > Release 1.17.0 with new migrate command, many util subcommands, refreshed docs, and dependency updates. > > - **Version**: bump `hk` to `1.17.0` (Cargo.toml, usage specs, docs). > - **CLI**: > - **New Command**: `migrate pre-commit` with flags (`--config`, `--output`, `--force`, `--hk-pkl-root`). > - **Util Subcommands**: add `check-added-large-files`, `check-byte-order-marker`, `fix-byte-order-marker`, `check-case-conflict`, `check-executables-have-shebangs`, `check-merge-conflict`, `check-symlinks`, `detect-private-key`, `end-of-file-fixer`, `mixed-line-ending`, `no-commit-to-branch`, `python-check-ast`, `python-debug-statements`, `trailing-whitespace`. > - **Docs**: > - Update `docs/cli/index.md`, regenerate `docs/cli/commands.json`, and `hk.usage.kdl`. > - Split `util` docs into per-command pages and add `migrate` docs. > - **Dependencies**: update `Cargo.lock` crate versions and set `hk` crate version to `1.17.0`. > - **Changelog**: add `CHANGELOG.md` entry for `1.17.0` with features/bug fixes. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 75b972a. 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>
chore: release v1.16.0 (#314) ## [1.16.0](https://github.com/jdx/hk/compare/v1.15.7..v1.16.0) - 2025-10-02 ### 🚀 Features - add HK_STAGE setting to control automatic staging of fixed files by [@jdx](https://github.com/jdx) in [#313](#313) - suppress check output_summary when fixer runs with check_first by [@jdx](https://github.com/jdx) in [#315](#315) ### 🐛 Bug Fixes - --slow flag now properly enables slow profile by [@jdx](https://github.com/jdx) in [#317](#317) ### 📚 Documentation - Update getting_started.md by [@jdx](https://github.com/jdx) in [a8c1a35](a8c1a35) ### 🔍 Other Changes - Update getting_started.md by [@jdx](https://github.com/jdx) in [58c0564](58c0564) <!-- CURSOR_SUMMARY --> --- > [!NOTE] > Release v1.16.0 with new staging control, output suppression tweak, a --slow flag fix, docs update, and version/dependency bumps. > > - **Release `1.16.0`** > - **Features**: add `HK_STAGE` setting; suppress `check` output_summary when fixer runs with `check_first`. > - **Bug Fix**: `--slow` flag now enables the `slow` profile. > - **Docs**: update `getting_started.md`. > - **Versioning**: bump crate to `1.16.0` in `Cargo.toml`; update CLI version in `docs/cli/commands.json`, `docs/cli/index.md`, and `hk.usage.kdl`. > - **Dependencies**: update crates in `Cargo.lock` (e.g., `anstyle`, `deflate64`, `owo-colors`, `quote`, `rustls-webpki`, `typenum`, `usage-lib`, `zeroize`). > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit bffe2fc. 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>
chore: release v1.15.7 (#311) ## [1.15.7](https://github.com/jdx/hk/compare/v1.15.6..v1.15.7) - 2025-09-29 ### 🐛 Bug Fixes - preserve unstaged content and trailing newlines in git stash operations by [@jdx](https://github.com/jdx) in [#310](#310) - issue with files being staged that were fixer did not modify by [@jdx](https://github.com/jdx) in [#312](#312) <!-- CURSOR_SUMMARY --> --- > [!NOTE] > Release 1.15.7 with bug fixes to git stash handling and staging behavior; bump crate/docs versions and update dependencies. > > - **Release: 1.15.7** > - Update crate version to `1.15.7` in `Cargo.toml` and docs (`docs/cli/index.md`, `docs/cli/commands.json`, `hk.usage.kdl`). > - **Changelog**: Add `1.15.7` entry with bug fixes for git stash preservation and unintended staging. > - **Dependencies**: > - Refresh `Cargo.lock` with multiple crate updates (e.g., `thiserror 2.0.17`, `serde 1.0.228`, `tokio-rustls 0.26.4`, `gimli 0.32.3`, `object 0.37.3`, `windows-*` crates, etc.). > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 87decd9. 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>
chore: release v1.15.6 (#305) ## [1.15.6](https://github.com/jdx/hk/compare/v1.15.5..v1.15.6) - 2025-09-25 ### 🐛 Bug Fixes - issue with generated file staging by [@jdx](https://github.com/jdx) in [#307](#307) Co-authored-by: mise-en-dev <123107610+mise-en-dev@users.noreply.github.com>
chore: release v1.15.5 (#303) ## [1.15.5](https://github.com/jdx/hk/compare/v1.15.4..v1.15.5) - 2025-09-22 ### 🐛 Bug Fixes - ensure stash cleanup by [@jdx](https://github.com/jdx) in [#302](#302) Co-authored-by: mise-en-dev <123107610+mise-en-dev@users.noreply.github.com>
PreviousNext