ZenStack Release v0.4.0 #132
ymc9
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Features
zenstack init
command for initializing a project, #109, doc.Field constraint suport, #94, 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.
Telemetry in CLI, #102, doc.
Iron-session based starter, #95, link.
Barebone starter (without authentication), link.
Website is live!
Fixes and improvements
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.Improved ZModel type checking, #67, #46, #99.
Upgraded to Prisma 4.7.
Breaking changes
@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 libraries (like React hooks), and@zenstackhq/runtime/server
for server-specific libraries.This discussion was created from the release ZenStack Release v0.4.0.
Beta Was this translation helpful? Give feedback.
All reactions