New Features
Fixes and Improvements
- Cleaned up documentation comments handling in ZModel. Both triple-slash and JS-doc style comments will appear in IDE hover tooltip. Only triple-slash comments are passed along to the generated Prisma schema. doc
- Fixed the issue that
@@index
attribute is incorrectly inherited from delegate base models #1786 - The permission-checking API now respects policies delegated through the
check()
policy function #1612 - Fixed Prisma schema generation error when self-relations are used with delegate models #1764
- Fixed potential null-field-access in hooks
- The
zenstack repl
CLI command now supports loading ZenStack-generated modules from a custom location #1768 docs - Fixed incorrect Prisma query when querying a delegate model with an array
orderBy
clause #1755 - Prisma 5.22 support
Full Changelog: v2.7.5...v2.8.0