Skip to content

ZenStack Release v2.8.0

Compare
Choose a tag to compare
@ymc9 ymc9 released this 06 Nov 04:23
· 46 commits to main since this release
59fe945

New Features

  • 💪 Strongly typed JSON fields! #784 doc

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
  • Custom attributes in ZModel are not automatically passed along to the generated Prisma schema as comments. Use the "customAttributesAsComments" plugin option to enable that behavior 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