Skip to content

Releases: zenstackhq/zenstack

ZenStack Release v2.16.1

07 Jul 04:05
b73b3de
Compare
Choose a tag to compare

What's Changed

  • Fixed the issue that when "prisma-client" generator is used, JSON types are not generated by @genu #2168
  • Cleaned up more dependencies by @DoctorFTB

Full Changelog: v2.16.0...v2.16.1

ZenStack Release v2.16.0

21 Jun 06:23
9596d33
Compare
Choose a tag to compare

New Features

  • Prisma 6.10.x support.
  • Support for the new "prisma-client" generator introduced since Prisma 6.6 #2093 #2135 doc
  • Added a new runtime option to control toggle data validation behavior and let it only check fields included in the input data #2025 doc

Fixes and Improvements

  • Fixed wrong validation errors in IDEs about declarations in stdlib.zmodel.
  • Cleaned up many small npm dependencies by @DoctorFTB

Full Changelog: v2.15.1...v2.16.0

ZenStack Release v2.15.1

03 Jun 17:44
19f4870
Compare
Choose a tag to compare

What's Changed

  • Custom plugins can now use the preprocessor option to run before built-in plugins by @chunkerchunker docs
  • Fixed a typing error in the generated Enhanced utility type

Full Changelog: v2.15.0...v2.15.1

v2.15.0

21 May 05:48
d8bc32d
Compare
Choose a tag to compare

New Features

Fixes and Improvements

  • Fixed bun compatibility for running zenstack generate and zenstack init #2124
  • (delegate) Make sure @updatedAt fields inherited from base models are updated automatically upon update #2101
  • (delegate) Fixed the issue that when cascade-delete happens, delegate base rows are not deleted #2102
  • (policy) Fixed the issue that Prisma client extension computed fields are not returned when field-level policies are used #2117
  • Fixed logging error when data contains BigInt #2106

New Contributors

Full Changelog: v2.14.2...v2.15.0

ZenStack Release v2.14.2

08 May 04:07
b79a749
Compare
Choose a tag to compare

What's Changed

NestJS server adapter is added with a ApiHandlerService service for handling CRUD requests automatically by leveraging ZenStack's RPC or RESTful API handler by @ppodds doc

New Contributors

Welcome @ppodds as our new contributor!

Full Changelog: v2.14.1...v2.14.2

ZenStack Release v2.14.1

05 May 16:40
3895746
Compare
Choose a tag to compare

What's Changed

  • Prisma 6.7 support
  • Fixed JSDoc boilerplate in generated code by @DoctorFTB

New Contributors

Welcome @DoctorFTB as our new contributor ❤️ !

Full Changelog: v2.14.0...v2.14.1

ZenStack Release v2.14.0

16 Apr 00:02
88f8c77
Compare
Choose a tag to compare

What's Changed

  • Prisma 6.6 support
    Please note that Prisma 6.6 introduced a new prisma-client generator and ESM output as EA features. These are untested with ZenStack yet and I believe there will be issues.
  • Code generation performance optimization
    We made some optimizations on how TS code is generated, and for large schemas, we've seen zenstack generate run as much as 3 times faster.
  • Using typed-JSON fields is now enabled for SQLite by @liontariai
  • Refactored how Prisma types and values are reexported at @zenstackhq/runtime/models by @diesal11
  • Fixed RESTful API to properly filter by multiple relation ids separated by commas #2061
  • Added JSON value equality filter to RESTful API
  • Fixed OpenAPI generation errors when typed-JSON fields are used #2084
  • Fixed OpenAPI generation errors when output folder doesn't exist #2080

New Contributors

Welcome @liontariai and @adnanalbeda as our new contributors!

Full Changelog: v2.13.3...v2.14.0

ZenStack Release v2.13.3

09 Apr 21:57
2f69aa8
Compare
Choose a tag to compare

What's Changed

  • Fully reexport .zenstack/models from @zenstackhq/runtime/models.

Full Changelog: v2.13.2...v2.13.3

ZenStack Release v2.13.2

07 Apr 17:24
c017a40
Compare
Choose a tag to compare

What's Changed

  • Fixed the issue with failing to import enums when logical prisma client is generated #2065

Full Changelog: v2.13.1...v2.13.2

ZenStack Release v2.13.1

04 Apr 05:23
79197c6
Compare
Choose a tag to compare

What's Changed

  • [rest-server] Fixed the issue that using multiple deep filters can result in error #2020
  • [runtime] Fixed the issue that node-based Prisma values are imported when targeting edge runtime by @fredevery
  • [json] Fixed typing issue when optional JSON fields are used with the "strictedUndefinedChecks" Prisma preview feature by @diesal11

New Contributors

Welcome @fredevery as our new contributor!

Full Changelog: v2.13.0...v2.13.1