Skip to content

Commit 3a160ed

Browse files
authored
Merge branch 'main' into fix/nextjs-16-compatibility
2 parents c3459b2 + 28f4ea2 commit 3a160ed

File tree

24 files changed

+1012
-645
lines changed

24 files changed

+1012
-645
lines changed

demo/adonisjs/CHANGELOG.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,42 @@
11
# adonis
22

3+
## 0.0.59
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`bb14deb`](https://github.com/lingodotdev/lingo.dev/commit/bb14debf734bf87a2ea64946f8e7235c01b05578)]:
8+
9+
10+
## 0.0.58
11+
12+
### Patch Changes
13+
14+
- Updated dependencies [[`3b24647`](https://github.com/lingodotdev/lingo.dev/commit/3b246473f6f4773f00ea13211bc2be59a98e0b7c)]:
15+
- @lingo.dev/_[email protected]
16+
17+
18+
## 0.0.57
19+
20+
### Patch Changes
21+
22+
- Updated dependencies [[`29949db`](https://github.com/lingodotdev/lingo.dev/commit/29949db24ff9c8938233ebb42e8189690c3c7813)]:
23+
- @lingo.dev/_[email protected]
24+
25+
26+
## 0.0.56
27+
28+
### Patch Changes
29+
30+
- Updated dependencies [[`a60aa1e`](https://github.com/lingodotdev/lingo.dev/commit/a60aa1ec01149a4ef418b9025ae50891264f9123)]:
31+
32+
33+
## 0.0.55
34+
35+
### Patch Changes
36+
37+
- Updated dependencies [[`d7ccd60`](https://github.com/lingodotdev/lingo.dev/commit/d7ccd6000cd980333e7ac4b63da4e2ba624c3de4)]:
38+
39+
340
## 0.0.54
441

542
### Patch Changes

demo/adonisjs/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "adonis",
3-
"version": "0.0.54",
3+
"version": "0.0.59",
44
"private": true,
55
"type": "module",
66
"license": "UNLICENSED",
@@ -63,8 +63,8 @@
6363
"@vinejs/vine": "3.0.1",
6464
"edge.js": "6.3.0",
6565
"lingo.dev": "workspace:*",
66-
"react": "19.2.1",
67-
"react-dom": "19.2.1",
66+
"react": "19.2.3",
67+
"react-dom": "19.2.3",
6868
"reflect-metadata": "0.2.2"
6969
},
7070
"hotHook": {

demo/next-app/CHANGELOG.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,42 @@
11
# next-app
22

3+
## 0.2.111
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`bb14deb`](https://github.com/lingodotdev/lingo.dev/commit/bb14debf734bf87a2ea64946f8e7235c01b05578)]:
8+
9+
10+
## 0.2.110
11+
12+
### Patch Changes
13+
14+
- [`3b24647`](https://github.com/lingodotdev/lingo.dev/commit/3b246473f6f4773f00ea13211bc2be59a98e0b7c) Thanks [@vrcprl](https://github.com/vrcprl)! - Update Next.js to 15.3.8 to address security vulnerability
15+
16+
- Updated dependencies []:
17+
18+
19+
## 0.2.109
20+
21+
### Patch Changes
22+
23+
- Updated dependencies [[`29949db`](https://github.com/lingodotdev/lingo.dev/commit/29949db24ff9c8938233ebb42e8189690c3c7813)]:
24+
25+
26+
## 0.2.108
27+
28+
### Patch Changes
29+
30+
- Updated dependencies [[`a60aa1e`](https://github.com/lingodotdev/lingo.dev/commit/a60aa1ec01149a4ef418b9025ae50891264f9123)]:
31+
32+
33+
## 0.2.107
34+
35+
### Patch Changes
36+
37+
- Updated dependencies [[`d7ccd60`](https://github.com/lingodotdev/lingo.dev/commit/d7ccd6000cd980333e7ac4b63da4e2ba624c3de4)]:
38+
39+
340
## 0.2.106
441

542
### Patch Changes

demo/next-app/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "next-app",
3-
"version": "0.2.106",
3+
"version": "0.2.111",
44
"private": true,
55
"scripts": {
66
"dev": "next dev",
@@ -10,9 +10,9 @@
1010
},
1111
"dependencies": {
1212
"lingo.dev": "workspace:*",
13-
"next": "15.3.6",
14-
"react": "19.2.1",
15-
"react-dom": "19.2.1"
13+
"next": "15.3.8",
14+
"react": "19.2.3",
15+
"react-dom": "19.2.3"
1616
},
1717
"devDependencies": {
1818
"@eslint/eslintrc": "3",

demo/react-router-app/CHANGELOG.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,40 @@
11
# react-router-app
22

3+
## 1.0.20
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`bb14deb`](https://github.com/lingodotdev/lingo.dev/commit/bb14debf734bf87a2ea64946f8e7235c01b05578)]:
8+
9+
10+
## 1.0.19
11+
12+
### Patch Changes
13+
14+
- Updated dependencies []:
15+
16+
17+
## 1.0.18
18+
19+
### Patch Changes
20+
21+
- Updated dependencies [[`29949db`](https://github.com/lingodotdev/lingo.dev/commit/29949db24ff9c8938233ebb42e8189690c3c7813)]:
22+
23+
24+
## 1.0.17
25+
26+
### Patch Changes
27+
28+
- Updated dependencies [[`a60aa1e`](https://github.com/lingodotdev/lingo.dev/commit/a60aa1ec01149a4ef418b9025ae50891264f9123)]:
29+
30+
31+
## 1.0.16
32+
33+
### Patch Changes
34+
35+
- Updated dependencies [[`d7ccd60`](https://github.com/lingodotdev/lingo.dev/commit/d7ccd6000cd980333e7ac4b63da4e2ba624c3de4)]:
36+
37+
338
## 1.0.15
439

540
### Patch Changes

demo/react-router-app/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-router-app",
3-
"version": "1.0.15",
3+
"version": "1.0.20",
44
"private": true,
55
"type": "module",
66
"scripts": {
@@ -14,8 +14,8 @@
1414
"@react-router/serve": "7.9.6",
1515
"isbot": "5.1.32",
1616
"lingo.dev": "workspace:*",
17-
"react": "19.2.1",
18-
"react-dom": "19.2.1",
17+
"react": "19.2.3",
18+
"react-dom": "19.2.3",
1919
"react-router": "7.9.6"
2020
},
2121
"devDependencies": {

demo/vite-project/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
},
1212
"dependencies": {
1313
"@vitejs/plugin-react": "4.4.1",
14-
"react": "19.2.1",
15-
"react-dom": "19.2.1"
14+
"react": "19.2.3",
15+
"react-dom": "19.2.3"
1616
},
1717
"devDependencies": {
1818
"@eslint/js": "9.39.1",

packages/cli/CHANGELOG.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,43 @@
11
# lingo.dev
22

3+
## 0.117.19
4+
5+
### Patch Changes
6+
7+
- [#1678](https://github.com/lingodotdev/lingo.dev/pull/1678) [`bb14deb`](https://github.com/lingodotdev/lingo.dev/commit/bb14debf734bf87a2ea64946f8e7235c01b05578) Thanks [@vrcprl](https://github.com/vrcprl)! - Fix inconsistent event tracking in CLI to ensure start/success/error events are always paired correctly for accurate health metrics
8+
9+
## 0.117.18
10+
11+
### Patch Changes
12+
13+
- Updated dependencies [[`3b24647`](https://github.com/lingodotdev/lingo.dev/commit/3b246473f6f4773f00ea13211bc2be59a98e0b7c)]:
14+
- @lingo.dev/_[email protected]
15+
- @lingo.dev/_[email protected]
16+
17+
## 0.117.17
18+
19+
### Patch Changes
20+
21+
- [#1672](https://github.com/lingodotdev/lingo.dev/pull/1672) [`29949db`](https://github.com/lingodotdev/lingo.dev/commit/29949db24ff9c8938233ebb42e8189690c3c7813) Thanks [@vrcprl](https://github.com/vrcprl)! - Improve observability
22+
23+
- Updated dependencies [[`29949db`](https://github.com/lingodotdev/lingo.dev/commit/29949db24ff9c8938233ebb42e8189690c3c7813)]:
24+
- @lingo.dev/_[email protected]
25+
26+
## 0.117.16
27+
28+
### Patch Changes
29+
30+
- [#1662](https://github.com/lingodotdev/lingo.dev/pull/1662) [`a60aa1e`](https://github.com/lingodotdev/lingo.dev/commit/a60aa1ec01149a4ef418b9025ae50891264f9123) Thanks [@ceolinwill](https://github.com/ceolinwill)! - fix language header for PO files
31+
32+
## 0.117.15
33+
34+
### Patch Changes
35+
36+
- [`d7ccd60`](https://github.com/lingodotdev/lingo.dev/commit/d7ccd6000cd980333e7ac4b63da4e2ba624c3de4) Thanks [@vrcprl](https://github.com/vrcprl)! - chore: update React to 19.2.3 to fix CVE-2025-55184 (DoS) and CVE-2025-55183 (source code exposure)
37+
38+
- Updated dependencies [[`d7ccd60`](https://github.com/lingodotdev/lingo.dev/commit/d7ccd6000cd980333e7ac4b63da4e2ba624c3de4)]:
39+
- @lingo.dev/_[email protected]
40+
341
## 0.117.14
442

543
### Patch Changes

packages/cli/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "lingo.dev",
3-
"version": "0.117.14",
3+
"version": "0.117.19",
44
"description": "Lingo.dev CLI",
55
"private": false,
66
"repository": {
@@ -207,7 +207,7 @@
207207
"plist": "3.1.0",
208208
"posthog-node": "5.14.0",
209209
"prettier": "3.6.2",
210-
"react": "19.2.1",
210+
"react": "19.2.3",
211211
"rehype-stringify": "10.0.1",
212212
"remark-disable-tokenizers": "1.1.1",
213213
"remark-frontmatter": "5.0.0",

packages/cli/src/cli/cmd/i18n.ts

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -93,14 +93,18 @@ export default new Command()
9393
.action(async function (options) {
9494
updateGitignore();
9595

96+
await trackEvent(null, "cmd.i18n.start", {
97+
rawOptions: options,
98+
});
99+
96100
const ora = Ora();
97101
let flags: ReturnType<typeof parseFlags>;
98102

99103
try {
100104
flags = parseFlags(options);
101105
} catch (parseError: any) {
102106
// Handle flag validation errors (like invalid locale codes)
103-
await trackEvent("unknown", "cmd.i18n.error", {
107+
await trackEvent(null, "cmd.i18n.error", {
104108
errorType: "validation_error",
105109
errorName: parseError.name || "ValidationError",
106110
errorMessage: parseError.message || "Invalid command line options",
@@ -109,6 +113,7 @@ export default new Command()
109113
errorCount: 1,
110114
stage: "flag_validation",
111115
});
116+
await new Promise((resolve) => setTimeout(resolve, 50));
112117
throw parseError;
113118
}
114119

@@ -148,11 +153,6 @@ export default new Command()
148153
ora.succeed(`Authenticated as ${auth.email}`);
149154
}
150155

151-
await trackEvent(authId, "cmd.i18n.start", {
152-
i18nConfig,
153-
flags,
154-
});
155-
156156
let buckets = getBuckets(i18nConfig!);
157157
if (flags.bucket?.length) {
158158
buckets = buckets.filter((bucket: any) =>
@@ -579,9 +579,10 @@ export default new Command()
579579
localeCount: targetLocales.length,
580580
processedSuccessfully: true,
581581
});
582+
await new Promise((resolve) => setTimeout(resolve, 50));
582583
} else {
583584
ora.warn("Localization completed with errors.");
584-
await trackEvent(authId || "unknown", "cmd.i18n.error", {
585+
await trackEvent(authId, "cmd.i18n.error", {
585586
flags,
586587
...aggregateErrorAnalytics(
587588
errorDetails,
@@ -590,6 +591,7 @@ export default new Command()
590591
i18nConfig!,
591592
),
592593
});
594+
await new Promise((resolve) => setTimeout(resolve, 50));
593595
}
594596
} catch (error: any) {
595597
ora.fail(error.message);
@@ -612,7 +614,7 @@ export default new Command()
612614
};
613615
}
614616

615-
await trackEvent(authId || "unknown", "cmd.i18n.error", {
617+
await trackEvent(authId, "cmd.i18n.error", {
616618
flags,
617619
errorType,
618620
errorName: error.name || "Error",
@@ -623,6 +625,7 @@ export default new Command()
623625
errorCount: errorDetails.length + 1,
624626
previousErrors: createPreviousErrorContext(errorDetails),
625627
});
628+
await new Promise((resolve) => setTimeout(resolve, 50));
626629
}
627630
});
628631

0 commit comments

Comments
 (0)