Skip to content

Releases: stalniy/casl

@casl/[email protected]

09 Apr 11:48

Choose a tag to compare

3.0.0 (2020-04-09)

Bug Fixes

  • mongoose: ensures mongoose works with MongoQuery conditions (f92b7df), closes #249
  • mongoose: fixes mongoose typings (d320eba), closes #248

chore

  • aurelia: replaces .npmignore with package.json files (812c6b7)

Features

  • mongoose: adds generics to mongoose types (6cdf82e), closes #256
  • mongoose: simplifies generics for mongoose (7ff65f7), closes #107

BREAKING CHANGES

  • aurelia: several breaking changes hint

@casl/[email protected]

09 Apr 12:16

Choose a tag to compare

1.0.2 (2020-04-09)

Bug Fixes

  • aurelia: adds support for casl/ability@4 in package.json (0d1b6db)

@casl/[email protected]

09 Apr 11:32

Choose a tag to compare

1.0.1 (2020-04-09)

Bug Fixes

  • aurelia: special commit to trigger patch release in semver (b8d9831)

@casl/[email protected]

09 Apr 12:17

Choose a tag to compare

4.0.1 (2020-04-09)

Bug Fixes

  • angular: adds support for casl/ability@4 in package.json (9d65071)

@casl/[email protected]

09 Apr 11:13

Choose a tag to compare

4.0.0 (2020-04-09)

Bug Fixes

  • angular: makes sure reflect polyfill is added before angular imports (2acbb35), closes #248

chore

  • angular: special commit for breaking changes (077bcab)

Features

  • ability: improves typing for GetSubjectName and adds default values for generics (c089293), closes #256
  • angular: adds generics to CanPipe (68bd287), closes #256
  • angular: adds support for action only checks (0462edb), closes #107
  • angular: allows to use custom Ability instances and improves tree shaking support (2e7a149), closes #249
  • vue: adds better generics typying for Vue (5cc7b60), closes #107

BREAKING CHANGES

  • angular: the module doesn't provide Ability instance anymore

@casl/[email protected]

09 Apr 16:13

Choose a tag to compare

4.0.1 (2020-04-09)

Bug Fixes

  • ability: makes sure extra submodule is published (096e4f7), closes #284

@casl/[email protected]

09 Apr 10:44

Choose a tag to compare

4.0.0 (2020-04-09)

Bug Fixes

  • ability: ensures that ForbiddenError correctly inherits Error in ES5 (12a74f2), closes #248
  • ability: extracts types to a separate file (df1fec1), closes #248
  • ability: improves PackedRule type (a781921), closes #248
  • ability: makes sure AbilityBuilder correctly detects conditions (1c35393), closes #248
  • ability: this is a special commit to trigger breaking changes in semantic release (f48ad6f)
  • deps: update dependency sift to v10 (cc27014)
  • deps: update dependency sift to v11 (951cd2e)
  • deps: update dependency sift to v12 (71593ca)
  • mongoose: ensures mongoose works with MongoQuery conditions (f92b7df), closes #249

Features

  • ability: adds subject helper which allows to define subject type for DTO (834c24f)
  • ability: adds generic types to Ability and related types [skip ci] (4e56fda), closes #256
  • ability: adds typescript support for checks only by action (b652df1), closes #107
  • ability: allows to do fine grained (2b97c57), closes #248
  • ability: allows to pass fieldMatcher and conditionsMatcher (d23af56), closes #258
  • ability: allows to specify class as subject type (9c6041a), closes #187
  • ability: improves typing for GetSubjectName and adds default values for generics (c089293), closes #256
  • ability: makes aliasing to be tree-shakable and per Ability instance (fc22d49), closes #248
  • ability: removes deprecated methods (7d26f56), closes #257
  • ability: returns all for empty subjects (f5d41e0), closes #107 #256
  • ability: split Ability into PureAbility (base class) and Ability (preconfigured PureAbility) (9536205), closes #249
  • vue: adds better generics typying for Vue (5cc7b60), closes #107
  • vue: migrates vue to typescript (7bacadd), closes #248

BREAKING CHANGES

  • ability: there are several breaking changes

@casl/[email protected]

13 Mar 07:59

Choose a tag to compare

2.3.3 (2020-03-13)

Bug Fixes

  • mongoose: adds missing index.js file (804c0dd)
  • mongoose: makes sure abilityConditions does not override existing $and conditions (#273) (c13300f), closes #272

@casl/[email protected]

06 Mar 14:10

Choose a tag to compare

3.0.6 (2020-03-06)

Bug Fixes

  • angular: reverts back anngular to not use Ivy as it was not recommend by angular team (b883118), closes #270

@casl/[email protected]

21 Feb 19:58

Choose a tag to compare

3.0.5 (2020-02-21)

Bug Fixes

  • angular: moves postinstall hook to postbootstrap hook which links modules (769e099), closes #266