Sourced from i18next-cli's changelog.
1.93.1
- fix(extract): keys named like
Object.prototypemembers (constructor,toString,valueOf,page.constructor.title) are written like any other key instead of being dropped, written flat or reported as a nesting conflict, and a__proto__key no longer writes toObject.prototype(#334, thanks@zzoraemon043).1.93.0
- feat(extract): the
setupplugin hook receives the plugin context (config,logger), aslintSetupandinstrumentSetupdo, so a plugin can read the i18next-cli config (locales,extractoptions) instead of taking the same options again. Plugins whosesetuptakes no argument keep working. Fixes #333.1.92.0
- fix(lint): a non-JS/TS file (
.astro,.vue,.svelte, …) is linted the wayextractreads it. What a plugin'slintOnLoadreturns for it is parsed as TSX, so a plugin can hand the linter TypeScript and JSX; before, it was parsed as plain JavaScript. A file no plugin returns code for is skipped, with the same warningextractgives when its extension is inextract.input, instead of failing with a syntax error. With i18next-cli-plugin-astro,lintnow checks.astrofiles.- feat:
Linteris exported from the package root, as the README's Advanced Usage section shows. It is anEventEmitter, so the example now listens withlinter.on('progress', …).- feat(instrument): the i18n init file it creates for a browser app picks the browser's language:
lngfromnavigator.language, matched againstsupportedLngs(the config'slocales), sode-DEshows German. Before,lngwas a comment and the app showedfallbackLngonly.- fix(instrument): a generated key no longer starts with a number (
© 2026 Ledgerly. All rights reserved.becomesledgerlyAllRightsReserved) and says a word once when a placeholder is named like the word next to it (You have {unpaid} unpaid invoices.becomesyouHaveUnpaidInvoices).
67a597b
1.93.11c765ad
changelog for 1.93.1e6b7c22
fix(extract): no false nesting conflict or dropped key for
Object.prototype n...d8dd469
fix(extract): do not resolve keys to Object.prototype members (#334)1579a4f
1.93.08bf1a73
changelog for 1.93.027a8a9d
feat(extract): pass the plugin context to the setup hook (#333)6a7abbb
1.92.087aba48
changelog for 1.92.080fb137
fix(instrument): no number at the start of a generated key, no doubled
word a...