unstale

npm / i18next-resources-to-backend

i18next-resources-to-backend

What changed in i18next-resources-to-backend 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.

1 breaking1 new APIs and options3 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

i18next-resources-to-backend 15 changes

Breaking changes 1

  • Validates language and namespace before passing them to the loader, rejecting unsafe values to prevent crafted paths from escaping the locales directory and to protect static-resource lookup.

    1.2.2release notes

New APIs and options 1

  • The backend declares its callback calling convention with callbackApi, so i18next calls read and create with a callback and passes create its options; debug mode no longer logs the deprecation notice. Older i18next versions ignore it.

    1.2.4release notes

Fixes and other changes 3

  • A loader without a callback calls the i18next callback only once; errors from that callback now reach the app instead of marking the loaded namespace as failed.

    1.3.0release notes

  • Empty language strings are allowed again, restoring behavior rejected since 1.2.2.

    1.2.3release notes

  • Empty namespace strings are allowed again, restoring behavior rejected since 1.2.2.

    1.2.3release notes