Releases: zenstackhq/zenstack
Releases · zenstackhq/zenstack
ZenStack Release v2.12.3
What's Changed
- Prisma 6.5 support
- Fixed the issue that
@jsonfield cannot use JSON string as default value by @diesal11 #2039 - Fixed zod generation issue with JSON list fields by @diesal11 #2039
Full Changelog: v2.12.2...v2.12.3
ZenStack Release v2.12.2
What's Changed
- [zod] Fixed incorrect schema field generation when delegate models and compound unique fields are used together #2028 by @diesal11
Full Changelog: v2.12.1...v2.12.2
ZenStack Release v2.12.1
What's Changed
- Intercepting Prisma client extension's
$parentproperty and return enhanced PrismaClient by @Gabrola - Fixed the issue that installing Prisma client extensions causes losing some ZenStack enhancements #2014 by @Gabrola
- Refixed #1997 about injecting default foreign key values in nested creates
Full Changelog: v2.12.0...v2.12.1
ZenStack Release v2.12.0
What's Changed
- Prisma 6.4 support
- A new type helper
Enhancedis added to infer the ZenStack-enhanced PrismaClient typing doc - [json type] Fixed incorrect incorrect typing of mutation payload #1991
- [delegate] Fixed unique constraint name conflict issue in generated Prisma schema #1992 by @diesal11
- [policy] Fixed the issue that foreign key with default value is incorrectly set in a nested create context #1997 by @Gabrola
- [zod] Clean up Zod schemas to exclude auxiliary fields generated for polymorphic models #1993
- [delegate] Fixed error when executing
updateManyon polymorphic models #1998 - [zmodel] Validate regex correctness in ZModel
- [password] Fixed the false validation error when
@passwordand@@validateare used on the same model #2000 - [policy] Fixed the false policy rejection involving field-level policies and nested updated #2007
New Contributors
Welcome @diesal11 and @Gabrola as our new contributors ❤️!
Full Changelog: v2.11.6...v2.12.0
ZenStack Release v2.11.6
What's Changed
- Improving query performance by only selecting fields for evaluating field-level policies only if the corresponding field is selected #1978
Full Changelog: v2.11.5...v2.11.6
ZenStack Release v2.11.5
ZenStack Release v2.11.4
ZenStack Release v2.11.3
What's Changed
- Support for Prisma 6.2's new updateManyAndReturn
- When a field has a default value involving
auth(), a dummy default value is generated in the logical prisma schema to indicate the field doesn't require a value during create
Full Changelog: v2.11.2...v2.11.3
ZenStack Release v2.11.2
What's Changed
- Fixed the issue that
createManyAndReturnthrows an error when model contains array fields #1955
Full Changelog: v2.11.1...v2.11.2
ZenStack Release v2.11.1
What's Changed
- Updated max supported Prisma version to 6.2.x
- Added the new ulid() attribute function
NOTE:
Prisma 6.2 added a new updateManyAndReturn API to PrismaClient. This API is not supported by ZenStack-enhanced PrismaClient yet. We'll complete the adaptation and testing soon.
Full Changelog: v2.11.0...v2.11.1