Skip to content

[WIP] Upgrade to latest version of @objectstack with plugin-auth#369

Merged
hotlong merged 2 commits intomainfrom
copilot/upgrade-objectstack-to-latest
Feb 10, 2026
Merged

[WIP] Upgrade to latest version of @objectstack with plugin-auth#369
hotlong merged 2 commits intomainfrom
copilot/upgrade-objectstack-to-latest

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Feb 10, 2026

  • Analyze current @objectstack dependency versions (all at ^2.0.3)
  • Identify latest versions available (all at 2.0.5)
  • Analyze @objectstack/plugin-auth package (new plugin to add)
  • Upgrade @objectstack/spec from ^2.0.3 to ^2.0.5 in all 19 packages
  • Upgrade @objectstack/core from ^2.0.3 to ^2.0.5 in all 7 packages
  • Upgrade @objectstack/runtime from ^2.0.3 to ^2.0.5 in @objectql/core
  • Upgrade @objectstack/objectql from ^2.0.3 to ^2.0.5 in @objectql/core
  • Upgrade @objectstack/cli from 2.0.3 to 2.0.5 in root package.json
  • Upgrade @objectstack/core from 2.0.3 to 2.0.5 in root package.json
  • Upgrade @objectstack/plugin-hono-server from ^2.0.3 to ^2.0.5 in root package.json
  • Upgrade @objectstack/studio from ^2.0.3 to ^2.0.5 in root package.json
  • Add @objectstack/plugin-auth ^2.0.5 to root package.json devDependencies
  • Add AuthPlugin import and configuration in objectstack.config.ts
  • Run pnpm install to update lock file
  • Verify build passes (34/34 packages)
  • Verify tests pass (87/87 test files, 1845 passed, 101 skipped)
  • Code review — no issues found
  • Security scan (CodeQL) — no alerts

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

@vercel
Copy link
Copy Markdown

vercel Bot commented Feb 10, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
objectql Ready Ready Preview, Comment Feb 10, 2026 5:12pm

Request Review

…objectstack/plugin-auth

Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
@hotlong hotlong marked this pull request as ready for review February 10, 2026 17:15
Copilot AI review requested due to automatic review settings February 10, 2026 17:15
@hotlong hotlong merged commit e36f9a0 into main Feb 10, 2026
3 checks passed
@hotlong hotlong deleted the copilot/upgrade-objectstack-to-latest branch February 10, 2026 17:15
Copilot AI requested a review from hotlong February 10, 2026 17:16
Copilot stopped work on behalf of hotlong due to an error February 10, 2026 17:16
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR upgrades the monorepo’s @objectstack/* dependencies from 2.0.3 to 2.0.5 and introduces @objectstack/plugin-auth, wiring it into the runtime configuration.

Changes:

  • Bump @objectstack/{spec,core,runtime,objectql,cli,studio,plugin-hono-server} to 2.0.5 across affected packages.
  • Add @objectstack/plugin-auth@^2.0.5 and register AuthPlugin in objectstack.config.ts.
  • Update pnpm-lock.yaml to reflect the new versions and transitive dependency graph.

Reviewed changes

Copilot reviewed 22 out of 23 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
pnpm-lock.yaml Lockfile updates for @objectstack/*@2.0.5 and new @objectstack/plugin-auth transitive deps
package.json Root dependency bumps and addition of @objectstack/plugin-auth
objectstack.config.ts Registers AuthPlugin with basePath: '/api/v1/auth'
packages/protocols/odata-v4/package.json Bumps @objectstack/spec and @objectstack/core to ^2.0.5
packages/protocols/json-rpc/package.json Bumps @objectstack/spec and @objectstack/core to ^2.0.5
packages/protocols/graphql/package.json Bumps @objectstack/spec and @objectstack/core to ^2.0.5
packages/foundation/types/package.json Bumps @objectstack/spec to ^2.0.5
packages/foundation/plugin-workflow/package.json Bumps @objectstack/{core,spec} to ^2.0.5
packages/foundation/plugin-validator/package.json Bumps @objectstack/{core,spec} to ^2.0.5
packages/foundation/plugin-security/package.json Bumps @objectstack/{core,spec} to ^2.0.5
packages/foundation/plugin-multitenancy/package.json Bumps @objectstack/{core,spec} to ^2.0.5
packages/foundation/plugin-formula/package.json Bumps @objectstack/{core,spec} to ^2.0.5
packages/foundation/platform-node/package.json Bumps @objectstack/spec to ^2.0.5
packages/foundation/core/package.json Bumps @objectstack/{core,objectql,runtime,spec} to ^2.0.5
packages/drivers/sqlite-wasm/package.json Bumps @objectstack/spec to ^2.0.5
packages/drivers/sql/package.json Bumps @objectstack/spec to ^2.0.5
packages/drivers/sdk/package.json Bumps @objectstack/spec to ^2.0.5
packages/drivers/redis/package.json Bumps @objectstack/spec to ^2.0.5
packages/drivers/pg-wasm/package.json Bumps @objectstack/spec to ^2.0.5
packages/drivers/mongo/package.json Bumps @objectstack/spec to ^2.0.5
packages/drivers/memory/package.json Bumps @objectstack/spec to ^2.0.5
packages/drivers/fs/package.json Bumps @objectstack/spec to ^2.0.5
packages/drivers/excel/package.json Bumps @objectstack/spec to ^2.0.5
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

Comment thread pnpm-lock.yaml
Comment on lines +3837 to +3838
vitest: ^2.0.0 || ^3.0.0 || ^4.0.0
vue: ^3.0.0
Copy link

Copilot AI Feb 10, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

better-auth@1.4.18 declares an (optional) peer dependency on vitest ^2 || ^3 || ^4, but the lockfile resolves it with vitest@1.6.1. Even if tests currently pass, this will produce a peer-dependency mismatch and can break any better-auth Vitest integrations/utilities; consider upgrading Vitest to a supported major or adjusting dependency resolution so vitest@1.x is not used to satisfy this peer.

Copilot uses AI. Check for mistakes.
Comment thread package.json
Comment on lines +37 to +40
"@objectstack/cli": "2.0.5",
"@objectstack/core": "2.0.5",
"@objectstack/plugin-auth": "^2.0.5",
"@objectstack/plugin-hono-server": "^2.0.5",
Copy link

Copilot AI Feb 10, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding @objectstack/plugin-auth pulls in transitive dependencies that require Node >= 20.19.0 (see lockfile entries like @noble/ciphers). If this repo intends to support earlier Node 20 minors (or Node 18+ as some tooling suggests), consider declaring/enforcing the actual minimum Node version at the root (e.g. package.json#engines / CI pinning) to prevent install/runtime surprises.

Copilot uses AI. Check for mistakes.
Comment thread pnpm-lock.yaml
Comment on lines +2136 to +2146
'@noble/ciphers@2.1.1':
resolution: {integrity: sha512-bysYuiVfhxNJuldNXlFEitTVdNnYUc+XNJZd7Qm2a5j1vZHgY+fazadNFWFaMK/2vye0JVlxV3gHmC0WDfAOQw==}
engines: {node: '>= 20.19.0'}

'@noble/hashes@1.8.0':
resolution: {integrity: sha512-jCs9ldd7NwzpgXDIf6P3+NrHh9/sD6CQdxHyjQI+h/6rDNo88ypBxxz45UDuZHz9r3tNz7N/VInSVoVdtXEI4A==}
engines: {node: ^14.21.3 || >=16}

'@noble/hashes@2.0.1':
resolution: {integrity: sha512-XlOlEbQcE9fmuXxrVTXCTlG2nlRXa9Rj3rr5Ue/+tX+nmkgbX720YHh0VR3hBF9xDvwnb8D2shVGOwNx+ulArw==}
engines: {node: '>= 20.19.0'}
Copy link

Copilot AI Feb 10, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The newly introduced transitive deps @noble/ciphers@2.1.1 and @noble/hashes@2.0.1 require Node >= 20.19.0 (per their engines fields). This effectively raises the minimum Node runtime for installs using this lockfile; please pin/communicate a compatible Node version (e.g. via package.json#engines and/or CI setup-node), otherwise contributors on older Node 20 minors will fail pnpm install.

Copilot uses AI. Check for mistakes.
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.

3 participants