Releases: stalniy/casl
Releases · stalniy/casl
7.1.2 (2022-10-30)
Bug Fixes
fixes type in mongoose error message (1d28496 )
7.1.1 (2022-10-30)
Bug Fixes
adds unlessCan method to ForbiddenError and reused it mongoose package to construct ForbiddenError (be7ae6a )
6.3.2 (2022-10-30)
Bug Fixes
adds unlessCan method to ForbiddenError and reused it mongoose package to construct ForbiddenError (be7ae6a )
1.3.1 (2022-10-15)
Bug Fixes
export Model and Subjects as type (#688 ) (b0e76e3 )
makes sure PrismaAbility support per subject actions type (5db9a37 ), closes #675
6.3.1 (2022-09-29)
Bug Fixes
fixes CreateAbility
type typos and wrong types in parameters (aaec82d )
1.3.0 (2022-09-26)
Features
extends createPrisma types to accept AppAbility as generic type (4ac2531 )
6.3.0 (2022-09-26)
Features
updates createMongoAbility function signature to accept AppAbility as generic type (f4a466c )
1.2.0 (2022-09-19)
Features
adds support for custom generate prisma client (832a50e )
6.2.0 (2022-09-18)
Features
adds possibility to build Ability instance from factory function (53d199f )
6.1.2 (2022-09-18)
Bug Fixes
fixes MongoQuery type for typescript ^4.8.x (4af7c39 ), closes #673
You can’t perform that action at this time.