2.0.0 (2026-05-21)
⚠ BREAKING CHANGES
- migrates to @casl/ability 7.x,
PureAbilityis no longer available andaccessibleByproduces a different shape accessibleByno longer throwsForbiddenErrorand it's required to addcaslExtensionto Prisma Client- prisma: The
createPrismaAbilityForfactory has been removed.createPrismaAbilityis now a standalone generic function rather than a pre-bound factory.