@checkstack/infrastructure-common 0.3.6 → 0.3.8

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +37 -0
  2. package/package.json +6 -6
package/CHANGELOG.md CHANGED
@@ -1,5 +1,42 @@
1
1
  # @checkstack/infrastructure-common
2
2
 
3
+ ## 0.3.8
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [56e7c75]
8
+ - Updated dependencies [56e7c75]
9
+ - @checkstack/frontend-api@0.9.0
10
+ - @checkstack/common@0.15.0
11
+
12
+ ## 0.3.7
13
+
14
+ ### Patch Changes
15
+
16
+ - fb705df: Upgrade React 18 to React 19 across the platform.
17
+
18
+ **BREAKING (runtime frontend plugins):** React is shared as a Module Federation
19
+ singleton, so the host now provides **React 19** to every runtime plugin.
20
+ Frontend plugins built against React 18 must be rebuilt against React 19
21
+ (`react` / `react-dom` `^19`). The scaffold templates and the host/plugin MF
22
+ `requiredVersion` are updated to `^19`. `react` (and now `react-dom`) are pinned
23
+ to a single version across the workspace via syncpack so the singleton can never
24
+ skew (react and react-dom must match exactly).
25
+
26
+ The React 19 removed-API surface was audited - the codebase used only no-arg
27
+ `useRef()` (now `useRef<T | undefined>(undefined)`); no `ReactDOM.render`,
28
+ legacy context, string refs, or function-component `defaultProps`. This also
29
+ clears the `IMPORT_IS_UNDEFINED` build warnings for `React.use` /
30
+ `React.useOptimistic` (react-router 7 feature-detection), which React 19 exports.
31
+
32
+ The downstream `*-frontend` packages (and `@checkstack/infrastructure-common`)
33
+ receive only the mechanical `react` dependency bump (`patch`); the framework
34
+ packages carrying the shared-singleton change are bumped `minor`.
35
+
36
+ - Updated dependencies [fb705df]
37
+ - @checkstack/frontend-api@0.8.0
38
+ - @checkstack/common@0.14.1
39
+
3
40
  ## 0.3.6
4
41
 
5
42
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@checkstack/infrastructure-common",
3
- "version": "0.3.6",
3
+ "version": "0.3.8",
4
4
  "license": "Elastic-2.0",
5
5
  "type": "module",
6
6
  "exports": {
@@ -14,15 +14,15 @@
14
14
  "lint:code": "eslint . --max-warnings 0"
15
15
  },
16
16
  "dependencies": {
17
- "@checkstack/common": "0.14.1",
18
- "@checkstack/frontend-api": "0.7.2"
17
+ "@checkstack/common": "0.15.0",
18
+ "@checkstack/frontend-api": "0.9.0"
19
19
  },
20
20
  "devDependencies": {
21
21
  "typescript": "^5.7.2",
22
22
  "@checkstack/tsconfig": "0.0.7",
23
- "@checkstack/scripts": "0.4.2",
24
- "@types/react": "^18.3.18",
25
- "react": "^18.3.1"
23
+ "@checkstack/scripts": "0.6.1",
24
+ "@types/react": "^19.0.0",
25
+ "react": "19.2.7"
26
26
  },
27
27
  "checkstack": {
28
28
  "type": "common"