Skip to content

chore(deps): align ORM with CLI engine 0.6.3 and ArkType 2.2.7 - #30624

Closed
AmanVarshney01 wants to merge 3 commits into
mainfrom
codex/use-cli-engine-0-6-3
Closed

AmanVarshney01 wants to merge 3 commits into
mainfrom
codex/use-cli-engine-0-6-3

Conversation

@AmanVarshney01

@AmanVarshney01 AmanVarshney01 commented Oct 6, 2026 •

Copy link
Copy Markdown
Member

Align the ORM command family with the published CLI engine 0.6.3.

The engine fixes the ArkType mismatch behind failed orm init / contract emit in fresh installs. The ORM must also use the same compatible ArkType minimum: updating only the engine pin reproduced TS2742 in ormConfigSchema, with the build trying to expose a second ArkType copy from a pnpm-internal path.

This updates the engine peer/build/test pins together and raises the existing ArkType ranges and catalog to ^2.2.7. No schema workarounds, type casts, overrides, or validation changes.

Required for prisma/prisma-cli#332. Companion update: prisma/composer#339. Engine release: https://github.com/prisma/prisma-cli/actions/runs/37510386018.

Verified:

  • All public-package builds (83 successful build tasks).
  • Init/emit tests: 87 passed across five files.
  • Config-loader tests: 88 passed.
  • CLI and config-loader typechecks, root lint, and frozen offline installation.
  • The CLI, config-loader and SQL contract resolve the same ArkType instance as the engine.
  • Publication conformance: all 16 public tarballs checked, including a clean toolchain install and all exported entrypoints.
  • The JSON extension's existing tilde patch range now also starts at 2.2.7; its 56 tests pass. The affected E2E/integration typechecks pass, and real PostgreSQL and SQLite contract emission reproduces the committed fixtures without changes.

This does not bump the ORM release version. The subsequent ORM release must publish these exact peers before the unified CLI can consume it.

Summary by CodeRabbit

  • Chores
    • Updated the versions of validation and CLI tooling used across the framework, extensions, adapters, examples, and test fixtures.
    • Updated the CLI version required by the public toolchain package.
  • Documentation
    • Updated the documented ArkType version range for the ArkType JSON extension.

Signed-off-by: Aman Varshney <amanvarshney.work@gmail.com>
@AmanVarshney01
AmanVarshney01 requested a review from a team as a code owner October 6, 2026 19:03
@coderabbitai

coderabbitai Bot commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository: prisma/orm/.coderabbit.yml
  • Review profile: CHILL
  • Plan: Essentials
  • Run ID: b49c7698-017e-4e34-9e0f-693e5f42636f
📥 Commits

Reviewing files that changed from the base of the PR and between d5e366a and 5ae9bef.

📒 Files selected for processing (1)
  • upgrade-instructions/pending/shared-arktype-engine-pins/extension/instructions.md

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 7 remain after this review.


📝 Walkthrough

Walkthrough

Dependency requirements for arktype and @prisma/cli-engine changed across workspace packages, examples, public packages, and test fixtures. The arktype-json compatibility documentation was also updated.

Changes

Workspace dependency updates

Layer / File(s) Summary
Update arktype requirements
pnpm-workspace.yaml, packages/**/package.json, examples/*/package.json, packages/3-extensions/arktype-json/README.md, upgrade-instructions/pending/shared-arktype-engine-pins/extension/instructions.md
Updated arktype ranges to ^2.2.7 or ~2.2.7. The compatibility guidance now lists ~2.2.7; the upgrade-instructions file adds YAML front matter with an empty changes list.
Update CLI engine requirements
apps/*/package.json, examples/*/package.json, packages/**/package.json, test/**/package.json
Updated @prisma/cli-engine dependency declarations from 0.6.2 to 0.6.3, including development and peer dependencies.

Priority: ⬆️ High

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Other

Suggested reviewers: wmadden-electric

Merge Risk: ⚪ Minimal · up to 5ae9b

The updated dependency declarations and lockfile align for the affected packages. No actionable merge risk is established by the reviewed changes.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly summarizes the dependency updates by naming the ORM, CLI engine 0.6.3, and ArkType 2.2.7.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@pkg-pr-new

pkg-pr-new Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

@prisma/orm-extension-arktype-json

npm i https://pkg.pr.new/@prisma/orm-extension-arktype-json@30624

@prisma/orm-extension-middleware-cache

npm i https://pkg.pr.new/@prisma/orm-extension-middleware-cache@30624

@prisma/orm-extension-paradedb

npm i https://pkg.pr.new/@prisma/orm-extension-paradedb@30624

@prisma/orm-extension-pgvector

npm i https://pkg.pr.new/@prisma/orm-extension-pgvector@30624

@prisma/orm-extension-postgis

npm i https://pkg.pr.new/@prisma/orm-extension-postgis@30624

@prisma/orm-extension-supabase

npm i https://pkg.pr.new/@prisma/orm-extension-supabase@30624

@prisma/orm-family-mongo

npm i https://pkg.pr.new/@prisma/orm-family-mongo@30624

@prisma/orm-family-sql

npm i https://pkg.pr.new/@prisma/orm-family-sql@30624

@prisma/orm-framework

npm i https://pkg.pr.new/@prisma/orm-framework@30624

@prisma/orm-mongo

npm i https://pkg.pr.new/@prisma/orm-mongo@30624

@prisma/orm-postgres

npm i https://pkg.pr.new/@prisma/orm-postgres@30624

@prisma/orm-sqlite

npm i https://pkg.pr.new/@prisma/orm-sqlite@30624

@prisma/orm-target-mongo

npm i https://pkg.pr.new/@prisma/orm-target-mongo@30624

@prisma/orm-target-postgres

npm i https://pkg.pr.new/@prisma/orm-target-postgres@30624

@prisma/orm-target-sqlite

npm i https://pkg.pr.new/@prisma/orm-target-sqlite@30624

@prisma/orm-toolchain

npm i https://pkg.pr.new/@prisma/orm-toolchain@30624

commit: 5ae9bef

@github-actions

github-actions Bot commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size
postgres / no-emit 222.32 KB (+0.18% 🔺)
postgres / emit 198.97 KB (+0.24% 🔺)
mongo / no-emit 197.7 KB (+0.23% 🔺)
mongo / emit 176.4 KB (+0.24% 🔺)
cf-worker / no-emit 279.41 KB (+0.18% 🔺)
cf-worker / emit 253.38 KB (+0.18% 🔺)

…sion

Signed-off-by: Aman Varshney <amanvarshney.work@gmail.com>
Signed-off-by: Aman Varshney <amanvarshney.work@gmail.com>
@AmanVarshney01

Copy link
Copy Markdown
Member Author

this stupid chat gpt

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.

1 participant