github zenstackhq/zenstack v2.18.0
ZenStack Release v2.18.0

latest release: v2.18.1
26 days ago

New Features

  • Prisma 6.13 support
  • REST API handler has got new externalIdMapping option for using natural keys instead of surrogate keys to address entities by @lsmith77 doc
  • TanStack query plugin now supports Angular as a generation target by @ScriptType

Fixes and Improvements

  • Added the missing orderBy, skip, and take schemas to the RPC-style OpenAPI generator by @olup
  • Changed zod to a peer dependency and upgraded to the latest 3.x version, as a preparation step for v4 support
  • Upgraded "ts-morph" dependency to its latest version, which should fix some mysterious errors seen lately when compiling generated typescript code.

Breaking Changes

  • Zod dependency

    First of all, starting from this version, zod is now a peer dependency instead of a regular one, which means if you specify the version of zod to use in your app, it has to be the latest v3 version (^3.25.0). The change is a preparation for supporting both zod3 and zod4 in a future release. Please check if you need to upgrade your current zod dependency version, and if so, if it breaks anything. More related information here.

Special Notes

  • Prisma 6.13 made some important changes around SQL views, like disallowing @id, @unique, and @index usage on view models. Views generally work with ZenStack, but it hasn't got very extensive test coverage, so please be cautious about breaking changes when you upgrade Prisma version, if you use views.

New Contributors

Welcome @olup and @ScriptType as our new contributors ❤️ !

Full Changelog: v2.17.2...v2.18.0

Don't miss a new zenstack release

NewReleases is sending notifications on new releases.