Skip to content

Remove the deprecated defineConfig alias before launch - #228

Closed
wmadden-electric wants to merge 1 commit into
mainfrom
remove-deprecated
Closed

Remove the deprecated defineConfig alias before launch#228
wmadden-electric wants to merge 1 commit into
mainfrom
remove-deprecated

Conversation

@wmadden-electric

Copy link
Copy Markdown
Contributor

The engine's deprecated defineConfig re-export of definePrismaConfig was the only @deprecated surface in the repository, and nothing consumes it: prisma/config re-exports definePrismaConfig by name, and the composer/ORM families' same-named helpers are their own, not imports of the engine's. Removed ahead of launch, riding the in-flight unpublished engine 0.2.3 so no additional release chain is needed. Tests and doc prose follow.

🤖 Generated with Claude Code

The engine's deprecated defineConfig re-export of definePrismaConfig
was the only @deprecated surface in the repo. Nothing imports it: the
prisma/config entry point re-exports definePrismaConfig by name, and
the composer and ORM families' same-named helpers are their own. It
rides the in-flight, unpublished engine 0.2.3, so no extra release
chain. Doc prose that still said defineConfig now names
definePrismaConfig.

Signed-off-by: willbot <w.a.madden+machine@gmail.com>
Signed-off-by: Will Madden <madden@prisma.io>
@coderabbitai

coderabbitai Bot commented Aug 25, 2026

Copy link
Copy Markdown

Warning

Review limit reached

Next included review available in 7 minutes.

View limit details

Limit details: You’ve used the included review currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: b579e3e4-21f1-4cc4-bb48-6a9944bdc8bd

📥 Commits

Reviewing files that changed from the base of the PR and between d2b6b20 and 2b1d653.

📒 Files selected for processing (5)
  • packages/cli-engine/src/config-loader.ts
  • packages/cli-engine/src/exports/index.ts
  • packages/cli-engine/src/runtime.ts
  • packages/cli-engine/tests/config.test.ts
  • packages/cli-engine/tests/engine.test.ts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

@pkg-pr-new

pkg-pr-new Bot commented Aug 25, 2026

Copy link
Copy Markdown

Open in StackBlitz

npx https://pkg.pr.new/@prisma/cli@228
npx https://pkg.pr.new/@prisma/cli-engine@228

commit: 2b1d653

@wmadden-electric

Copy link
Copy Markdown
Contributor Author

Folded into the config-file-resolution PR per operator instruction; this branch is superseded.

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