Skip to content

chore(deps): upgrade ObjectStack 9.9.1 → 9.11 (1.2.0)#403

Merged
xuyushun441-sys merged 3 commits into
mainfrom
chore/objectstack-9.11-upgrade
Jun 20, 2026
Merged

chore(deps): upgrade ObjectStack 9.9.1 → 9.11 (1.2.0)#403
xuyushun441-sys merged 3 commits into
mainfrom
chore/objectstack-9.11-upgrade

Conversation

@xuyushun441-sys

@xuyushun441-sys xuyushun441-sys commented Jun 20, 2026

Copy link
Copy Markdown
Contributor

Summary

Promotes the in-tree 9.9.1 work to the latest 9.11 line. Bumps all @objectstack/* to ^9.11.0, manifest specVersion ^9.11.0, app 1.2.0.

pnpm verify (validate + typecheck + build + 17 tests) exits 0, and the seed loads clean at boot with no runtime errors.

Rebased onto current main after discovering it had independently landed most of the 9.5→9.9 migration. The namespace-prefixed profiles (#399/#400), removed field display-props, dropped monthsBetween() validation, and case-seed resolution/escalation_reason are already on main — this PR is the focused 9.11 delta on top.

Changes

  • ObjectStack 9.9.1 → 9.11 across all packages.
  • Lifecycle freeze hooks exempt framework-managed columns. 9.x re-stamps owner_id/timestamps via beforeUpdate (post-seed ownership assignment runs at boot). opportunity_lifecycle and quote_workflow now skip owner_id/updated_at/created_by/… in their "closed record" field-freeze, so system writes pass while business-field edits stay blocked — verified: amount on a closed-won opp → 400, next_step200. Without this, every closed/accepted record threw Attempted: owner_id, updated_at during seed.
  • smoke.test.ts flow-count relaxed to >= 16 (pre-existing drift — reminder/recurrence flows pushed the total to 17 without updating the literal).

Verification

Validate + typecheck + build + 17 unit tests green; clean seed boot; earlier full browser walkthrough on identical hook code (login, exec/service dashboards, cases (38) + opportunities (25) lists, record detail, freeze-hook positive/negative via the authenticated REST API).

🤖 Generated with Claude Code

Promotes the in-tree 9.9.1 work to the latest 9.11 line. Bumps all
@objectstack/* to ^9.11.0 (manifest specVersion ^9.11.0, app 1.2.0).
Full pipeline green (validate + typecheck + build + 17 tests) and the seed
loads clean at boot with no runtime errors.

- Lifecycle freeze hooks (opportunity_lifecycle, quote_workflow) now exempt
  framework-managed columns (owner_id, updated_at, created_by, …) from the
  "closed record" field-freeze. 9.x re-stamps ownership/timestamps via
  beforeUpdate (post-seed ownership assignment), which the old guard rejected
  with `Attempted: owner_id, updated_at` on every closed/accepted record.
  Business-field edits on closed records stay blocked (verified: amount write
  on a closed-won opp → 400, next_step → 200).
- smoke.test.ts flow-count assertion relaxed to >= 16 (a pre-existing drift:
  the task reminder/recurrence flows pushed the total to 17 without updating
  the literal). Keeps green as flows are added.

Note: the namespace-prefixed profiles, removed field display-props, dropped
monthsBetween() validation, and case seed resolution/escalation_reason were
already landed on main (#399/#400, 9.8 upgrade, 88e9b91); this change is the
9.11 delta on top.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@xuyushun441-sys
xuyushun441-sys force-pushed the chore/objectstack-9.11-upgrade branch from 185a647 to cdb0dec Compare June 20, 2026 15:31
@github-actions github-actions Bot added documentation Improvements or additions to documentation dependencies configuration labels Jun 20, 2026
@xuyushun441-sys xuyushun441-sys changed the title chore(deps): upgrade ObjectStack 9.4 → 9.11 + metadata migrations (1.2.0) chore(deps): upgrade ObjectStack 9.9.1 → 9.11 (1.2.0) Jun 20, 2026
driver-sql 9.11 pulls in kysely@0.29, which declares engines.node >=22.
With engine-strict=true, `pnpm install --frozen-lockfile` fails on the Node
20 CI matrix. Bumps ci.yml, code-quality.yml, release.yml, .nvmrc, and
package.json engines.node to 22 (the publish workflows already used 22).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@github-actions github-actions Bot added the ci/cd label Jun 20, 2026
CHANGELOG version footers point at /releases/tag/vX, which 404 until each
release is published (v1.0.0 was never cut) — they shouldn't gate CI. Adds
`releases` to the markdown-link-check ignore pattern and the [1.2.0] footer.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@xuyushun441-sys
xuyushun441-sys merged commit 08dfb13 into main Jun 20, 2026
6 checks passed
@xuyushun441-sys
xuyushun441-sys deleted the chore/objectstack-9.11-upgrade branch June 20, 2026 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci/cd configuration dependencies documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants