Skip to content

chore(deps): upgrade ObjectStack 9.11 → 10.0 (1.3.0)#411

Merged
xuyushun441-sys merged 1 commit into
mainfrom
chore/upgrade-objectstack-10.0.0
Jun 22, 2026
Merged

chore(deps): upgrade ObjectStack 9.11 → 10.0 (1.3.0)#411
xuyushun441-sys merged 1 commit into
mainfrom
chore/upgrade-objectstack-10.0.0

Conversation

@xuyushun441-sys

Copy link
Copy Markdown
Contributor

Summary

Upgrades the platform from ObjectStack 9.11 → 10.0 (first major-line bump). App version 1.2.0 → 1.3.0, manifest specVersion^10.0.0.

A spec-schema diff (9.11 vs 10.0) shows the metadata surface is additive for HotCRM — no metadata edits were required for the new capabilities:

  • new tree view type + TreeConfig (ui)
  • optional readScope/writeScope access-depth on object permissions + new ObjectAccessScope enum (security, ADR-0057)
  • optional currency on Dataset/DatasetMeasure
  • actor/currency on the execution context
  • defaulted surface field on AI Agent/Skill (Zod .default → existing agents/skills validate unchanged)

The one real fix

10.0's build-time expression validator (ADR-0032) now also checks sharing-rule CEL conditions against the object schema. This surfaced a latent dangling reference: the territory sharing rules read record.billing_country, but crm_account has no such field — the country lives inside the structured billing_address (Field.address).

Fix: repoint north_america_territory / europe_territory to record.billing_address.country. No behavioral change (the dangling field matched nothing before; the seed does not populate billing_address), but the metadata is now valid and the rule expresses its stated "by billing country" intent against a real field.

Verification

  • pnpm verify green: validate ✓ · typecheck ✓ · build ✓ · 17/17 tests ✓
  • Browser-verified against @objectstack/* ^10.0.0: login → home → Executive Dashboard (live seeded data US$2.5M YTD, lazy charts render) → Accounts list (5 records) → record detail. No console errors, no failed network requests.

Files

  • package.json (version + 11 deps), objectstack.config.ts, objectstack.manifest.json — version/spec bumps
  • src/sharing/account.sharing.ts — the sharing-rule fix
  • CHANGELOG.md (1.3.0 entry), docs/STATUS.md, docs/MAINTENANCE.md — doc alignment

🤖 Generated with Claude Code

Bump all @objectstack/* deps ^9.11.0 → ^10.0.0; app version 1.2.0 → 1.3.0
(package.json, objectstack.config.ts, manifest specVersion).

The 10.0 metadata surface is additive for HotCRM (new tree view type +
TreeConfig, optional readScope/writeScope on permissions [ADR-0057],
optional currency on datasets, actor/currency on execution context,
defaulted `surface` on AI agents/skills) — no metadata edits required.

The one real break: 10.0's build-time expression validator (ADR-0032)
now also checks sharing-rule CEL conditions against the object schema,
surfacing a latent dangling reference. crm_account has no
`billing_country` field — country lives inside the structured
`billing_address` (Field.address). Repoint the north_america_territory
and europe_territory rules to `record.billing_address.country`. No
behavioral change (the dangling field matched nothing before; seed does
not populate billing_address).

Verified: pnpm verify green (validate, typecheck, build, 17/17 tests).
Browser-verified login → Executive Dashboard (live seeded data, lazy
charts) → Accounts list → record detail; no 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 Jun 22, 2026
@xuyushun441-sys xuyushun441-sys merged commit 4813fe4 into main Jun 22, 2026
6 checks passed
@xuyushun441-sys xuyushun441-sys deleted the chore/upgrade-objectstack-10.0.0 branch June 22, 2026 10:55
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.

2 participants