@verbaly/next 0.80.0 → 0.81.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
|
|
12
12
|
---
|
|
13
13
|
|
|
14
|
-
Server Components render already translated in the visitor's language (
|
|
14
|
+
Server Components render already translated in the visitor's language (the address first when your URLs carry it, then the cookie, then `Accept-Language`, then your fallback) and Client Components hydrate with the **same locale and the same catalog**: no flash of untranslated text, no hydration mismatch. Each request gets its **own instance** (React `cache()`): no locale leaking between concurrent users.
|
|
15
15
|
|
|
16
16
|
Works with **Turbopack** (the Next 16 default) and webpack: the config wrapper generates the runtime module as real files and wires the `t`-template compiler as a loader for both. The loader rewrites exactly the files `verbaly extract` reads (your config's `include` and `exclude`), so a code sample in a file outside them keeps its `` t`…` `` as written.
|
|
17
17
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@verbaly/next",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.81.0",
|
|
4
4
|
"description": "Next.js integration for Verbaly: App Router/RSC with per-request locale negotiation, Turbopack and webpack support, flash-free hydration.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"i18n",
|
|
@@ -68,23 +68,23 @@
|
|
|
68
68
|
"access": "public"
|
|
69
69
|
},
|
|
70
70
|
"dependencies": {
|
|
71
|
-
"@verbaly/compiler": "^0.
|
|
71
|
+
"@verbaly/compiler": "^0.81.0"
|
|
72
72
|
},
|
|
73
73
|
"peerDependencies": {
|
|
74
|
-
"@verbaly/react": "^0.
|
|
74
|
+
"@verbaly/react": "^0.81.0",
|
|
75
75
|
"next": "^15.0.0 || ^16.0.0",
|
|
76
76
|
"react": "^18.0.0 || ^19.0.0",
|
|
77
|
-
"verbaly": "^0.
|
|
77
|
+
"verbaly": "^0.81.0"
|
|
78
78
|
},
|
|
79
79
|
"devDependencies": {
|
|
80
80
|
"@types/react": "^19.3.0",
|
|
81
81
|
"@types/react-dom": "^19.3.0",
|
|
82
|
-
"@verbaly/react": "^0.
|
|
82
|
+
"@verbaly/react": "^0.81.0",
|
|
83
83
|
"happy-dom": "^21.0.4",
|
|
84
84
|
"next": "^16.4.5",
|
|
85
85
|
"react": "^19.3.1",
|
|
86
86
|
"react-dom": "^19.3.1",
|
|
87
|
-
"verbaly": "^0.
|
|
87
|
+
"verbaly": "^0.81.0"
|
|
88
88
|
},
|
|
89
89
|
"scripts": {
|
|
90
90
|
"build": "tsdown",
|