# What changed in i18next-browser-languagedetector

> 6 changes in i18next-browser-languagedetector 4 to 8 from its official release notes, upgrade guides and advisories: 3 breaking. Each one cited. Sources checked 2026-10-27. HTML: https://unstale.sh/npm/i18next-browser-languagedetector/

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

## i18next-browser-languagedetector 8

### Behavior and default changes

- Detects language tags with script and region subtags in subdomains, while continuing to ignore other subdomains such as staging and preview deployment labels. (8.2.3) — [release notes](https://github.com/i18next/i18next-browser-languageDetector/blob/dbe4ee281972c57eba8464c4c8d7aa9476ba284c/CHANGELOG.md#823)

### Fixes and other changes

- Language segments containing digits are kept intact, so `/es-419/` and `#/es-419` detect `es-419`; segments starting with a digit still yield no language. (8.2.2) — [release notes](https://github.com/i18next/i18next-browser-languageDetector/blob/e66a3afc957eb85293022ab05ad67d609ec8e797/CHANGELOG.md#822)
- Adds the missing TypeScript definition for hash options, so developers can use them with type support. (8.2.1) — [release notes](https://github.com/i18next/i18next-browser-languageDetector/blob/6df69c76693eeb96bbd0c728a95ecc9253e5a41c/CHANGELOG.md#821)

## i18next-browser-languagedetector 4

### Breaking changes

- Bower support was removed. (4.0.0) — [release notes](https://github.com/i18next/i18next-browser-languageDetector/blob/HEAD/CHANGELOG.md)
- Distribution paths changed from dist/es to dist/esm and from dist/commonjs to dist/cjs; individual files became one bundled file. (4.0.0) — [release notes](https://github.com/i18next/i18next-browser-languageDetector/blob/HEAD/CHANGELOG.md)
- The deprecated jsnext:main field was removed from package.json. (4.0.0) — [release notes](https://github.com/i18next/i18next-browser-languageDetector/blob/HEAD/CHANGELOG.md)
