Compare Versions - next-intl
npm / next-intl / Compare Versions
→
4.7.0 (2026-01-01)
Improvements for useExtracted
- Only run extraction for
next devandnext build(not e.g. fornext typegen) - Include line numbers for file references in
.pofiles - Incorporate line numbers into sorting of messages within a single file (if you're using the default
.poformat)
4.5.8 (2025-12-03)
Bug fixes for useExtracted
- Append newline with
.jsonformatter foruseExtracted(https://github.com/amannn/next-intl/pull/2148 by @amannn) - Handle multiple calls to
useExtracted&getExtracted(https://github.com/amannn/next-intl/pull/2149 by @amannn) - Avoid conflict with existing
useTranslationsimport foruseExtracted(https://github.com/amannn/next-intl/pull/2150 by @amannn)
4.5.6 (2025-11-27)
Bug fixes for useExtracted
- Handle race condition when detecting locale changes which could lead to reset of messages with
useExtracted(https://github.com/amannn/next-intl/pull/2131 – by @amannn) - Don't depend on environment locale for sorting of keys with
useExtracted(https://github.com/amannn/next-intl/pull/2134 – by @amannn) - Retain .po flags for
useExtractedand updatepo-parserto fix encoding (https://github.com/amannn/next-intl/pull/2128 – by @amannn)
Changes
- Bump peer dependency for Next.js 16
- Update examples for Next.js 16
- Update docs to cover
proxy.ts
🌐 learn.next-intl.dev has been updated for Next.js 16 as well (changelog)
#2054 by @amannn
4.3.7 (2025-09-09)
Bug Fixes
- Avoid
usePathnameinconsistency in Next.js leading to a hydration error with custom prefixes,localePrefix: 'always'and static rendering (#2012) (bc9cb62), closes #2011 vercel/next.js#73085 #1571 – by @hugotiger
4.0.0 (2025-03-12)
See the announcement.
3.22.0 (2024-10-21)
→ See blog post: next-intl 3.22: Incrementally moving forward
Features
- feat:
createNavigation(#1316) - feat: Add async
requestLocaleparam togetRequestConfigfor Next.js 15 support (#1383) - feat: Add
localeCookieoption for middleware (#1414) - feat: Add
setRequestLocale(#1437)
Fixes
- fix: When using
domains, handle unknown domains more gracefully (#1389)
Deprecations
3.21.1 (2024-10-09)
Bug Fixes
- Repair package publishing workflow (this release doesn't include any library changes) (ceba9ae) – by @amannn
3.15.2 (2024-06-19)
Note: Version bump only for package root
3.15.1 (2024-06-19)
Bug Fixes
- Remove
@formatjs/ecma402-abstractdependency in favor of the automatically bundled one fromintl-messageformat(https://github.com/amannn/next-intl/pull/1141) – by @amannn