Skip to content

Releases: zenstackhq/zenstack

ZenStack Release v2.12.3

13 Mar 04:22
a4acf35

Choose a tag to compare

What's Changed

  • Prisma 6.5 support
  • Fixed the issue that @json field 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

07 Mar 18:51
d4fb5ab

Choose a tag to compare

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

04 Mar 00:34
8934679

Choose a tag to compare

What's Changed

  • Intercepting Prisma client extension's $parent property 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

25 Feb 20:56
0107e1c

Choose a tag to compare

What's Changed

  • Prisma 6.4 support
  • A new type helper Enhanced is 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 updateMany on polymorphic models #1998
  • [zmodel] Validate regex correctness in ZModel
  • [password] Fixed the false validation error when @password and @@validate are 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

07 Feb 21:37
584d8af

Choose a tag to compare

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

29 Jan 10:08
a1dfdcd

Choose a tag to compare

What's Changed

  • Prisma 6.3 support

Full Changelog: v2.11.4...v2.11.5

ZenStack Release v2.11.4

17 Jan 01:56
ff393da

Choose a tag to compare

What's Changed

  • Fixed ZModel generation for type definitions.

Full Changelog: v2.11.3...v2.11.4

ZenStack Release v2.11.3

14 Jan 10:30
b220213

Choose a tag to compare

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

13 Jan 06:05
ba80eda

Choose a tag to compare

What's Changed

  • Fixed the issue that createManyAndReturn throws an error when model contains array fields #1955

Full Changelog: v2.11.1...v2.11.2

ZenStack Release v2.11.1

08 Jan 03:46
4b7d813

Choose a tag to compare

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