Skip to content

Commit 283c97c

Browse files
committed
fix(data-objectstack,app-shell): raise the @objectstack/spec floor to ^17.5.0, as ruled (objectui#11073 Q13 = A)
@object-ui/data-objectstack's bundle inlines @object-ui/core's filter converter, which since 865a81d re-exports isRefusedTextComparand and textComparandRefusalReason from @objectstack/spec/data. Those names exist from 17.5.0 only, and the package still declared ^17.4.0: check:spec-floors -- --cross-check read 2 floor-too-low findings, and its answer was "@objectstack/spec": "^17.5.0" (objectui#5793). @object-ui/app-shell rises too, under the same ruling: the designer's screen form declares the create default that the spec applies only since 17.5.0, and objectui#9109 requires the two to be equal. Its zod floor goes to ^4.6.1 with it, per the Q8 ruling. data-objectstack declares no zod. pnpm-lock.yaml: only the three importer specifiers change, regenerated by pnpm install. Resolution census before and after: 895 importer resolutions, same hash; 1767 packages keys and 1115 snapshots keys, same hashes. The 11073 changeset declares '@object-ui/data-objectstack': patch (the objectui#10864 floor-raise precedent) with one bullet, and gains one app-shell bullet; app-shell stays minor. Claude-Session: https://claude.ai/code/session_01TdiauJaVCHuj45EzZGUxHh Co-authored-by: Claude <noreply@anthropic.com>
1 parent 92ac539 commit 283c97c

4 files changed

Lines changed: 9 additions & 6 deletions

File tree

‎.changeset/11073-objectstack-17-5-bump.md‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
'@object-ui/types': minor
33
'@object-ui/core': minor
4+
'@object-ui/data-objectstack': patch
45
'@object-ui/fields': patch
56
'@object-ui/components': patch
67
'@object-ui/plugin-list': patch
@@ -14,8 +15,10 @@ objectui now resolves `@objectstack/*` 17.5.0 and `zod` 4.6.5, and follows every
1415

1516
- `@object-ui/types`: declares `@objectstack/spec ^17.5.0` and `zod ^4.6.1`. A named list view's `pageName` and `tabs` are retired, as the spec retired them: typed `never` and refused by name at parse. `DashboardWidgetSchema` attaches the spec's two new checks (`checkDashboardWidgetStageOrder`, `checkDashboardWidgetMetricMeasureArity`), so a widget the spec refuses is refused here too. Where a strict object is an arm of a plain union, its unknown-key refusal is terminal again (the spec's own mechanism, needed under zod 4.6): the union answers with every arm instead of the one that failed only on unknown keys. That changes the error shape, never the verdict (measured on every objectui union). Two by-name named-view checks that can no longer run are retired; the spec's refusal answers those documents.
1617
- `@object-ui/core`: declares `@objectstack/spec ^17.5.0`. `page` leaves the list-view kinds the normalizer knows, as the spec removed `type: 'page'`. `isRefusedTextComparand` and `textComparandRefusalReason` are re-exported from `@objectstack/spec/data`, whose copies are byte-identical. `SPEC_ACTION_KEYS` lists `execution`, which `ActionSchema` now declares.
18+
- `@object-ui/data-objectstack`: declares `@objectstack/spec ^17.5.0`, up from `^17.4.0`. Its bundle carries `@object-ui/core`'s filter converter, which now takes `isRefusedTextComparand` and `textComparandRefusalReason` from `@objectstack/spec/data`. `@objectstack/spec` 17.4.0 exports neither, so the old range admitted a spec under which the shipped module names exports that are not there (objectui#5793's floor gate). Nothing moves at runtime in this repository, because the lockfile already resolves 17.5.0. `patch`, as the floor raise of objectui#10864 was.
1719
- `@object-ui/fields`: the percent and number `scale` clamp is gone, at the sunset its own test named. The spec now refuses a `scale` above 100 at the declaration, so the width a formatter cannot render no longer arrives, and every face passes the declared width through as it did before the clamp.
1820
- `@object-ui/components`: two module-local prop interfaces of the action renderers are renamed (`ActionButtonRendererProps`, `ActionIconRendererProps`), because the spec now exports the old names for its authored props. Neither is reachable through the package's exports map; only the shipped per-file declarations change.
1921
- `@object-ui/plugin-list`: the README's view-type example no longer lists the retired `page` kind.
2022
- `@object-ui/app-shell`: the flow designer follows 17.5.0 (maintainer ruling on objectui#11088, decision 2). A new `wait` node is seeded `waitEventConfig: { eventType: 'timer', timerDuration: 'PT1H' }`, because the spec now refuses a timer wait with no duration; the inspector shows the Duration at once and it can be changed. The decision form offers the spec's new `mode` (exclusive or inclusive), with no default declared because the spec applies none. The screen form's `mode` states `create` again, because the spec now applies that default. `minor` because the decision form gains a control.
23+
- `@object-ui/app-shell`: declares `@objectstack/spec ^17.5.0`, up from `^17.4.0`, and `zod ^4.6.1`, up from `^4.4.3`. The designer now states 17.5.0 behaviour. The screen form's declared `create` default equals a default the spec applies only since 17.5.0, and objectui#9109 requires the two to be equal, so a range that admitted 17.4.0 claimed more than the designer holds to. The resolved versions do not move.
2124
- `@object-ui/console`: the bundle inlines the 17.5.0 packages, so its client-side validation answers as the published 17.5.0 contract does. The flow preview sample's script nodes use the 17.5.0 script contract. The eager-closure budget is re-baselined for the release's growth, under the maintainer ruling on objectui#11088 (decision 1).

‎packages/app-shell/package.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,13 +85,13 @@
8585
"@object-ui/types": "workspace:*",
8686
"@objectstack/formula": "^17.0.0",
8787
"@objectstack/lint": "^17.0.0",
88-
"@objectstack/spec": "^17.4.0",
88+
"@objectstack/spec": "^17.5.0",
8989
"@sentry/react": "^10.70.0",
9090
"jsonc-parser": "^3.3.1",
9191
"lucide-react": "^1.43.0",
9292
"qrcode": "^1.5.4",
9393
"sonner": "^2.0.8",
94-
"zod": "^4.4.3"
94+
"zod": "^4.6.1"
9595
},
9696
"peerDependencies": {
9797
"@object-ui/plugin-calendar": "workspace:^",

‎packages/data-objectstack/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"@object-ui/core": "workspace:*",
3333
"@object-ui/types": "workspace:*",
3434
"@objectstack/client": "^17.3.0",
35-
"@objectstack/spec": "^17.4.0"
35+
"@objectstack/spec": "^17.5.0"
3636
},
3737
"devDependencies": {
3838
"@object-ui/test-support": "workspace:*",

‎pnpm-lock.yaml‎

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)