Skip to content

Releases: zenstackhq/zenstack

ZenStack Release v2.17.2

27 Jul 12:11
692b714
Compare
Choose a tag to compare

What's Changed

This release contains a follow up fix about typing issue when the "prisma-client" generator is used with polymorphic models by @mhodgson

Full Changelog: v2.17.1...v2.17.2

ZenStack Release v2.17.1

21 Jul 08:51
1da7440
Compare
Choose a tag to compare

What's Changed

  • Prisma 6.12 support

Full Changelog: v2.17.0...v2.17.1

ZenStack Release v2.17.0

20 Jul 08:30
b199ac2
Compare
Choose a tag to compare

New Features

  • Prisma 6.11.x support
  • New @@meta and @meta attributes for attaching arbitrary metadata to models and fields doc
  • The REST API handler has a new option to customize how model names are represented on URL path by @lsmith77 doc
  • Similarly, the OpenAPI plugin now has a new option to customize how model names are represented as resource name by @lsmith77 doc

Fixes and Improvements

  • Improved CLI code generation performance for "prisma-client" generator by @mhodgson
  • Fixed a typing regression about enhancing a PrismaClient with client extensions installed #2175
  • Fixed the ZModel validation issue that @db.Json and @db.JsonB attributes cannot be used on strongly-typed JSON fields
  • Improved the way types and enums are exported for "prisma-client" generator for better compatibility with full-stack bundlers by @mhodgson

New Contributors

❤️ Welcome @mhodgson and @lsmith77 as our new contributors! ❤️

Full Changelog: v2.16.1...v2.17.0

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