Skip to content

Releases: stalniy/casl

@casl/[email protected]

25 Jul 04:35

Choose a tag to compare

6.0.0 (2022-07-25)

Bug Fixes

  • replaces object.hasOwnProperty with static calls to Object.hasOwn (+ polyfill) (22fa7f8), closes #604

Features

BREAKING CHANGES

  • drops support for angular < 13

@casl/[email protected]

23 Jul 04:36

Choose a tag to compare

1.0.3 (2022-07-23)

Bug Fixes

  • prisma: allpows to specify not all models inside Subjects helper (fb9cf8d)
  • improved AbilityTuple (#616) (270446f)
  • update prisma to version 4 (#638) (d5abdf1)

@casl/[email protected]

29 May 16:26

Choose a tag to compare

1.0.2 (2022-05-29)

Bug Fixes

  • add 'all' to AbilityTuple (#615) (70025ac), closes #584
  • makes sure WhereInput<T> resolves to corresponding Prisma model (9288dcb), closes #613
  • package: add repository directory into package.json for all @casl/* packages (#560) (0ef534c)

@casl/[email protected]

28 May 13:10

Choose a tag to compare

3.0.0 (2022-05-28)

Bug Fixes

  • replaces StatelessComponent type with FunctionComponent (69336ea)
  • package: add repository directory into package.json for all @casl/* packages (#560) (0ef534c)

BREAKING CHANGES

  • removes deprecated things

    • restrics children prop of <Can> to support only single
      el
    • updates React to 18.x
    • removes react@15 from peer deps

@casl/[email protected]

28 May 12:08

Choose a tag to compare

5.4.4 (2022-05-28)

Bug Fixes

  • ability: negates inverted rules in ruleToAST (#602) (c1bdc60)
  • package: add repository directory into package.json for all @casl/* packages (#560) (0ef534c)

@casl/[email protected]

04 Nov 16:18

Choose a tag to compare

6.0.0 (2021-11-04)

Bug Fixes

  • ensure it's possible to chain accessibleBy after another accessibleBy and combine with other Query methods (5632c53)
  • package: add repository directory into package.json for all @casl/* packages (#560) (0ef534c)

Features

  • update mongoose to v6 and use mongoose-v6 QueryWithHelpers interface (#561) (a5f1036)

BREAKING CHANGES

  • updates mongoose and related ts types to v6

@casl/[email protected]

07 Oct 19:43

Choose a tag to compare

2.1.2 (2021-10-07)

Bug Fixes

  • vue: makes sure Abilities can and cannot methods are bound (86f9157), closes #530

@casl/[email protected]

07 Oct 19:32

Choose a tag to compare

@casl/[email protected]

17 Aug 12:03

Choose a tag to compare

5.4.3 (2021-08-17)

Bug Fixes

  • release: force release because of disable pre/post hook execution of pnpm (39c20f6)

@casl/[email protected]

17 Aug 08:42

Choose a tag to compare

5.4.2 (2021-08-17)

Bug Fixes

  • ability: makes sure that other event handlers are not lost when last handler is unregistered (ff3e75f)