@casl/ability: v7.0.0-rc
Pre-release
Pre-release
·
0 commits
to 2c2db3ccab0b85b89f0f2916652d86781dc0c27e
since this release
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
Abilityclass, clients are expected to usecreateMongoAbilityandMongoAbilitytype - Ability matching now treats conditions that semantically match everything the same as rules without conditions.
Bug Fixes
- deps: upgrades @ucast/* to latest version (#1218) (22b00ff)
- treats empty conditions object as matches all (#1198) (cedc463), closes #684