chore(deps): upgrade ObjectStack 9.11 → 10.0 (1.3.0)#411
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
treeview type +TreeConfig(ui)readScope/writeScopeaccess-depth on object permissions + newObjectAccessScopeenum (security, ADR-0057)currencyonDataset/DatasetMeasureactor/currencyon the execution contextsurfacefield on AIAgent/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, butcrm_accounthas no such field — the country lives inside the structuredbilling_address(Field.address).Fix: repoint
north_america_territory/europe_territorytorecord.billing_address.country. No behavioral change (the dangling field matched nothing before; the seed does not populatebilling_address), but the metadata is now valid and the rule expresses its stated "by billing country" intent against a real field.Verification
pnpm verifygreen: validate ✓ · typecheck ✓ · build ✓ · 17/17 tests ✓@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 bumpssrc/sharing/account.sharing.ts— the sharing-rule fixCHANGELOG.md(1.3.0 entry),docs/STATUS.md,docs/MAINTENANCE.md— doc alignment🤖 Generated with Claude Code