Zenstack Migrate From V2

Upgrade an existing ZenStack V2 project to V3. Use when renaming V2 packages (zenstack, @zenstackhq/runtime), moving access control to the policy plugin, converting future() to post-update/before(), replacing abstract models with types+mixins, updating server adapters (getPrisma → getClient), and migrating client-side TanStack Query hooks.

zenstackhq 6dc1795 2 files · 5.3 KB Updated

File contents

zenstackhq/skills/tree/main/skills/zenstack-migrate-from-v2 commit 6dc1795b1c

Frequently asked questions

npx skillmds@latest add zenstackhq/zenstack-migrate-from-v2