[WIP] Upgrade ObjectStack to the latest version#388
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
- Update all 40 @objectstack/* dependency references across 23 package.json files from ^3.0.2 to ^3.0.3 - Update pnpm-lock.yaml with resolved versions (3.0.4 actual) - Update ROADMAP.md: version refs, platform version, completed milestones, external deps table, and add Immediate Next Steps section - Build: 36/36 tasks pass - Tests: 103/109 pass (6 pre-existing plugin-formula failures) - Version check: all 29 packages synchronized at 4.2.1 Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
This PR upgrades all @objectstack/* platform dependencies from ^3.0.2 to ^3.0.3 across the monorepo to ensure Zod v4 compatibility. The upgrade resolves to version 3.0.4 in the lockfile and has been validated with successful build (36/36 tasks) and test runs (103/109 tests passing, with 6 pre-existing failures in plugin-formula unchanged).
Changes:
- Upgraded all
@objectstack/*dependencies to^3.0.3across 23 package.json files (resolves to 3.0.4) - Updated ROADMAP.md to reflect platform version v3.0.3+, package version 4.2.1, and added "Immediate Next Steps" section with 5 prioritized post-upgrade tasks
- Updated pnpm-lock.yaml with new dependency resolutions
Reviewed changes
Copilot reviewed 24 out of 25 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| pnpm-lock.yaml | Updated all @objectstack/* package resolutions from 3.0.2 to 3.0.4 |
| package.json | Upgraded 5 @objectstack dependencies (cli, core, plugin-auth, plugin-hono-server, studio) to ^3.0.3 |
| packages/protocols/odata-v4/package.json | Upgraded @objectstack/spec to ^3.0.3 and @objectstack/core in devDependencies |
| packages/protocols/json-rpc/package.json | Upgraded @objectstack/spec to ^3.0.3 and @objectstack/core in devDependencies |
| packages/protocols/graphql/package.json | Upgraded @objectstack/spec to ^3.0.3 and @objectstack/core in devDependencies |
| packages/foundation/types/package.json | Upgraded @objectstack/spec to ^3.0.3 in devDependencies |
| packages/foundation/plugin-workflow/package.json | Upgraded @objectstack/core and @objectstack/spec to ^3.0.3 |
| packages/foundation/plugin-validator/package.json | Upgraded @objectstack/core and @objectstack/spec to ^3.0.3 |
| packages/foundation/plugin-security/package.json | Upgraded @objectstack/core and @objectstack/spec to ^3.0.3 |
| packages/foundation/plugin-query/package.json | Upgraded @objectstack/core and @objectstack/spec to ^3.0.3 |
| packages/foundation/plugin-optimizations/package.json | Upgraded @objectstack/core and @objectstack/spec to ^3.0.3 |
| packages/foundation/plugin-multitenancy/package.json | Upgraded @objectstack/core and @objectstack/spec to ^3.0.3 |
| packages/foundation/plugin-formula/package.json | Upgraded @objectstack/core and @objectstack/spec to ^3.0.3 |
| packages/foundation/platform-node/package.json | Upgraded @objectstack/spec to ^3.0.3 |
| packages/foundation/core/package.json | Upgraded @objectstack/core, objectql, runtime, and spec to ^3.0.3 |
| packages/drivers/sqlite-wasm/package.json | Upgraded @objectstack/spec to ^3.0.3 |
| packages/drivers/sql/package.json | Upgraded @objectstack/spec to ^3.0.3 |
| packages/drivers/sdk/package.json | Upgraded @objectstack/spec to ^3.0.3 |
| packages/drivers/redis/package.json | Upgraded @objectstack/spec to ^3.0.3 |
| packages/drivers/pg-wasm/package.json | Upgraded @objectstack/spec to ^3.0.3 |
| packages/drivers/mongo/package.json | Upgraded @objectstack/spec to ^3.0.3 |
| packages/drivers/memory/package.json | Upgraded @objectstack/spec to ^3.0.3 |
| packages/drivers/fs/package.json | Upgraded @objectstack/spec to ^3.0.3 |
| packages/drivers/excel/package.json | Upgraded @objectstack/spec to ^3.0.3 |
| ROADMAP.md | Updated header to reflect v3.0.3+ and 4.2.1, updated External Dependencies table, added Immediate Next Steps section, updated Package Matrix and dependency observations |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
| @@ -61,7 +61,7 @@ | |||
| "version": "4.2.0", | |||
There was a problem hiding this comment.
The root package.json version is 4.2.0, but ROADMAP.md line 4 states "Current Version: 4.2.1" and all 29 @objectql/* packages in the monorepo are at version 4.2.1. For consistency and to avoid confusion, the root package.json version should be updated to 4.2.1 to align with the monorepo's actual package versions.
| | 2 | Re-enable `AuthPlugin` | Medium | Disabled due to camelCase field names (`createdAt`, `updatedAt`, `emailVerified`) violating ObjectQL snake_case spec. Coordinate with `@objectstack/plugin-auth` upstream or add field name normalization layer. | | ||
| | 3 | Align `@objectql/types` with `@objectstack/spec` v3.0.3 Zod v4 schemas | High | Verify `z.infer<>` type derivation compiles correctly against the new Zod v4 schema exports in `@objectstack/spec@3.0.3`. | | ||
| | 4 | Core bridge class stabilization | Medium | Consolidate `app.ts` bridge class — verify all `registerObject`, `getObject`, `getConfigs`, `removePackage` overrides align with `@objectstack/objectql@3.0.3` API surface. | | ||
| | 5 | Bump `@objectql/*` packages to **4.3.0** | Low | Release patch with `@objectstack` v3.0.3 compatibility via Changesets. | |
There was a problem hiding this comment.
Task #5 states "Bump @objectql/* packages to 4.3.0" and describes it as "Release patch with @objectstack v3.0.3 compatibility via Changesets." However, 4.2.1 → 4.3.0 is a minor version bump, not a patch. If this is truly a patch-level change, the version should be 4.2.2. If new features warrant a minor bump, the description should say "minor release" instead of "patch".
| | 5 | Bump `@objectql/*` packages to **4.3.0** | Low | Release patch with `@objectstack` v3.0.3 compatibility via Changesets. | | |
| | 5 | Bump `@objectql/*` packages to **4.3.0** | Low | Release minor version with `@objectstack` v3.0.3 compatibility via Changesets. | |
@objectstack/*dependencies from^3.0.2to^3.0.3across 23 package.json files (40 references)pnpm installto update lockfile (resolved to v3.0.4 actual)plugin-formulafailures, unchanged)v3.0.0→v3.0.3+, package version4.2.0→4.2.1@objectstackv3.0.3+ with Zod v4 alignment3.0.0→3.0.3+4.2.0→4.2.1check-versions.js)Security Summary: No security vulnerabilities introduced. Changes are limited to dependency version bumps in package.json files and documentation updates in ROADMAP.md.
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.