Half a year ago, we posed a Show HN about ZenStack V1 as "DSL to define data and access rules closer to the database"<p>Throughout the month, we've attracted quite a few early adopters. Some of them, such as MermaidChart, have successfully launched into production. After talking with them, we realized that many individuals found ZenStack while seeking a cleaner and easier alternative to RLS.<p>As a result, we pivot ourselves to be a “TypeScript toolkit on top of Prisma ORM with a fine-grained Authorization layer, auto-generated type-safe APIs, and frontend hooks”.<p>In V2, besides the more flexible Access Control Policy support for RBAC/ABAC/PBAC/ReBAC, here are some other major features we released:<p>- Polymorphic Relations<p>- Edge support<p>- Using auth() in @default()<p>- Fine-grained Optimistic Updates<p>- Prisma-Like Schema Formatting<p>Features may be easy to forget, but stories remain. If you're curious about the stories behind these features and what we have learned, check out the blog post below:<p><a href="https://zenstack.dev/blog/v2-stories" rel="nofollow">https://zenstack.dev/blog/v2-stories</a><p>We would love to hear your opinion on the new position. What we missed? What is your unresolved pain point?
<a href="https://github.com/zenstackhq/zenstack">https://github.com/zenstackhq/zenstack</a>