Zum Inhalt springen
Einträge
164
Quellen
3
Zuletzt aktualisiert

Folge jdx, um die Release Notes in deinen Feed zu holen.

Fnox von jdx

fnox 1.34.0: Keeper-Secrets-Manager-Provider und set --from-file

fnox 1.34.0 ergänzt einen schreibgeschützten Keeper-Secrets-Manager-Provider (keeper-sm) und fnox set --from-file und behebt Fehler bei dateibasierten Secrets, FIDO2-Abfragen und Shell-Integration.

This release adds a read-only Keeper Secrets Manager provider and delivers a batch of fixes to file-backed secrets, FIDO2 prompting, and shell integration.

Added

  • Keeper Secrets Manager provider (#720) -- @jdx. A new read-only keeper-sm provider backed by Keeper's official Rust SDK. Secret values use Keeper notation such as RECORD_UID/field/password. Authentication works from a JSON config file (KSM_CONFIG / FNOX_KEEPER_CONFIG, or the default ~/.keeper/ksm-config.json), with optional one-time-token bootstrap via KSM_TOKEN / FNOX_KEEPER_TOKEN (which must persist to a file-backed config). Batch reads redeem the token once and fetch concurrently, and Keeper environment variables are scrubbed from the proxy's ambient credentials.

    DB_PASSWORD = { provider = "keeper-sm", value = "RECORD_UID/field/password" }
    
  • fnox set --from-file <path> (#730) -- @jdx. Reads a secret value verbatim from a UTF-8 file without trimming, preserving trailing newlines. This fixes SSH private keys and similar as_file secrets losing their required final newline, which happened because fnox set trims stdin values and shell command substitution strips trailing newlines. The existing echo "x" | fnox set KEY behavior is unchanged; --from-file cannot be combined with a positional value.

    fnox set SSH_KEY --from-file ~/.ssh/id_ed25519
    

Fixed …

Originalquelle(öffnet in neuem Tab)Problem melden

Hk von jdx

hk 1.56.1: Wartungsrelease

hk 1.56.1 ist ein Wartungsrelease mit einem Layout-Fix der Dokumentationsseite und internen Abhängigkeits-Updates, ohne Verhaltensänderungen von hk.

A small maintenance release with a documentation-site layout fix and internal maintenance. There are no user-facing changes to hk's behavior.

Fixed

  • Documentation site layout (@jdx) #1213. Fixed a navbar layout jump when the docs announcement banner loads after hydration, enlarged the banner dismiss target for mobile, and prevented horizontal overflow of the homepage feature cards on narrow (~320px) screens.

Changed

  • Bumped the expr-lang dependency to v2.1.0 (@renovate) #1217, and reworked the CLI parsing internals (#1211). These are internal changes with no intended effect on existing configs or commands.

Full Changelog: https://github.com/jdx/hk/compare/v1.56.0...v1.56.1

💚 Sponsor hk

hk is maintained by @jdx, an open source developer for entire.io, the title sponsor of the jdx.dev open source tools including mise, aube, 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 jdx.dev. Sponsorships are what keep hk moving and the project independent.

Originalquelle(öffnet in neuem Tab)Problem melden

Mise von jdx

Mise 2026.8.11: Auto-Updates, Remote-Bootstrap und versionierte Lockfiles

Mise v2026.8.11 bringt optionale automatische Selbst-Updates, Remote-Bootstrap mit installiertem mise auf Zielhosts und versionierte Lockfiles mit mise lock --upgrade, ersetzt den CLI-Parser durch usage-rs, härtet den Umgang mit Remote-Git-Tasks und behebt viele Fehler.

This release adds opt-in automatic self-updates, lets remote bootstrap leave a working mise behind on each target, and introduces versioned lockfiles that bind each request to the version it resolved. It also replaces the CLI parser with usage-rs, hardens remote Git task handling, and fixes a wide range of tool-installation, task, and config edge cases.

Highlights

  • mise can now keep itself up to date and provision itself onto remote hosts, closing two long-standing gaps in unattended and remote workflows.
  • Lockfiles gained an explicit format version so overlapping loose and exact requests can pin distinct versions, with mise lock --upgrade for safe migration and no surprise drift for existing files.
  • The CLI parser moved from clap to usage-rs, and remote Git task paths are now contained against traversal, symlink, and Windows path escapes.

Added

  • self-update: New opt-in automatic updates. Enable auto_update (with auto_update_check_duration, default 7d) and mise will update itself before eligible interactive commands, then re-exec your original invocation with the new binary. Updates are throttled and lock-serialized, skipped in CI, offline, non-interactive, and shell-integration contexts, and failures never block the requested command. Package-managed builds are steered toward the official optimized binaries. (#12288 by @jdx)

    [settings]
    auto_update = true
    auto_update_check_duration = "7d" …
    

Originalquelle(öffnet in neuem Tab)Problem melden

Mise von jdx

Mise 2026.8.10: Remote-Bootstrap-Umgebungen und Fixes bei Asset-Erkennung

Mise v2026.8.10 erlaubt es beim Remote-Bootstrap, die geladenen mise.<env>.toml-Ebenen pro SSH-Ziel zu wählen, lässt symlink-each-Bäume aus mehreren Config-Roots zu, erkennt in mise doctor übrig gebliebene Windows-Update-Dateien und behebt Fehler bei Archivnamen, ZIP-Auswahl, aqua-Paketen, Homebrew-Casks und pacman.

This release lets remote bootstrap pick which config environments run on each target, fixes several tool-installation edge cases (archive naming, Windows ZIP preference, renamed aqua packages, Homebrew cask metadata), and hardens pacman package detection and Windows self-update cleanup.

Added

  • bootstrap: Remote bootstrap can now select which mise.<env>.toml layers load on each SSH target without inheriting the orchestrator's full environment. Set a default with [bootstrap.remote].mise_env, override per host in your inventory, or pass --remote-env (repeatable or comma-separated) on the command line. (#12182 by @jdx)

    [bootstrap.remote]
    mise_env = ["production"]
    
  • bootstrap: Independent config roots can now contribute symlink-each trees that share the same target directory, as long as their leaf paths are disjoint. Overlapping leaves and file/directory collisions still fail before any changes, reporting both declaring config origins. (#12190 by @jdx)

  • doctor: mise doctor now detects leftover Windows self-update helper files (__relocated__ / __selfdelete__ copies in TEMP) and reports their count and total size, noting that a subsequent mise self-update removes them. (#12205 by @JamBalaya56562)

Fixed …

Originalquelle(öffnet in neuem Tab)Problem melden

Hk von jdx

hk 1.56.0: Offline-Pkl-Auswertung und konfigurierbare Ausgabe

hk 1.56.0 ergänzt einen dauerhaften Pkl-Paket-Cache mit Offline-Modus (HK_PKL_CACHE_DIR, HK_PKL_OFFLINE), pinact-v4-Unterstützung mit pinact_v3-Alternativen, eine konfigurierbare Ausgabedatei für fehlgeschlagene Befehle und mehrere Fehlerbehebungen.

This release adds a persistent Pkl package cache with offline evaluation, pinact v4 support, a configurable failed-command output file, and a handful of fixes for binary files, builtin argument handling, worktrees, annotated tags, and step conditions.

Added

  • Persistent Pkl package cache and offline mode (@jdx) #1199. Pkl packages are now persisted (by default under the platform cache directory as pklr), so a package downloaded during any prior evaluation stays available even after hk's resolved-config cache is invalidated by a config edit, upgrade, or cache cleanup. This prevents local commits from being blocked when a registry is unreachable. Two new environment variables control the behavior: HK_PKL_CACHE_DIR overrides the cache location, and HK_PKL_OFFLINE=1 disables all network access, failing fast with the missing package URL and cache path instead of hitting the network. Both are read from the environment before hk.pkl is evaluated. Addresses discussion #1198.

  • pinact v3 and v4 builtins (@risu729) #1195. The pinact and pinact_update builtins now track the latest major version (currently v4.1.1) and use the v4-native --verify-comment flag. New pinact_v3 and pinact_update_v3 alternatives are available for projects still on pinact v3, without requiring changes to step names.

    // pinact v4 (default) …
    

Originalquelle(öffnet in neuem Tab)Problem melden

Fnox von jdx

fnox 1.33.1: Remote-Schlüsselnamen bleiben bei fnox set erhalten

fnox 1.33.1 behebt, dass fnox set den benutzerdefinierten Remote-Schlüsselnamen eines Secrets überschreibt, und überarbeitet dabei put_secret des HashiCorp-Vault-Providers.

A small patch release centered on a fix to fnox set so updates no longer clobber a secret's custom remote key name. The rest is routine dependency and CI maintenance.

Fixed

  • fnox set preserves an existing remote key name (#712) -- @jdx. When updating a remote-backed secret, fnox set previously resolved the remote key only from --key-name or the environment variable name, overwriting any custom value in your config and writing to the wrong backend object. Now it reuses the existing provider key when one is configured for the same provider, while --key-name still takes highest precedence and the environment key is used as a fallback when creating a secret or switching providers. Inherited parent-config secrets no longer steer a child override.

    As part of this fix, the HashiCorp Vault provider's put_secret was reworked to update individual fields via kv patch (preserving sibling fields), pass values through piped stdin so @ and - are treated literally, and correctly handle missing paths, concurrent writers, and soft-deleted KV v2 metadata.

Full Changelog: https://github.com/jdx/fnox/compare/v1.33.0...v1.33.1

💚 Sponsor fnox …

Originalquelle(öffnet in neuem Tab)Problem melden

Hk von jdx

hk 1.55.0: hk für Coding-Agenten mit MCP-Server und SARIF

hk 1.55.0 macht hk mit MCP-Server, Dashboard, maschinenlesbarer Ausgabe, SARIF-Export und hk agent-Snippets zu einem Werkzeug für Coding-Agenten und ergänzt ein Kingfisher-Builtin sowie zwei Bugfixes.

This release turns hk into a first-class tool for coding agents, adding an MCP server, an interactive dashboard, structured and machine-readable output, command effect safety, normalized diagnostics with SARIF export, and one-command integration snippets for popular agents and editors. It also adds a Kingfisher secret-scanner builtin and fixes a couple of file-selection and command-composition bugs.

Highlights

  • A complete agent-native workflow: drive hk from anywhere with --cd/--files0-from, get machine-readable results via --format json|jsonl, gate risky steps with --safe, export findings as SARIF, and expose everything to agents over MCP with a live dashboard.
  • New hk agent command tree prints ready-to-paste instruction, hook, and MCP setup snippets for Codex, Claude Code, Claude Desktop, and VS Code.

Added

  • MCP server for coding agents (@jdx) #1169. hk mcp [--root <path>] starts a STDIO-only Model Context Protocol server built on the official Rust MCP SDK. Agents can inspect projects, read effect-aware execution plans, run all-or-nothing safe checks and fixes, poll run lifecycle, cancel runs, and page through logs and captured diffs. Tools are constrained to canonical startup roots plus client-provided roots, with one active run per root and bounded output/run retention. There is no HTTP listener, hosted service, auth system, or unrestricted shell tool.

    hk mcp --root /path/to/project
    ``` …
    

Originalquelle(öffnet in neuem Tab)Problem melden

Fnox von jdx

fnox 1.33.0: Benutzerdefinierte Felder im Bitwarden-Provider

fnox 1.33.0 unterstützt im Bitwarden-Provider benutzerdefinierte Felder, auch mit Schrägstrichen im Namen, und verbessert die Dokumentation zur age-basierten Synchronisierung.

A small release that adds custom field support to the Bitwarden provider, plus a documentation cleanup for personal age-based sync. The rest of the release is routine dependency and CI maintenance.

Added

  • Bitwarden custom field support (#690) -- @jdx. In addition to the standard username, password, notes, uri, and totp fields, any other field name in a item/field reference is now resolved as a custom field. With the default bw backend, fnox fetches the full item JSON and extracts the matching field (case-sensitive); with the rbw backend it uses the --field flag.

    API_KEY = { provider = "bitwarden", value = "Database/API Key" }
    

Fixed

  • Bitwarden custom field names containing slashes (#693) -- @jdx. References now split only on the first /, so custom field names such as Database/API/Key resolve correctly. This also removes the previous "too many slashes" error for references with more than one /.

Documentation

  • Clarified personal age provider setup for sync (#692) -- @jdx. The sync guide now uses a dedicated sync-age provider with the --local-file flag, corrects the invalid fnox set --provider age setup step, explains how provider definitions replace by name rather than deep-merging, and distinguishes a personal sync cache from team-encrypted secrets in git. …

Originalquelle(öffnet in neuem Tab)Problem melden

Hk von jdx

hk 1.54.1: Fehlerbehebungen für Stashing, Ruff und Conventional Commits

hk 1.54.1 behebt Fehler beim Stashing (Formatter-Ausgaben gingen mit stage=false verloren), erkennt mit den Ruff-Builtins auch Python-Skripte ohne Dateiendung und korrigiert Konfigurationsfehlerbehandlung und Conventional-Commit-Prüfung.

A small patch release focused on bug fixes across stashing, builtins, config error handling, and conventional-commit validation.

Fixed

  • Fixer output preserved with stage=false / fail_on_fix=true (@jdx) #1145. When smart stashing was combined with disabled auto-staging, stash restoration used the post-hook index as the fixer side of its three-way merge. Since the fixer only touched the isolated worktree in that mode, restoration saw no change and silently discarded the formatter output. hk now uses worktree content as the fixer input, merges it with the user's saved unstaged edits, and leaves the original index untouched. Fixes discussion #1144.

  • Ruff builtins detect extensionless Python scripts (@jdx) #1147. The ruff and ruff_format builtins previously matched files only with **/*.py and **/*.pyi globs. They now select files using hk's Python type detection, so extensionless scripts with a Python shebang are linted and formatted alongside .py and .pyi files. Fixes discussion #1146. …

Originalquelle(öffnet in neuem Tab)Problem melden

Fnox von jdx

fnox 1.32.0: Credential-Proxy, exec --replace und Azure App Configuration

fnox 1.32.0 bringt einen zielbezogenen Credential-Proxy, exec --replace, einen Azure-App-Configuration-Provider und IAM-Rollenübernahme für AWS-Provider und korrigiert das Layering der globalen Konfiguration unter --config-Pfaden.

A feature-packed release adding a destination-scoped credential proxy, a process-replacement mode for exec, a new Azure App Configuration provider, and IAM role assumption for the AWS providers, plus a fix to how global config layers under explicit --config paths.

Highlights

  • New ways to keep real secrets out of workloads: a credential proxy that brokers HTTPS requests without exposing secret values, and an exec --replace mode for clean environment-only execution.
  • Broader cloud coverage: a read-only Azure App Configuration provider and cross-account IAM role assumption in the AWS providers.

Added

Credential proxy (#667) -- @jdx

A new [proxy] configuration and fnox proxy command let agent-style workloads call external APIs without ever receiving real secret values in their environment. fnox runs an ephemeral loopback TLS interception proxy that substitutes credentials into allowed request headers only for destinations that match your rules, and redacts reflected secret values from responses.

fnox proxy rules            # inspect the effective policy
fnox proxy run -- ./agent   # run a command through the local proxy
``` …

Originalquelle(öffnet in neuem Tab)Problem melden

Hk von jdx

hk 1.54.0: 17 % kleiner und bis zu 31 % schneller

hk 1.54.0 ist um 17 % kleiner und bis zu 31 % schneller beim Start, ergänzt eine optionale Fokussierung der Check-Diagnostics auf fehlgeschlagene Dateien, beschleunigt die Builtins mixed-line-ending und check-merge-conflict und behebt Störmeldungen in einigen Builtins.

17% smaller, up to 31% faster

Compared with v1.53.0, the published x86_64-unknown-linux-gnu release is substantially leaner and faster:

Measurement v1.53.0 v1.54.0 Improvement
Compressed archive 8.19 MB 7.06 MB 13.8% smaller
Extracted binary 22.01 MB 18.27 MB 17.0% smaller
Startup (--version) 2.21 ms 1.52 ms 31.2% faster
Builtins loading 2.31 ms 1.62 ms 29.8% faster
Config validation 3.69 ms 2.94 ms 20.3% faster
Representative check --all 14.62 ms 13.47 ms 7.8% faster

Measurements use the published release binaries with hermetic state, warm caches, shell overhead excluded, and execution pinned to one CPU. Real hook runs dominated by external linters will see a smaller overall percentage.


This release adds an opt-in way to focus detailed check diagnostics on only the files that actually failed, teaches hk's usage spec to declare each command's effect on the world, and speeds up the mixed-line-ending and check-merge-conflict builtins along with a new PGO/BOLT-optimized Linux release binary. It also fixes noise and false errors in a couple of builtins.

Added …

Originalquelle(öffnet in neuem Tab)Problem melden

Fnox von jdx

fnox 1.31.1: Wartung und Abhängigkeitsupdates

fnox 1.31.1 enthält ausschließlich Abhängigkeitsupdates und interne Tooling-Änderungen, darunter MSRV-bewusste Abhängigkeitsauflösung in Cargo.

A small maintenance release. There are no new features or bug fixes in v1.31.1 — it consists entirely of dependency updates and internal tooling changes.

Changed

  • Routine dependency bumps across the runtime and build stack, including tokio, rustls, clap, regex, toml_edit, keepass, google-cloud-secretmanager-v1, apple-native-keyring-store, and others, by @renovate.
  • Cargo now uses MSRV-aware dependency resolution (incompatible-rust-versions = "fallback") so updates prefer versions compatible with fnox's declared minimum Rust version, keeping the project buildable for distro and nixpkgs packagers (#627) -- @jdx.

Full Changelog: https://github.com/jdx/fnox/compare/v1.31.0...v1.31.1

💚 Sponsor fnox

fnox is maintained by @jdx, an open source developer for entire.io, the title sponsor of the jdx.dev open source tools including mise, aube, hk, and more. Keeping fnox secure, maintained, and free is funded by sponsors.

If fnox is handling secrets or config for you or your team, please consider sponsoring at jdx.dev. Sponsorships are what let fnox stay independent and the project keep moving.

Originalquelle(öffnet in neuem Tab)Problem melden

Hk von jdx

hk 1.53.0: Schnelleres Laden der Konfiguration, sichereres Stashing

hk 1.53.0 ergänzt das cargo_deny-Builtin, beschleunigt Konfigurationsauflösung und Hook-Läufe in großen Repos, behebt Hänger nach fehlgeschlagenen Abhängigkeiten sowie Stashing-Fehler und härtet Git-Aufrufe gegen Argument-Injection.

This release adds a cargo-deny builtin, meaningfully speeds up config resolution and hook runs in large repos, and fixes two correctness bugs around dependency graphs and stashing. It also hardens hk's Git invocations against argument injection.

Added

  • cargo_deny builtin (@risu729) #1081. Runs cargo-deny for Rust dependency policy checks (advisories, bans, licenses, sources). It triggers on Cargo.toml, Cargo.lock, and deny.toml/.deny.toml (including .cargo/ and exceptions variants), groups executions by Cargo workspace and runs from the workspace directory, and uses --locked so checks never create or update Cargo.lock.

    ["cargo_deny"] = Builtins.cargo_deny
    

Fixed

  • Dependents no longer hang after a failed dependency (@jdx) #1099. With fail_fast = false, a failed step returned without marking its dependency watch channel as done, so any step with depends on it waited forever and the run hung. The failed step now signals its dependents so they can proceed. fail_fast = true behavior is unchanged. Fixes discussion #1098. …

Originalquelle(öffnet in neuem Tab)Problem melden

Hk von jdx

hk 1.52.0: Monorepo-Subprojekte und Linting im Arbeitsverzeichnis

hk 1.52.0 unterstützt Monorepos mit verschachtelten subprojects-Konfigurationen und mise-Umgebungen pro Verzeichnis, ergänzt das Flag --unstaged für Änderungen im Arbeitsverzeichnis und behebt Fehler bei Branch-Guards, leeren Remotes und Conventional-Commit-Scopes.

This release brings hk to monorepos with nested subprojects configs and per-directory mise environments, adds a --unstaged flag for linting only working-tree changes, and ships a batch of correctness fixes for branch guards, empty remotes, and conventional commit scopes.

Added

  • subprojects for monorepos (@jdx) #1094. The root hk.pkl can list literal directories or globs, and each subproject's own hk.pkl is merged into the root run scoped to its directory. Step working directories and glob matching are relative to the subdirectory, flat step names are prefixed with <dir>: (e.g. packages/web:eslint) for --step/skip_steps, and a subproject's env applies only to its own steps. Paired with this, HK_MISE=1 now resolves mise env --json per step dir, so subproject-local tools land on PATH — including for structured argv commands.

    // hk.pkl (repo root)
    subprojects = List("frontend", "packages/*")
    
    // frontend/hk.pkl
    hooks {
      ["check"] {
        steps { ["eslint"] = (Builtins.eslint) { batch = true } }
      }
    }
    ``` …
    

Originalquelle(öffnet in neuem Tab)Problem melden

Fnox von jdx

fnox 1.31.0: Kombinierbare Profile als Overlay-Stack

fnox 1.31.0 erlaubt es, mehrere Profile gleichzeitig als geordneten Overlay-Stack zu aktivieren, und schlägt bei gesperrter Proton-Pass-Sitzung das Entsperren vor.

A small release headlined by composable multi-profile support, plus a friendlier Proton Pass error when your session is locked.

Added

Compose multiple active profiles (#605) -- @gaojunran

You can now activate more than one profile at a time as an ordered overlay stack. The top-level config is the base, and each profile is layered on top in order, with later profiles overriding earlier ones on key conflicts.

# Repeatable flags
fnox -P aws -P prod exec -- ./app

# Comma-separated
fnox -P aws,prod exec -- ./app

# Environment variable
FNOX_PROFILE=aws,prod fnox exec -- ./app

The effective config resolves as top-level config + profiles.aws + profiles.prod, and fnox.<profile>.toml files are loaded for each active profile in order. Write commands (set, remove, import, sync, provider add/remove) target the last active profile by default, and the full profile stack is factored into the daemon's request protocol, socket path, and cache key. Library users get a new with_profiles() builder.

Fixed

Proton Pass suggests unlocking a locked session (#612) -- @TyceHerrman …

Originalquelle(öffnet in neuem Tab)Problem melden

Hk von jdx

hk 1.51.0: Strukturiertes argv und ODER-Selektoren

hk 1.51.0 führt shell-freie argv-Befehle mit dateiweiser Argumentexpansion und match_any-Selektoren mit ODER-Logik ein und behebt Fehler bei --quiet/--silent, Hook-Argumenten, Index-Sperren und Linux-Argumentgrenzen.

Two configuration expansions land in this release: shell-free argv commands with per-file argument expansion, and match_any selectors that combine globs and types with OR semantics. Alongside them, correctness fixes for --quiet/--silent, config-based hook argument forwarding, transient index locks, and Linux argument-size limits.

Added

  • Structured argv commands (@jdx) #1067. A step's check/fix/check_list_files/check_diff can now be a Command with an explicit argv list that runs a binary via PATH without a shell. Standalone {{files}} and {{workspace_files}} entries expand to one argument per file (raw paths), so names with spaces or shell metacharacters are passed literally. Auto-batching, hk test, progress output, and fix suggestions all go through shared Command rendering, and many builtins (prettier, ruff, biome, ...) have moved to structured commands. Existing string and platform Script commands are unchanged; structured commands can't be combined with shell or prefix.

    check = new Command {
      argv = List("wc", "-c", "{{files}}")
    }
    ``` …
    

Originalquelle(öffnet in neuem Tab)Problem melden

Fnox von jdx

fnox 1.30.0: Paranoider Env-Modus und Proton-Pass-PAT-Authentifizierung

fnox 1.30.0 führt den Modus env = "exec" samt Top-Level-env-Standard ein, erweitert die Proton-Pass-Authentifizierung per PAT und bereinigt die Standardwerte von fnox export.

A focused release that hardens fnox's secret exposure model with an exec-only env mode, expands Proton Pass authentication for CI and agent use, and cleans up fnox export defaults.

Added

Exec-only env mode and top-level env default (#604) -- @jdx

The per-secret env field gains a new "exec" state, and a new top-level env sets the default for all secrets. This lets you keep secrets out of the interactive shell -- where AI coding agents and other inherited processes would see them -- while still injecting them into fnox exec subprocesses.

env shell integration / fnox export fnox exec fnox get
true (default) yes yes yes
"exec" (new) no yes yes
false no no yes

One line flips a project to default-deny:

env = "exec"   # nothing enters the interactive shell

[secrets]
DATABASE_URL = { provider = "age", value = "..." }               # exec-only (inherited)
PS1_TOKEN    = { provider = "age", value = "...", env = true }   # explicit opt-back-in
``` …

Originalquelle(öffnet in neuem Tab)Problem melden

Hk von jdx

hk 1.50.0: Gestagtes pre-commit überall

hk 1.50.0 sorgt dafür, dass hk run pre-commit auch ohne Stashing nur gestagte Dateien sieht, ergänzt das textlint-Builtin und einen inhaltsadressierten Config-Cache und übergibt bei global installierten Hooks --staged.

A cluster of pre-commit correctness fixes so hk run pre-commit (and installed hooks) really only see staged files, plus a textlint builtin, a content-addressed config cache, and a docs accuracy pass.

Added

  • textlint builtin (@smasato) #1036. Adds textlint as a batched natural-language linter for Markdown and plain text. check runs textlint {{ files }}, fix runs textlint --fix {{ files }}, and it auto-suggests when .textlintrc* or a "textlint" entry in package.json is present.

    ["textlint"] = Builtins.textlint
    

Fixed

  • Pre-commit is staged-only, even without stashing (@jdx) #1023. The default file selection for pre-commit steps now stays scoped to staged paths when stash = false, matching the "only what you're committing" expectation instead of also picking up unstaged and untracked matches.

  • Installed global pre-commit hooks pass --staged (@jdx) #1043. hk install --global now generates pre-commit hook commands as hk run pre-commit --from-hook --staged, so an env override like HK_STASH=git can't defeat a repo-level stash = "none" policy. Local config hooks and legacy .git/hooks/ shims are unchanged. Fixes discussion #1030. …

Originalquelle(öffnet in neuem Tab)Problem melden

Fnox von jdx

fnox 1.29.0: Age-Plugins und Nix-Flake

fnox 1.29.0 unterstützt im age-Provider nun age-Plugins (z. B. YubiKey, Apple Secure Enclave, TPM) für Empfänger und Identitäten und wird zusätzlich als Nix-Flake bereitgestellt.

A feature release focused on hardware-backed age encryption, more predictable path handling in config files, and faster GCP Secret Manager batches -- plus a Nix flake for the flake-curious.

Added

Age plugin recipients and identities (#569) -- @nightvisi0n

The age provider now supports age plugins, so hardware-backed and specialty recipients work end to end. That includes age-plugin-yubikey (YubiKey/PIV), age-plugin-se (Apple Secure Enclave), age-plugin-tpm, and friends.

Previously a plugin recipient like age1yubikey1... failed at config load with Failed to parse recipient ... incorrect HRP because the provider only understood native X25519 and SSH recipients. It now parses age::plugin::Recipient values, spawns the matching age-plugin-* binary for encryption, and attaches UiCallbacks to identity files so AGE-PLUGIN-* identities get PIN/touch prompts on decrypt.

Nix flake (#583) -- @o-az

fnox is now packaged as a Nix flake. Consume it from another flake:

inputs.fnox.url = "github:jdx/fnox";
# ...then reference inputs.fnox.packages.${system}.default

Or run it directly without installing:

nix run github:jdx/fnox

The flake also exposes a devShells.default with cargo, clippy, and rustfmt.

Fixed …

Originalquelle(öffnet in neuem Tab)Problem melden

Hk von jdx

Hk 1.49.0: Neue Builtins und Stash-Korrektur

Hk 1.49.0 ergänzt die Builtins rubocop_server und shellharden, erweitert die Projekterkennung des ryl-Builtins und behebt einen Drei-Wege-Merge-Fehler, bei dem Löschungen am Ende von Fixer-Ausgaben verloren gingen.

Three new builtin linters, tighter file matching for text-only hooks, and a three-way merge fix that stops fixer tail deletions from being dropped when a worktree edit overlaps their start.

Added

  • rubocop_server builtin (@andyw8) #995. A sibling of Builtins.rubocop that passes --server to check, check_list_files, and fix, running RuboCop as a long-lived daemon for much faster repeat invocations.

    ["rubocop"] = Builtins.rubocop_server
    
  • shellharden builtin (@hituzi-no-sippo) #996. Adds shellharden as a batched bash/sh linter. check runs shellharden --check (exit code 2 on suggested changes); fix runs shellharden --replace. Auto-suggested when *.sh or *.bash files are present.

  • More ryl project indicators (@hituzi-no-sippo) #998. The ryl builtin now also discovers configs at .config/.ryl.toml, .config/ryl.toml, and pyproject.toml (when it contains a [tool.ryl] table), matching ryl's own upward search. The bundled ryl tool stub bumps to 0.20.0.

Changed …

Originalquelle(öffnet in neuem Tab)Problem melden