Skip to content

Releases: zenstackhq/zenstack-v3

ZenStack Release v3.0.0-beta.13

24 Oct 02:24
1b95b16

Choose a tag to compare

What's Changed

  • Migrated RPC API handler
  • Migrated Express.js server adapter

Full Changelog: v3.0.0-beta.12...v3.0.0-beta.13

ZenStack Release v3.0.0-beta.12

22 Oct 20:46
ba3bbe8

Choose a tag to compare

What's Changed

  • Avoid unnecessary post-mutation reads; use SQL "returning" when possible.
  • Use "READ_COMMITED" tx consistency level instead of "REPEATABLE_READ".

Full Changelog: v3.0.0-beta.11...v3.0.0-beta.12

ZenStack Release v3.0.0-beta.11

21 Oct 16:33
1e120f2

Choose a tag to compare

What's Changed

  • Fixed a crash in VSCode extension in git diff view
  • Corrected groupBy's pagination semantic and made it compatible with Prisma
  • Fixed computed fields on delegate base models #284
  • Added compiler check to disallow using @@index with fields defined on delegate base #283

Full Changelog: v3.0.0-beta.10...v3.0.0-beta.11

ZenStack Release v3.0.0-beta.10

17 Oct 19:57
807891e

Choose a tag to compare

What's Changed

  • Policy-related attributes and functions are moved to its own plugin.zmodel file.
  • Fixed the extraneous prisma client generation when running CLI migrate reset by @sanny-io

Full Changelog: v3.0.0-beta.9...v3.0.0-beta.10

ZenStack Release v3.0.0-beta.9

16 Oct 17:12
68adf79

Choose a tag to compare

What's Changed

This release includes the full implementation of access policies, input validations, and many detailed fixes to the ORM.

  • Model-level access policy implementation that works at both the ORM API and query builder API level.
  • Input validation implementation (@length, @email, @@validate, etc.).
  • Lots of detailed fixes. Both the ORM and access policy are much more solid now.
  • All v3 e2e and regression test cases are migrated to v3 and all passing!

New docs are coming soon!

New Contributors

@sanny-io and @dhritcu helped with bug fixing in this release. Thank you both ❤️ !

Full Changelog: v3.0.0-beta.8...v3.0.0-beta.9

ZenStack Release v3.0.0-beta.8

01 Oct 01:02
35a9e0d

Choose a tag to compare

What's Changed

  • Implemented "post-update" policy
  • Fixed a few schema validation issues #259
  • Fixed zen migrate errors when default() attribute uses auth() #274

Full Changelog: v3.0.0-beta.5...v3.0.0-beta.8

ZenStack Release v3.0.0-beta.5

23 Sep 02:09
495a512

Choose a tag to compare

What's Changed

  • Major progress on access policy: all v2 test cases passing for both sqlite and pg now. Missing features: future() support for post-update rules; field-level policies.

Full Changelog: v3.0.0-beta.4...v3.0.0-beta.5

ZenStack Release v3.0.0-beta.4

12 Sep 23:23
96315a9

Choose a tag to compare

What's Changed

  • Fixed an optional array typing issue by @genu #240
  • Fixed several access policy issues with "create" and "update" operations
  • More test cases for access policy

Full Changelog: v3.0.0-beta.2...v3.0.0-beta.4

ZenStack Release v3.0.0-beta.2

03 Sep 23:59
a115040

Choose a tag to compare

What's Changed

  • Fixed over fetching for findFirst by @svetch
  • Fixed telemetry token handling in CI
  • Fixed VSCode extension language id settings

New Contributors

Full Changelog: v3.0.0-beta.1...v3.0.0-beta.2

ZenStack Release v3.0.0-beta.1

01 Sep 23:33
31d2626

Choose a tag to compare

Welcome to ZenStack v3 Beta release 🚀

The packages are still published with the "@next" npm tag.

Main highlights:

  1. An ORM client that's essentially compatible with PrismaClient. There are still a few unimplemented features as listed here.
  2. Features that go beyond Prisma: query builder API, database-side computed fields, polymorphic models, strongly-typed JSON, etc.
  3. A runtime plugin system that allows you to intercept queries at different levels.
  4. A new VSCode extension. Refer to the extension descriptions for instructions on using it alongside the v2 extension.
  5. Lots of bug fixes and performance improvements since the last alpha release.
  6. V3 Landing Page and Documentation

During the beta phase, we invite you to try it out and report any issues you encounter. We'll fix things at a fast pace. We'll also continue working on the following areas:

  • Access control & data validation
  • Prisma parity
  • Performance benchmark

Thank you for your continuous support of the project. Lots of excitement ahead!