ZenStack Release v1.0.0-beta.10
Features and Improvements
- Prisma V5 is supported! #581
- ZModel now supports database views (read-only, updatable views are not supported). #258
- Instead of rejecting the query, enhanced clients now set field to
null
if a nested optional to-one relation is requested but not readable. #586 - API layer (both RESTful and RPC-style) always use superjson for serialization. More details: RESTful RPC.
- Fixed OpenAPI plugin issue with
Bytes
type. #573 - Fixed issue with incorrect path generated on Windows environments #582
- Stricter type checking for binary expressions in ZModel #292
Breaking Changes
- The RPC-style API handler now wraps the query result into a "data" field. In addition, there can be a "meta" field in the response body containing serialization metadata. Please find more details here: https://zenstack.dev/docs/reference/server-adapters/api-handlers/rpc.
Full Changelog: v1.0.0-beta.8...v1.0.0-beta.10