Sourced from i18next-cli's changelog.
1.50.1 - 2026-03-13
- Improve Non-JS/TS file support via
onLoadplugin hook (#217)
- A warning is emitted when a non-native extension is explicitly listed in the input glob patterns (e.g.
src/**/*.{ts,svelte}) but no plugin handled it, this helps catch forgotten or misconfigured plugins early1.50.0 - 2026-03-13
Added
- Non-JS/TS file support via
onLoadplugin hook (#217)
- Plugins can now return transformed JS/TS code from
onLoadfor any file type (e.g..svelte,.vue), and the extractor will parse it correctly using TSX syntax- Files with unsupported extensions that no plugin handles are now silently skipped instead of throwing an
ExtractorError- The
onLoadreturn type now explicitly allowsundefined(pass-through) in addition tostring, matching the documented behaviourFixed
Plugin.onLoadTypeScript signature corrected toMaybePromise<string | undefined>— returningundefinedto opt out of transformation was always the intended pattern but the type incorrectly disallowed it1.49.7 - 2026-03-12
- fix: sync and extract --ci produce inconsistent plural key ordering in JSON locale files #216
1.49.6 - 2026-03-10
- fix: sync clears locale-specific plural forms like _many in secondary locales, causing status to report missing translations #215
1.49.5 - 2026-03-10
- updated dependencies
f73d588
1.50.131fea64
A warning is emitted when a non-native extension is explicitly listed in
the ...18f7fd5
1.50.071f66a9
try to address #2176d56883
1.49.76ad888c
fix: sync and extract --ci produce inconsistent plural key ordering in
JSON l...7ac177c
fix test for windows54f8f93
1.49.606f4de0
fix: sync clears locale-specific plural forms like _many in secondary
locales...eb2b667
1.49.5