@object-ui/plugin-view 4.0.4 → 4.0.5

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 +33 -0
  2. package/package.json +7 -7
package/CHANGELOG.md CHANGED
@@ -1,5 +1,38 @@
1
1
  # @object-ui/plugin-view
2
2
 
3
+ ## 4.0.5
4
+
5
+ ### Patch Changes
6
+
7
+ - 1dc6061: fix(build): inline dynamic imports in library outputs
8
+
9
+ Library `vite build --lib` outputs were emitting separate code-split chunks
10
+ (`rolldown-runtime-*.js`, `LookupField-*.js`, etc.) when source files used
11
+ `React.lazy()` / dynamic `import()`. When consumer apps re-bundled these
12
+ multi-file dists, the library's per-chunk rolldown-runtime collided with the
13
+ consumer's own runtime, causing "TypeError: i is not a function" at runtime
14
+ when lazy components tried to register themselves (e.g. TextField in
15
+ `@object-ui/fields` after 4.0.4).
16
+
17
+ Adding `output.inlineDynamicImports: true` to all `@object-ui/*` library vite
18
+ configs forces a single `dist/index.js` per package, which lets consumer
19
+ bundlers handle the library as an opaque ESM module without identifier
20
+ mismatches across chunks.
21
+
22
+ Affected packages: components, fields, layout, plugin-aggrid, plugin-ai,
23
+ plugin-calendar, plugin-charts, plugin-chatbot, plugin-dashboard,
24
+ plugin-designer, plugin-detail, plugin-editor, plugin-form, plugin-gantt,
25
+ plugin-grid, plugin-kanban, plugin-list, plugin-map, plugin-markdown,
26
+ plugin-report, plugin-timeline, plugin-view, plugin-workflow.
27
+
28
+ - Updated dependencies [1dc6061]
29
+ - @object-ui/components@4.0.5
30
+ - @object-ui/plugin-form@4.0.5
31
+ - @object-ui/plugin-grid@4.0.5
32
+ - @object-ui/types@4.0.5
33
+ - @object-ui/core@4.0.5
34
+ - @object-ui/react@4.0.5
35
+
3
36
  ## 4.0.4
4
37
 
5
38
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@object-ui/plugin-view",
3
- "version": "4.0.4",
3
+ "version": "4.0.5",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "description": "Object View plugin for Object UI",
@@ -20,12 +20,12 @@
20
20
  "@dnd-kit/utilities": "^3.2.2",
21
21
  "class-variance-authority": "^0.7.1",
22
22
  "lucide-react": "^1.14.0",
23
- "@object-ui/components": "4.0.4",
24
- "@object-ui/core": "4.0.4",
25
- "@object-ui/plugin-form": "4.0.4",
26
- "@object-ui/plugin-grid": "4.0.4",
27
- "@object-ui/types": "4.0.4",
28
- "@object-ui/react": "4.0.4"
23
+ "@object-ui/core": "4.0.5",
24
+ "@object-ui/components": "4.0.5",
25
+ "@object-ui/plugin-form": "4.0.5",
26
+ "@object-ui/plugin-grid": "4.0.5",
27
+ "@object-ui/react": "4.0.5",
28
+ "@object-ui/types": "4.0.5"
29
29
  },
30
30
  "peerDependencies": {
31
31
  "react": "^18.0.0 || ^19.0.0",