@object-ui/plugin-detail 4.0.6 → 4.0.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,34 @@
1
1
  # @object-ui/plugin-detail
2
2
 
3
+ ## 4.0.8
4
+
5
+ ## 4.0.7
6
+
7
+ ### Patch Changes
8
+
9
+ - 7c9b85c: Fix compatibility with the framework's normalized Expression envelope format.
10
+
11
+ `@objectstack/spec` now emits predicate (`visible` / `enabled`) and template
12
+ (`titleFormat`) fields as `{ dialect, source }` envelopes instead of bare
13
+ strings. The previous implementation assumed strings and crashed the record
14
+ detail view (`TypeError: titleFormat.replace is not a function`) and printed
15
+ `Failed to evaluate expression: ${[object Object]}` for every action visibility
16
+ predicate.
17
+ - `@object-ui/core`: `ExpressionEvaluator.evaluate` / `evaluateCondition` now
18
+ unwrap Expression envelopes transparently.
19
+ - `@object-ui/react`: new `toPredicateInput()` helper to safely normalize
20
+ `boolean | string | Expression` predicate inputs into the `${expr}` form
21
+ expected by `useCondition`.
22
+ - `@object-ui/components`: `action-bar`, `action-button`, `action-group`,
23
+ `action-icon`, `action-menu` renderers use `toPredicateInput()` instead of
24
+ template-literal interpolation that produced `${[object Object]}`.
25
+ - `@object-ui/plugin-detail`, `@object-ui/plugin-kanban`,
26
+ `@object-ui/plugin-calendar`, `@object-ui/app-shell`,
27
+ `@object-ui/console`: title-format helpers accept both legacy strings and
28
+ the new `{ source }` envelope.
29
+
30
+ All changes are backward-compatible — legacy bare strings continue to work.
31
+
3
32
  ## 4.0.6
4
33
 
5
34
  ## 4.0.5