Skip to content

ZenStack Release v1.0.0-beta.8

Choose a tag to compare

@ymc9 ymc9 released this 09 Jul 11:32
· 897 commits to main since this release
7878329

Fixes and Improvements

  • New option for ExpressJS server adapter to control whether the middleware should send a response or just compute it. Docs. #531
  • Fixed invalid Prisma query generated when doing nested update for models with multiple ID fields #552
  • Allow to use a custom fetch function when using SWR and TanStack Query hooks #542 #541
  • Removed unnecessary peer dependencies to Prisma which caused Zod compilation issues when using pnpm #560
  • Add type annotation to generated zod schemas to make tsc happy in pnpm workspace environment
  • Add "interactiveTransactions" preview features flag when a low Prisma version (< 4.7.0) is detected #508
  • Fixed problem that "_count" selection in find queries are not subject to "read" policy filtering

Breaking Changes

  • When connecting two models (with create, update, etc. calls) with implicit many-to-many relationship, previously ZenStack didn't check if the model being connected passes "update" check. This is now tightened up. Please note that this only affects implicit many-to-many relationships.

Thanks @chemitaxis for the continuous contribution! 🙏🏻

Full Changelog: v1.0.0-beta.3...v1.0.0-beta.7