Sourced from i18next-cli's changelog.
1.53.2 - 2026-04-14
- Add
localeandnamespacefields to theTranslationResultobject passed to theafterSyncplugin hook, so plugins no longer need to reverse-engineer these values from the file path. Relates to #237.1.53.1 - 2026-04-14
- Fix selector API with dynamic bracket notation (e.g.
t(($) => $.table.columns[field])) incorrectly treating keys as unused and removing them during extraction. Dynamic bracket expressions are now resolved via the expression resolver, and function parameter type annotations (e.g.field: "name" | "age") are captured so the resolver can enumerate all possible key values. Fixes #234.1.53.0 - 2026-04-14
- Add optional
types.basePathconfiguration to support nested namespaces in TypeScript type generation. When set, namespaces are derived from the file's path relative tobasePathinstead of just the filename, solocales/en/dashboard/user.jsonproduces namespace"dashboard/user"instead of"user". WhenbasePathis omitted, existing behavior is preserved. Contributed by@​camerondubasin #236.- Add a warning when
types.basePathis misconfigured and translation files fall outside the specified base directory.- Use the internal logger instead of
console.warnfor warnings in the type generator.1.52.1 - 2026-04-13
- Fix
extract --sync-all --trust-derivedresetting secondary locale values to empty strings even when the trusted derived default was already in sync in the primary locale. Secondary translations are now only cleared when the primary locale would actually be updated by the sync. Follow-up to #235.1.52.0 - 2026-04-13
- Add
extract --trust-derivedas an opt-in companion to--sync-primaryand--sync-all. When enabled, the extractor also trusts default values inferred from keys, including plain key-as-text usage such ast('Hello world')andkeyPrefix-derived values, while preserving the existing strict sync behavior by default. Follows up on #235.1.51.9 - 2026-04-13
... (truncated)
8c44aaa
1.53.29b74f0b
Add locale and namespace fields to the
TranslationResult object #237f6de82e
1.53.1d7c9895
improve fix for #234e6480b0
1.53.0145a3a8
release: feat(types): support nested namespaces in type generation #23654f474f
feat(types): support nested namespaces in type generation (#236)6e3f9d7
1.52.1810a724
fix --trust-derived #235b898c55
1.52.0