github stalniy/casl @casl/ability@7.0.0-rc
@casl/ability: v7.0.0-rc

latest releases: @casl/prisma@2.0.1, @casl/vue@3.0.0, @casl/react@7.0.0...
pre-releaseone month ago

7.0.0-rc (2026-05-08)

⚠ BREAKING CHANGES

  • this function is unused in userland and mostly was needed to restore ForbiddenError state in tests
  • renames PureAbility to Ability and dops default options. In order, to get the previous behavior of Ability class, clients are expected to use createMongoAbility and MongoAbility type
  • Ability matching now treats conditions that semantically match everything the same as rules without conditions.

Bug Fixes

Code Refactoring

  • removes getDefaultErrorMessage exported function as unneeded (#1206) (3f56353)
  • renames PureAbility to Ability (#1205) (97beee4)

Don't miss a new casl release

NewReleases is sending notifications on new releases.