@object-ui/plugin-detail 4.0.4 → 4.0.6

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