github zenstackhq/zenstack v3.6.0
ZenStack Release v3.6.0

9 hours ago

New Features

  • OpenAPI specification generation for RPC-style API doc.
  • Zod schema creation now allows you to control what fields to include/exclude and fields' optionality via options by @marcsigmund doc.
  • Custom types (type declarations) now allow relation fields. You can now declare relations on mixins and share them among models doc.

Breaking Changes

The makeModelSchema API from @zenstackhq/zod package now by default excludes all relation fields.

Improvements and Fixes

  • [orm] Fixed incorrect SQL generation when computed fields are defined on mixins #2540 by @lsmith77.
  • [orm] Improve query performance by using EXISTS instead of COUNT when including to-one relations by @evgenovalov #2578.
  • [orm] Fixed a SQL generation issue when cursor is used with fields inherited from delegate models by @genu #2588.
  • [orm] Fixed the issue that fields annotated with @db.Time are returned as string instead of Date object by @erwan-joly #2589.
  • MySQL support is now graduated from preview to GA.
  • Updated Kysely to its latest version.
  • Migrated bundler from tsup to tsdown.
  • Updated pnpm to its latest version.

New Contributors

Welcome @evgenovalov, @17, and @erwan-joly as our new contributors ❤️ !

Full Changelog: v3.5.6...v3.6.0

Don't miss a new zenstack release

NewReleases is sending notifications on new releases.