@object-ui/plugin-grid 2.0.0 → 3.0.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.
@@ -1,13 +1,25 @@
1
1
 
2
- > @object-ui/plugin-grid@2.0.0 build /home/runner/work/objectui/objectui/packages/plugin-grid
2
+ > @object-ui/plugin-grid@3.0.0 build /home/runner/work/objectui/objectui/packages/plugin-grid
3
3
  > vite build
4
4
 
5
5
  vite v7.3.1 building client environment for production...
6
6
  transforming...
7
- ✓ 15 modules transformed.
7
+ ✓ 31 modules transformed.
8
8
  rendering chunks...
9
9
  
10
10
  [vite:dts] Start generate declaration files...
11
+ ../../examples/crm/src/objects/contact.object.ts:3:14 - error TS2742: The inferred type of 'ContactObject' cannot be named without a reference to 'examples/crm/node_modules/@objectstack/spec/dist/state-machine.zod-DoC0JvQb'. This is likely not portable. A type annotation is necessary.
12
+
13
+ 3 export const ContactObject = ObjectSchema.create({
14
+    ~~~~~~~~~~~~~
15
+ src/ObjectGrid.EdgeCases.stories.tsx:4:43 - error TS2307: Cannot find module '@storybook-config/datasource' or its corresponding type declarations.
16
+
17
+ 4 import { createStorybookDataSource } from '@storybook-config/datasource';
18
+    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
19
+ src/ObjectGrid.stories.tsx:4:43 - error TS2307: Cannot find module '@storybook-config/datasource' or its corresponding type declarations.
20
+
21
+ 4 import { createStorybookDataSource } from '@storybook-config/datasource';
22
+    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
11
23
  src/__tests__/VirtualGrid.test.tsx:23:11 - error TS7034: Variable 'items' implicitly has type 'any[]' in some locations where its type cannot be determined.
12
24
 
13
25
  23 const items = [];
@@ -16,15 +28,39 @@ rendering chunks...
16
28
 
17
29
  28 getVirtualItems: () => items,
18
30
     ~~~~~
31
+ src/__tests__/accessibility.test.tsx:28:11 - error TS7034: Variable 'items' implicitly has type 'any[]' in some locations where its type cannot be determined.
32
+
33
+ 28 const items = [];
34
+    ~~~~~
35
+ src/__tests__/accessibility.test.tsx:33:30 - error TS7005: Variable 'items' implicitly has an 'any[]' type.
36
+
37
+ 33 getVirtualItems: () => items,
38
+    ~~~~~
39
+ src/__tests__/performance-benchmark.test.tsx:27:11 - error TS7034: Variable 'items' implicitly has type 'any[]' in some locations where its type cannot be determined.
40
+
41
+ 27 const items = [];
42
+    ~~~~~
43
+ src/__tests__/performance-benchmark.test.tsx:32:30 - error TS7005: Variable 'items' implicitly has an 'any[]' type.
44
+
45
+ 32 getVirtualItems: () => items,
46
+    ~~~~~
47
+ src/__tests__/view-states.test.tsx:27:11 - error TS7034: Variable 'items' implicitly has type 'any[]' in some locations where its type cannot be determined.
48
+
49
+ 27 const items = [];
50
+    ~~~~~
51
+ src/__tests__/view-states.test.tsx:32:30 - error TS7005: Variable 'items' implicitly has an 'any[]' type.
52
+
53
+ 32 getVirtualItems: () => items,
54
+    ~~~~~
19
55
 
20
56
  computing gzip size...
21
- dist/index.js 46.25 kB │ gzip: 12.47 kB
22
- [vite:dts] Declaration files built in 19381ms.
57
+ dist/index.js 58.40 kB │ gzip: 15.71 kB
58
+ [vite:dts] Declaration files built in 21545ms.
23
59
  
24
60
  No name was provided for external module "@object-ui/core" in "output.globals" – guessing "core".
25
61
  No name was provided for external module "@object-ui/react" in "output.globals" – guessing "react".
26
62
  No name was provided for external module "@object-ui/fields" in "output.globals" – guessing "fields".
27
63
  No name was provided for external module "@object-ui/components" in "output.globals" – guessing "components".
28
64
  No name was provided for external module "lucide-react" in "output.globals" – guessing "lucideReact".
29
- dist/index.umd.cjs 32.06 kB │ gzip: 10.88 kB
30
- ✓ built in 20.59s
65
+ dist/index.umd.cjs 40.64 kB │ gzip: 13.64 kB
66
+ ✓ built in 22.79s
package/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # @object-ui/plugin-grid
2
2
 
3
+ ## 3.0.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 87979c3: Upgrade to @objectstack v3.0.0 and console bundle optimization
8
+ - Upgraded all @objectstack/\* packages from ^2.0.7 to ^3.0.0
9
+ - Breaking change migrations: Hub → Cloud namespace, definePlugin removed, PaginatedResult.value → .records, PaginatedResult.count → .total, client.meta.getObject() → client.meta.getItem()
10
+ - Console bundle optimization: split monolithic 3.7 MB chunk into 17 granular cacheable chunks (95% main entry reduction)
11
+ - Added gzip + brotli pre-compression via vite-plugin-compression2
12
+ - Lazy MSW loading for build:server (~150 KB gzip saved)
13
+ - Added bundle analysis with rollup-plugin-visualizer
14
+
15
+ ### Patch Changes
16
+
17
+ - Updated dependencies [87979c3]
18
+ - @object-ui/types@3.0.0
19
+ - @object-ui/core@3.0.0
20
+ - @object-ui/react@3.0.0
21
+ - @object-ui/components@3.0.0
22
+ - @object-ui/fields@3.0.0
23
+ - @object-ui/mobile@3.0.0
24
+
3
25
  ## 2.0.0
4
26
 
5
27
  ### Major Changes