hl status and hl check skip node_modules, .git, and build output when they expand ** globs, so broad patterns run several times faster in large repos. hl run saves its lockfile atomically, and slow target writes no longer stall translation workers. hl extract now picks up react-intl v12 intl.$t(...) calls and typed <FormattedMessage<...>> JSX.
View the GitHub release · Full changelog
Breaking changes
**globs skipnode_modules,.git,.next,dist,build, andcoverage(#3344). A broad pattern likesrc/**/*.jsonno longer matches files undersrc/build/orsrc/dist/. To include one of those folders, name it as a literal segment in the pattern, for exampledist/**/en.jsonor**/build/en.json. This affectscheck,status,pack,sync, andrun.
Features
- Extract react-intl v12
$tcalls inhl extract.intl.$t({ id, defaultMessage })is treated likeformatMessage. Typed JSX such as<FormattedMessage<{ who: string }> id="..." />is also extracted; both were skipped silently before. Seeextract.
Fixes
- Save the lockfile atomically during
hl run. Saves write a temp file and rename it into place, so a Ctrl+C mid-save can no longer truncate the lockfile that resume depends on. Seerun. - Stop treating the
>of an arrow function type (() => void) as the end of a TypeScript type argument list inhl extract(#3498). - The update notice no longer blocks commands (#3344). The GitHub lookup starts with the command and is cached for 24 hours, including failed lookups, so offline machines don’t retry on every run. If a lookup is still running when the command ends, the CLI waits at most 300 ms. The notice is skipped when
CIis set or stderr isn’t a terminal, and prints as one line:hl update available: 1.14.0 → 1.15.0, run hl update.
Performance
- Skip dependency and build folders in
**globs. Measured in a web app with 8.2 GB ofnode_modules:statuswith**/lang/en-US.json1.46 s → 0.17 s;checkwith the same pattern 1.55 s → 0.33 s;statuson the real config 0.27 s → 0.15 s. Output is byte-for-byte the same as v1.14.0 on the configs tested. - Run
hl statussource files in parallel, sharingcheck’s per-run file cache, so each file is read and parsed once instead of once per locale. The CSV is sorted from one list and streamed; when a namespace/key/locale appears twice, the last entry still wins. Seestatus. - Write
hl runtarget files in the background. Target writes, and markdown parity retries that call the model, used to run on the lockfile writer and stall every worker. They now run at least 4 at once; a failed write rolls back only its own lockfile entries. Parity retries now count against the run’s translation limit. Mid-run lockfile saves write compact JSON in batches of 256; the final save still writes the indented file you commit. Benchmarks: 64 files at 0.5 ms per write 41.7 ms → 10.3 ms; a full 2k-key run 104 ms / 33.6 MB written → 86 ms / 23.7 MB.
Tests
- Glob skipping, including folders the pattern names.
- Update-check cache (fresh, stale, failed lookup), slow-lookup cutoff, and CI/terminal gate.
statusCSV keeps the last duplicate entry.- Each target is written once with 1, 3, and 16 workers; a failed write rolls back only its target; cancel waits for in-flight writes; lockfile atomicity and compact vs indented round-trip.
- react-intl
$tcalls, typedFormattedMessageJSX, and arrow function types inside type arguments. - New
make test-cli-racetarget;make testand CI now run the CLI under the race detector.
Maintenance
- Bump Go dependencies, including bubbletea to v2.2.0, bubbles to v2.2.2, lipgloss to v2.1.1, OpenAI Go to v3.108.0, Phrase Go to v4.41.0, AWS SDK for Go v2 (aws-sdk-go-v2 to v1.48.1, config to v1.33.22, S3 to v1.116.1), go-pdfium to v1.21.5, and
golang.org/x/netto v0.63.0 (#3363, #3378, #3405, #3434, #3453, #3486). - Bump the
google.golang.org/genprotoreplace tov0.0.0-20261123191846-1e707ab9fbc2(#3397, #3489).

