v0.1.4
Full release notes: https://releases.i18nprune.dev/search?q=0.1.4
Summary
Patch release for the CLI and Core SDK — cleanup defaults to static scan with opt-in ripgrep guard, multi-target prune, grep-friendly log flags, locale suggestions, report HTML in core, D.1 dynamic summaries, extractor hardening, and placeholder sentinel fixes.
Changes
- Cleanup defaults to static scan; ripgrep guard is opt-in via
--rg(--no-rgremoved). - Multi-target
cleanup --target <code[,code]|all>with per-locale UX and JSONtargetLocales[]/targets[]. - Global
--no-color,--no-log-channel, and--no-log-prefixfor grep-friendly CI logs. - Locale suggestion engine surfaces
data.suggestions[]on validate, missing, cleanup, and sync JSON. renderReportHtmlexported from@i18nprune/corewith packaged report SPA in dist.- D.1 human summaries show
dynamic=activewith optionalcommented=M; core addsdynamicSitesActiveCount/dynamicSitesCommentedCount. locales dynamicshows template detail and grouped dynamic-key sites.- Extractor E.1–E.6 mixed-template hardening and T.1 placeholder sentinel hardening for generate/resume.
Installation
CLI
npm install -g i18nprune@0.1.4Core SDK
npm install @i18nprune/core@0.1.4Breaking Changes
Cleanup --no-rg removed
The cleanup flag:
- cleanup --no-rg
+ (omit flag — static scan is already the default)Or pass --rg when you want the ripgrep string-presence guard.
This affects:
- npm scripts and CI pipelines that passed
--no-rg - Shell wrappers and Makefile targets around
i18nprune cleanup
Not breaking: --json envelopes, issue codes, and exit codes are unchanged (parity policy). D.1 and locale suggestion fields are additive on JSON.
Migration
npm install -g i18nprune@0.1.4
npm install @i18nprune/core@0.1.4- Remove
--no-rgfrom cleanup scripts; use default static scan or pass--rg. - Pin
@i18nprune/core@0.1.4when mixing SDK + CLI. - CI grep-friendly logs:
i18nprune validate --no-color --no-log-prefix --no-log-channelorNO_COLOR=1. - SDK parsers: optional
data.suggestions[]on validate, missing, cleanup, sync. - Hosts embedding report UI: prefer
renderReportHtmlfrom core.
Full Changelog: v0.1.3...v0.1.4