Skip to content

chore: upgrade @objectstack 8.0.1 β†’ 9.0.0 - #25

Merged
os-zhuang merged 1 commit into
mainfrom
chore/upgrade-objectstack-9.0.0
Jun 11, 2026
Merged

os-zhuang merged 1 commit into
mainfrom
chore/upgrade-objectstack-9.0.0

Conversation

@os-zhuang

Copy link
Copy Markdown
Contributor

Upgrades all templates to ObjectStack v9 per the v9 release notes.

Changes

  • Version bump β€” every @objectstack/* dependency β†’ ^9.0.0 across all packages.
  • Analytics single-form cutover (ADR-0021) β€” removed the inline analytics-authoring props v9 deletes from the spec (object / aggregate / valueField / categoryField) from every dashboard widget. Widgets now bind solely via dataset + values/dimensions.
  • Date bucketing relocation β€” moved categoryGranularity (also removed from the v9 widget spec) onto the dataset dimension's dateGranularity. Fixed content_metric.period_start dimension type string β†’ date (the underlying field is Field.date).
  • Cleanup β€” removed the orphaned npm package-lock.json in packages/project (the repo is a pnpm workspace).

Not applicable (checked, no changes needed)

  • Removed chart types (grouped-bar, etc.) β€” none in use.
  • OS_-prefixed env var rename β€” no settings env references in the repo.
  • @object-ui/plugin-workflow removal β€” not a dependency.

Verification

  • βœ… pnpm -r typecheck β€” clean against v9 types
  • βœ… os validate β€” all 9 packages pass
  • βœ… pnpm -r build β€” all packages build; artifacts free of removed props
  • βœ… Browser (pnpm dev:all, all 11 apps composed):
    • Dashboards render with live dataset-resolved data; metric cards show real values.
    • Select-field display labels render (sentiment / channel / status / category) β€” v9 feature.
    • Month/day bucketing confirmed via /analytics/dataset/query: reimbursed_at β†’ "2026-05"; fields[].label present.
    • All widget analytics/dataset/query calls return 200, zero console errors.

Follow-up (out of scope, tracked separately)

  • Several type:'table' dashboard widgets bound to aggregate datasets now render a single count; per ADR-0021/ADR-0017 these record-listing tables should become ListView.

πŸ€– Generated with Claude Code

Upgrade all templates to ObjectStack v9 per the v9 release notes
(https://docs.objectstack.ai/docs/releases/v9).

- Bump every `@objectstack/*` dependency to ^9.0.0 across all packages
- Analytics single-form cutover (ADR-0021): remove the inline analytics
  authoring props that v9 deletes from the spec
  (`object`/`aggregate`/`valueField`/`categoryField`) from every dashboard
  widget; widgets now bind solely via `dataset` + `values`/`dimensions`
- Move date bucketing off the widget (`categoryGranularity`, also removed
  in v9) onto the dataset dimension's `dateGranularity`; fix the
  `content_metric.period_start` dimension type from `string` to `date`
- Remove the orphaned npm package-lock.json in packages/project (pnpm
  workspace uses the root pnpm-lock.yaml)

Verified: `pnpm -r typecheck`, `os validate` (9 packages), and
`pnpm -r build` all pass. Browser-verified the composed dev environment
(`pnpm dev:all`): dashboards render with live dataset-resolved data,
select-field display labels, and month/day date bucketing
(reimbursed_at β†’ "2026-05"); all widget /analytics/dataset/query calls
return 200 with no console errors.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@os-zhuang
os-zhuang merged commit 9093859 into main Jun 11, 2026
0 of 2 checks passed
@os-zhuang
os-zhuang deleted the chore/upgrade-objectstack-9.0.0 branch June 11, 2026 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant