Skip to content

build(deps): bump @casl/ability from 6.8.1 to 7.0.0#2755

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/casl/ability-7.0.0
Open

build(deps): bump @casl/ability from 6.8.1 to 7.0.0#2755
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/casl/ability-7.0.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 25, 2026

Bumps @casl/ability from 6.8.1 to 7.0.0.

Release notes

Sourced from @​casl/ability's releases.

@​casl/ability: v7.0.0

7.0.0 (2026-05-21)

⚠ BREAKING CHANGES

  • .possibleRulesFor and .rulesFor return readonly Rule[] type
  • 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.
  • rulesToQuery has been replaced with rulesToCondition

Bug Fixes

  • defensive protection against undefined returned from rule conditions matcher (3f0ad4b)
  • deps: upgrades @ucast/* to latest version (#1218) (22b00ff)
  • ensure rules index cache is not polluted with not defined actions (#1228) (89c19ba)
  • treats empty conditions object as matches all (#1198) (cedc463), closes #684
  • ensure that rulesToQuery and rulesToAST generate condition that respect rule priority (#1193)

Code Refactoring

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

@​casl/ability: v7.0.0-rc

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)
Changelog

Sourced from @​casl/ability's changelog.

7.0.0 (2026-05-21)

⚠ BREAKING CHANGES

  • .possibleRulesFor and .rulesFor return readonly Rule[] type
  • getDefaultErrorMessage function is unused in userland and mostly was needed to restore ForbiddenError state in tests
  • renames PureAbility to Ability and drops 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.
  • rulesToQuery has been replaced with rulesToCondition

Bug Fixes

  • defensive protection against undefined returned from rule conditions matcher (3f0ad4b)
  • deps: upgrades @ucast/* to latest version (#1218) (22b00ff)
  • ensure rules index cache is not polluted with not defined actions (#1228) (89c19ba)
  • treats empty conditions object as matches all (#1198) (cedc463), closes #684
  • ensure that rulesToQuery and rulesToAST generate condition that respect rule priority (#1193)

Code Refactoring

  • removes getDefaultErrorMessage exported function as unneeded (#1206) (3f56353)
  • renames PureAbility to Ability (#1205) (97beee4)
Commits
  • a4a4a1a chore: release master (#1199)
  • 3f0ad4b fix: defensive protection against undefined returned from rule conditions mat...
  • 89c19ba fix: ensure rules index cache is not polluted with not defined actions (#1228)
  • b51b1b8 chore: allow next as publish branch
  • d875352 chore: fixes release for casl-ability
  • d49daa6 chore: specify dist tag in release script
  • 569bc1e test: refactor tests to ts
  • 22b00ff fix(deps): upgrades @ucast/* to latest version (#1218)
  • fcfde9d chore: fixes package metadata for @​casl/ability
  • 3f56353 refactor: removes getDefaultErrorMessage exported function as unneeded (#1206)
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file npm labels May 25, 2026
@dependabot dependabot Bot requested a review from a team as a code owner May 25, 2026 21:10
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file npm labels May 25, 2026
@github-actions github-actions Bot enabled auto-merge May 25, 2026 21:11
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/casl/ability-7.0.0 branch 5 times, most recently from 5ae5b1a to 3d646da Compare May 25, 2026 22:05
Bumps [@casl/ability](https://github.com/stalniy/casl/tree/HEAD/packages/casl-ability) from 6.8.1 to 7.0.0.
- [Release notes](https://github.com/stalniy/casl/releases)
- [Changelog](https://github.com/stalniy/casl/blob/master/packages/casl-ability/CHANGELOG.md)
- [Commits](https://github.com/stalniy/casl/commits/@casl/ability@7.0.0/packages/casl-ability)

---
updated-dependencies:
- dependency-name: "@casl/ability"
  dependency-version: 7.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/casl/ability-7.0.0 branch from 3d646da to 75a9b8e Compare May 27, 2026 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file npm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants