A small patch release focused on two HK_PKL_BACKEND=pklr rough edges: edits to hk.pkl are now picked up immediately, and loading Builtins.pkl no longer spams deprecation warnings on every run.
Fixed
-
hk.pkledits are now picked up underHK_PKL_BACKEND=pklr(@jdx) #879. The two pkl backends return different things fromanalyze_imports— thepklCLI happens to include the source file inresolvedImports, butpklronly returns transitiveimportURIs. As a result, withpklrthe mainhk.pklwas missing from the config cache'sfresh_files, so edits didn't invalidate the cache andhkkept reusing the staleConfiguntil you ranhk cache clear. The main config path is now always added tofresh_files. Fixes #877. -
No more
pklrdeprecation warnings on everyBuiltins.pklload (@jdx) #880. Previously, every invocation underHK_PKL_BACKEND=pklrprinted:[pklr] WARNING: property 'check_byte_order_marker' is deprecated [pklr] WARNING: property 'fix_byte_order_marker' is deprecated…even when your
hk.pkldidn't reference those aliases. This release bumpspklrto 0.4.2 (which evaluates@Deprecatedlazily, on field access) and reworksBuiltins.pklso its own internal bindings no longer touch the deprecated aliases at load time. The migration nudge still fires if you explicitly referenceBuiltins.check_byte_order_markerorBuiltins.fix_byte_order_marker. Fixes #878. -
Mobile docs banner layout (@jdx) #865, #867. At
<=640px, the banner now stacks the message and "Read more" link vertically, with the close button pinned to the top-right corner instead of floating in the middle of the taller stacked layout.
Documentation
- The VitePress site nav now surfaces the current release version (parsed from
Cargo.toml) and a GitHub star counter, matching the mise and aube docs (@jdx) #872.
Full Changelog: v1.44.1...v1.44.2
💚 Sponsor hk
hk is developed by @jdx at en.dev — a small independent studio behind developer tools like mise, aube, hk, and more. Work on hk is funded by sponsorships.
If hk has sped up your pre-commit loop or made linting feel less painful, please consider sponsoring at en.dev. Sponsorships are what keep hk moving and the project independent.