@checkstack/automation-frontend 0.12.8 → 0.13.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/CHANGELOG.md CHANGED
@@ -1,5 +1,66 @@
1
1
  # @checkstack/automation-frontend
2
2
 
3
+ ## 0.13.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 56e5375: Migrate the frontend from react-router-dom v7 to react-router v8
8
+
9
+ Resolves GHSA-qwww-vcr4-c8h2 (HIGH): React Router before 8.3.0 has an RSC-mode
10
+ CSRF bypass that lets an action execute before the 400 response. Checkstack runs
11
+ a client-side SPA (`<BrowserRouter>`) and does not use RSC mode, so the platform
12
+ was not exploitable through it - but the advisory kept the dependency-graph
13
+ security gate red on every pull request, and the fix is only available in the 8.x
14
+ line, which the auto-remediation deliberately will not reach (it refuses major
15
+ bumps).
16
+
17
+ `react-router-dom` has no v8: it was folded into `react-router` in v7 and v8
18
+ ships as `react-router` only. So this is a package swap rather than a range bump:
19
+
20
+ - 31 packages now depend on `react-router@^8.3.0` instead of
21
+ `react-router-dom@^7.16.0`, and 97 source files import from `react-router`.
22
+ - The Module Federation host share, `optimizeDeps` and `dedupe` entries move to
23
+ `react-router` (shared singleton `requiredVersion` `^8.0.0`). Remotes never
24
+ shared the router, so the remote contract is unchanged.
25
+ - The syncpack unified-range group tracks `react-router`, keeping the enforced
26
+ single-range guarantee that a past four-range regression motivated.
27
+
28
+ The API surface Checkstack uses is unchanged between v7 and v8 - `BrowserRouter`,
29
+ `MemoryRouter`, `Routes`, `Route`, `Link`, `NavLink`, `useLocation`,
30
+ `useNavigate`, `useParams` and `useSearchParams` are all exported by v8 with the
31
+ same signatures - so no routing code changed beyond the import specifier. v8
32
+ requires React >= 19.2.7, which the workspace already pins.
33
+
34
+ ### Patch Changes
35
+
36
+ - Updated dependencies [88f4333]
37
+ - Updated dependencies [1deaac5]
38
+ - Updated dependencies [88f4333]
39
+ - Updated dependencies [88f4333]
40
+ - Updated dependencies [88f4333]
41
+ - Updated dependencies [88f4333]
42
+ - Updated dependencies [88f4333]
43
+ - Updated dependencies [88f4333]
44
+ - Updated dependencies [88f4333]
45
+ - Updated dependencies [1deaac5]
46
+ - Updated dependencies [56e5375]
47
+ - Updated dependencies [88f4333]
48
+ - Updated dependencies [88f4333]
49
+ - @checkstack/auth-frontend@0.16.0
50
+ - @checkstack/common@0.24.0
51
+ - @checkstack/auth-common@0.17.0
52
+ - @checkstack/automation-common@0.10.3
53
+ - @checkstack/ui@1.31.0
54
+ - @checkstack/frontend-api@0.18.0
55
+ - @checkstack/gitops-frontend@0.8.0
56
+ - @checkstack/script-packages-frontend@0.5.0
57
+ - @checkstack/secrets-frontend@0.4.0
58
+ - @checkstack/ai-common@0.6.8
59
+ - @checkstack/catalog-common@2.8.2
60
+ - @checkstack/integration-common@0.9.11
61
+ - @checkstack/template-engine@0.4.13
62
+ - @checkstack/signal-frontend@0.3.8
63
+
3
64
  ## 0.12.8
4
65
 
5
66
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@checkstack/automation-frontend",
3
- "version": "0.12.8",
3
+ "version": "0.13.0",
4
4
  "license": "Elastic-2.0",
5
5
  "type": "module",
6
6
  "sideEffects": [
@@ -16,33 +16,33 @@
16
16
  "lint:code": "eslint . --max-warnings 0"
17
17
  },
18
18
  "dependencies": {
19
- "@checkstack/auth-common": "0.16.0",
20
- "@checkstack/auth-frontend": "0.15.0",
21
- "@checkstack/automation-common": "0.10.2",
22
- "@checkstack/ai-common": "0.6.7",
23
- "@checkstack/catalog-common": "2.8.1",
24
- "@checkstack/common": "0.23.0",
25
- "@checkstack/frontend-api": "0.17.0",
26
- "@checkstack/gitops-frontend": "0.7.9",
27
- "@checkstack/integration-common": "0.9.10",
28
- "@checkstack/script-packages-frontend": "0.4.18",
29
- "@checkstack/secrets-frontend": "0.3.17",
30
- "@checkstack/signal-frontend": "0.3.7",
31
- "@checkstack/template-engine": "0.4.12",
32
- "@checkstack/ui": "1.30.0",
19
+ "@checkstack/auth-common": "0.17.0",
20
+ "@checkstack/auth-frontend": "0.16.0",
21
+ "@checkstack/automation-common": "0.10.3",
22
+ "@checkstack/ai-common": "0.6.8",
23
+ "@checkstack/catalog-common": "2.8.2",
24
+ "@checkstack/common": "0.24.0",
25
+ "@checkstack/frontend-api": "0.18.0",
26
+ "@checkstack/gitops-frontend": "0.8.0",
27
+ "@checkstack/integration-common": "0.9.11",
28
+ "@checkstack/script-packages-frontend": "0.5.0",
29
+ "@checkstack/secrets-frontend": "0.4.0",
30
+ "@checkstack/signal-frontend": "0.3.8",
31
+ "@checkstack/template-engine": "0.4.13",
32
+ "@checkstack/ui": "1.31.0",
33
33
  "@dnd-kit/core": "^6.3.1",
34
34
  "@dnd-kit/sortable": "^8.0.0",
35
35
  "@dnd-kit/utilities": "^3.2.2",
36
36
  "date-fns": "^4.4.0",
37
37
  "lucide-react": "^1.17.0",
38
38
  "react": "19.2.7",
39
- "react-router-dom": "^7.16.0",
39
+ "react-router": "^8.3.0",
40
40
  "yaml": "^2.6.1"
41
41
  },
42
42
  "devDependencies": {
43
43
  "typescript": "^5.0.0",
44
44
  "@types/react": "^19.0.0",
45
45
  "@checkstack/tsconfig": "0.0.7",
46
- "@checkstack/scripts": "0.7.6"
46
+ "@checkstack/scripts": "0.7.7"
47
47
  }
48
48
  }
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { Link } from "react-router-dom";
2
+ import { Link } from "react-router";
3
3
  import { ExternalLink, KeyRound, ShieldCheck } from "lucide-react";
4
4
  import { usePluginClient } from "@checkstack/frontend-api";
5
5
  import { AuthApi, authRoutes } from "@checkstack/auth-common";
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { Link } from "react-router-dom";
2
+ import { Link } from "react-router";
3
3
  import { resolveRoute } from "@checkstack/common";
4
4
  import { integrationRoutes } from "@checkstack/integration-common";
5
5
  import {
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { Link, useNavigate, useParams, useSearchParams } from "react-router-dom";
2
+ import { Link, useNavigate, useParams, useSearchParams } from "react-router";
3
3
  import {
4
4
  ChevronLeft,
5
5
  History as HistoryIcon,
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { Link, useNavigate } from "react-router-dom";
2
+ import { Link, useNavigate } from "react-router";
3
3
  import { Workflow, Plus, FlaskConical, Trash2, History } from "lucide-react";
4
4
  import {
5
5
  usePluginClient,
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { useNavigate } from "react-router-dom";
2
+ import { useNavigate } from "react-router";
3
3
  import { Workflow, FilePlus2, ArrowRight } from "lucide-react";
4
4
  import {
5
5
  usePluginClient,
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { Link, useParams } from "react-router-dom";
2
+ import { Link, useParams } from "react-router";
3
3
  import {
4
4
  CheckCircle2,
5
5
  ChevronLeft,
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { Link, useParams, useNavigate } from "react-router-dom";
2
+ import { Link, useParams, useNavigate } from "react-router";
3
3
  import { History, ChevronLeft, ArrowUpRight } from "lucide-react";
4
4
  import {
5
5
  usePluginClient,