Skip to content

ZenStack Release v2.22.0

Latest

Choose a tag to compare

@ymc9 ymc9 released this 25 Nov 01:55
b53b1cb

What's Changed

  • Expanded Prisma peer dependency version's upper bound to 7.x
  • Made the url field of the datasource block in ZModel optional #2309
  • Fixed an issue that auth types are not properly compiled when used with the "prisma-client" generator #2294
  • Avoid import enums from Prisma modules in generated Zod schemas for better portability #2291
  • Fixed a typing compatibility with Prisma 7 by @jamiter

New Contributors

  • Welcome @jamiter as our new contributor! ❤️

⚠️ Important Notes About Prisma 7

Since ZenStack v3 (now beta) has migrated away from Prisma ORM, we don't plan to continue following Prisma's version updates on the v2 track. Although you can install the latest version of ZenStack with Prisma 7, support is not systematically tested nor planned (though the main features seem to work well). We may continue fixing small issues to unblock important use cases, but it'll be on a best-effort basis.

We understand this decision may be inconvenient for some of ZenStack's users, but as an independent team, we don't have influence over Prisma's architecture changes, and it's a significant effort to continue supporting a new major. Please follow the news about v3 and evaluate if an upgrade is viable for you. Thank you for putting confidence into ZenStack!

Full Changelog: v2.21.1...v2.22.0