Skip to content

feat!: upgrade ObjectStack platform 14.7 → 16.0.0-rc.1 (spec 16)#457

Merged
os-zhuang merged 1 commit into
mainfrom
chore/objectstack-16-rc1
Jul 20, 2026
Merged

feat!: upgrade ObjectStack platform 14.7 → 16.0.0-rc.1 (spec 16)#457
os-zhuang merged 1 commit into
mainfrom
chore/objectstack-16-rc1

Conversation

@os-zhuang

Copy link
Copy Markdown
Contributor

What

Upgrades the ObjectStack platform 14.7 → 16.0.0-rc.1 (crossing the entire 15.x line). App → 2.2.0, manifest specVersion^16.0.0-rc.1. All 11 @objectstack/* packages pinned to the exact RC.

Rebased onto current main, so the agent visibility removal (#449) is already present upstream and is a no-op here.

Breaking / behavioural changes migrated

  • Drop ai from stack requires. ObjectStack 11.3.0 (ADR-0025 S2) removed @objectstack/service-ai from the open edition (AI runtime is cloud-only; last open-registry version is 10.3.0). Under 16, requires: ['ai'] is fail-fastserve hard-aborts boot when the package is absent, so objectstack start/dev broke with [AI] required but @objectstack/service-ai is not installed. The AI metadata (2 agents + skills) still validates and ships in the artifact; a local open-edition boot simply omits the AI service. (Never caught before because verify never boots.)

Dashboard fixes (found by rendering the app, not by verify)

  • dateRange picker crashed widgets on objects without the bound field. ObjectStack 15 (framework#2501) wired dashboard filters into every widget's analytics query. Executive/CRM bind dateRange to close_date, which only crm_opportunity has → widgets on crm_account/crm_contact/crm_lead/crm_product failed with SqliteError: no such column: close_date. Opted them out via filterBindings: { dateRange: false } (5 on executive, 1 on crm). Sales (all-opportunity) and Service (dateRange: created_date, which crm_case has) needed no change.
  • Removed dead dashboard header buttons. Export PDF / Schedule Email / Customize / New-record / /reports/* links pointed at actions and routes that were never implemented (did nothing on click). Removed header.actions from all 4 dashboards + the orphaned action-label translations from all 4 locale bundles.

Verification

  • validate + typecheck + build + vitest (17/17) green.
  • Server boots (38 plugins); all 4 dashboards render with live seeded data and zero analytics/console errors (logged in as seed admin, loaded each dashboard).

Notes

🤖 Generated with Claude Code

Bump all 11 @objectstack/* packages to 16.0.0-rc.1 (pinned exact for the RC),
crossing the entire 15.x line. App → 2.2.0, manifest specVersion → ^16.0.0-rc.1.

Breaking / behavioural changes migrated:
- Drop `ai` from stack `requires`: ObjectStack 11.3.0 (ADR-0025 S2) removed
  @objectstack/service-ai from the open edition (AI runtime is cloud-only now),
  and under 16 `requires: ['ai']` is a fail-fast capability that hard-aborts
  boot when the package is absent. Agents/skills metadata still ship in the
  artifact; local open-edition boot omits the AI service.
- The agent `visibility` removal (spec 15 / ADR-0056 D8) already landed on main
  via #449, so this branch (rebased onto it) is a no-op there.

Dashboard fixes (found by rendering the app, not by `verify`):
- dateRange picker now filters every widget query (ObjectStack 15, framework#2501);
  widgets on objects without the bound field (crm_account/contact/lead/product,
  no close_date) crashed with `no such column`. Opt them out via
  filterBindings: { dateRange: false }.
- Remove non-functional dashboard header action buttons (Export PDF / Schedule
  Email / Customize / New-record / broken /reports links) from all 4 dashboards
  and the orphaned action-label translations from all 4 locale bundles.

Toolchain: install under Node 22 (.nvmrc) — nanoid@6 engines + engine-strict
reject the environment's odd-numbered Node 25.

Verified: validate + typecheck + build + vitest (17/17) green; server boots
(38 plugins); all 4 dashboards render with live seeded data and zero analytics/
console errors.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@github-actions github-actions Bot added documentation Improvements or additions to documentation dependencies configuration labels Jul 20, 2026
@os-zhuang
os-zhuang merged commit 4e6b91c into main Jul 20, 2026
5 checks passed
@os-zhuang
os-zhuang deleted the chore/objectstack-16-rc1 branch July 20, 2026 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

configuration dependencies documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant