@checkstack/automation-frontend 0.12.8 → 0.13.1

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,79 @@
1
1
  # @checkstack/automation-frontend
2
2
 
3
+ ## 0.13.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [c38551f]
8
+ - @checkstack/ui@1.32.0
9
+ - @checkstack/frontend-api@0.19.0
10
+ - @checkstack/auth-frontend@0.16.1
11
+ - @checkstack/gitops-frontend@0.8.1
12
+ - @checkstack/script-packages-frontend@0.5.1
13
+ - @checkstack/secrets-frontend@0.4.1
14
+ - @checkstack/catalog-common@2.8.3
15
+
16
+ ## 0.13.0
17
+
18
+ ### Minor Changes
19
+
20
+ - 56e5375: Migrate the frontend from react-router-dom v7 to react-router v8
21
+
22
+ Resolves GHSA-qwww-vcr4-c8h2 (HIGH): React Router before 8.3.0 has an RSC-mode
23
+ CSRF bypass that lets an action execute before the 400 response. Checkstack runs
24
+ a client-side SPA (`<BrowserRouter>`) and does not use RSC mode, so the platform
25
+ was not exploitable through it - but the advisory kept the dependency-graph
26
+ security gate red on every pull request, and the fix is only available in the 8.x
27
+ line, which the auto-remediation deliberately will not reach (it refuses major
28
+ bumps).
29
+
30
+ `react-router-dom` has no v8: it was folded into `react-router` in v7 and v8
31
+ ships as `react-router` only. So this is a package swap rather than a range bump:
32
+
33
+ - 31 packages now depend on `react-router@^8.3.0` instead of
34
+ `react-router-dom@^7.16.0`, and 97 source files import from `react-router`.
35
+ - The Module Federation host share, `optimizeDeps` and `dedupe` entries move to
36
+ `react-router` (shared singleton `requiredVersion` `^8.0.0`). Remotes never
37
+ shared the router, so the remote contract is unchanged.
38
+ - The syncpack unified-range group tracks `react-router`, keeping the enforced
39
+ single-range guarantee that a past four-range regression motivated.
40
+
41
+ The API surface Checkstack uses is unchanged between v7 and v8 - `BrowserRouter`,
42
+ `MemoryRouter`, `Routes`, `Route`, `Link`, `NavLink`, `useLocation`,
43
+ `useNavigate`, `useParams` and `useSearchParams` are all exported by v8 with the
44
+ same signatures - so no routing code changed beyond the import specifier. v8
45
+ requires React >= 19.2.7, which the workspace already pins.
46
+
47
+ ### Patch Changes
48
+
49
+ - Updated dependencies [88f4333]
50
+ - Updated dependencies [1deaac5]
51
+ - Updated dependencies [88f4333]
52
+ - Updated dependencies [88f4333]
53
+ - Updated dependencies [88f4333]
54
+ - Updated dependencies [88f4333]
55
+ - Updated dependencies [88f4333]
56
+ - Updated dependencies [88f4333]
57
+ - Updated dependencies [88f4333]
58
+ - Updated dependencies [1deaac5]
59
+ - Updated dependencies [56e5375]
60
+ - Updated dependencies [88f4333]
61
+ - Updated dependencies [88f4333]
62
+ - @checkstack/auth-frontend@0.16.0
63
+ - @checkstack/common@0.24.0
64
+ - @checkstack/auth-common@0.17.0
65
+ - @checkstack/automation-common@0.10.3
66
+ - @checkstack/ui@1.31.0
67
+ - @checkstack/frontend-api@0.18.0
68
+ - @checkstack/gitops-frontend@0.8.0
69
+ - @checkstack/script-packages-frontend@0.5.0
70
+ - @checkstack/secrets-frontend@0.4.0
71
+ - @checkstack/ai-common@0.6.8
72
+ - @checkstack/catalog-common@2.8.2
73
+ - @checkstack/integration-common@0.9.11
74
+ - @checkstack/template-engine@0.4.13
75
+ - @checkstack/signal-frontend@0.3.8
76
+
3
77
  ## 0.12.8
4
78
 
5
79
  ### 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.1",
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.1",
21
+ "@checkstack/automation-common": "0.10.3",
22
+ "@checkstack/ai-common": "0.6.8",
23
+ "@checkstack/catalog-common": "2.8.3",
24
+ "@checkstack/common": "0.24.0",
25
+ "@checkstack/frontend-api": "0.19.0",
26
+ "@checkstack/gitops-frontend": "0.8.1",
27
+ "@checkstack/integration-common": "0.9.11",
28
+ "@checkstack/script-packages-frontend": "0.5.1",
29
+ "@checkstack/secrets-frontend": "0.4.1",
30
+ "@checkstack/signal-frontend": "0.3.8",
31
+ "@checkstack/template-engine": "0.4.13",
32
+ "@checkstack/ui": "1.32.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,