i18next v26.5.3

v26.5.3
Fixed 1
  • With the selector API, a plural key now requires `count` even when the call passes an explicit `ns`, so `t(($) => $.item, { ns: 'items' })` no longer compiles without it

From i18next

  • fix(types): with the selector API, a plural key now requires count also when the call passes an explicit ns. t(($) => $.item) already failed without count, but t(($) => $.item, { ns: 'items' }) compiled, although at runtime it looks up item instead of item_one / item_other and returns the key. It now fails the same way, also with ordinal: true, defaultValue, an ns array, a key prefix and i18n.t. Calls with count, context, returnObjects: true and arrays of selectors, as well as return types, are unchanged. Thanks @nyarthan (#2452).
View original

Upgraded? How did it go?

Discussion