# What changed in i18next-resources-to-backend

> 5 changes in i18next-resources-to-backend 1 from its official release notes, upgrade guides and advisories: 1 breaking, 1 new APIs and options. Each one cited. Sources checked 2026-11-30. HTML: https://unstale.sh/npm/i18next-resources-to-backend/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## i18next-resources-to-backend 1

### Breaking changes

- 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.2) — [release notes](https://github.com/i18next/i18next-resources-to-backend/blob/7eece7d4d8b46b5c3b139bbfd2f805b3e6c72888/CHANGELOG.md#122)

### New APIs and options

- 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.4) — [release notes](https://github.com/i18next/i18next-resources-to-backend/blob/45f6694da90e5ce04700c50e7f08794a6e87da92/CHANGELOG.md#124)

### Fixes and other changes

- 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.0) — [release notes](https://github.com/i18next/i18next-resources-to-backend/blob/d1bc0e1a0f6cd8e9121bbe4e36140e18fca8073b/CHANGELOG.md#130)
- Empty language strings are allowed again, restoring behavior rejected since 1.2.2. (1.2.3) — [release notes](https://github.com/i18next/i18next-resources-to-backend/blob/7eece7d4d8b46b5c3b139bbfd2f805b3e6c72888/CHANGELOG.md#123)
- Empty namespace strings are allowed again, restoring behavior rejected since 1.2.2. (1.2.3) — [release notes](https://github.com/i18next/i18next-resources-to-backend/blob/7eece7d4d8b46b5c3b139bbfd2f805b3e6c72888/CHANGELOG.md#123)
