- Fixed goto definition issue in VSCode extension, [#69]
- Next-auth adapter and helper are moved to a separate package
@zenstackhq/next-auth
.
-
zenstack init
command for initializing a project, #109, doc. -
Support for server-side CRUD with access policy check (SSR), #126, doc.
-
Options for disabling fetching in hooks (useful when arguments are not ready), #57, doc.
-
Barebone starter (without authentication), link.
-
Website is live!
-
Merge
@zenstackhq/internal
into@zenstackhq/runtime
so as to have a single runtime dependency, #70. -
More accurate log for access policy violation, #71.
-
auth()
function's return type is now resolved toUser
model in ZModel, instead ofAny
, #65. -
Upgraded to Prisma 4.7.
-
@zenstackhq/runtime doesn't export anything now.
Use @zenstackhq/runtime/types for type definitions shared between client and server, @zenstackhq/runtime/client for client-specific libaries (like React hooks), and @zenstackhq/runtime/server for server-specific libraries.
-
@password
and@omit
attribute support -
Configurable logging (to stdout and emitting as events)
-
More robust policy checks
-
Properly handles complex types like BigInt, Date, Decimal, etc.
-
Makes sure Prisma schema is regenerated for related CLI commands
-
Lower VSCode engine version requirement for the extension
-
Better overall documentation
-
ZModel
data modeling schema (an extension to Prisma Schema) -
zenstack
cli for generating RESTful services, auth adapters and React hooks fromZModel
-
Policy engine that transforms policy rules into Prisma query conditions
-
Runtime packages
-
An initial set of tests