Skip to content

v0.13.0-dev.9

@wmadden-electric wmadden-electric tagged this 10 Jun 13:47
## Summary

- Add `// use prisma-next` pragma to the top of inferred contract.prisma
files
- Makes it explicit that inferred PSL contracts should be used with the
prisma-next toolchain
- Updated tests to verify the pragma is present

## Test plan

- [x] PSL printer tests pass (55 tests)
- [x] Contract infer journey test passes with new pragma verification
- [x] All integration tests pass (123 tests across 41 test files)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **New Features**
* Generated schema/contract files now include a top-line `// use
prisma-next` pragma.

* **Tests**
* Updated snapshots and end-to-end assertions to expect the new pragma
in printed outputs.
* Test harness configs simplified by removing a legacy test-workaround
setting.

* **Chores**
  * Workspace package pin bumped and release-exclusion rules added.

* **Documentation**
  * Note added clarifying the removal of the temporary test-workaround.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Signed-off-by: Will Madden <madden@prisma.io>
Co-authored-by: Will Madden <madden@prisma.io>
Co-authored-by: Claude Haiku 4.5 <noreply@anthropic.com>
Assets 2
Loading