All notable changes to this project will be documented in this file.
1.1.1 (2020-06-09)
1.1.0 (2020-05-12)
1.0.3 (2020-04-22)
- types: use
AnyAbility
in ComponentOptions and in Vue augmentation modules (7f9be6f)
1.0.2 (2020-04-10)
- vue: ensure that terser doesn't mangle reserved required props (7fa234c)
1.0.1 (2020-04-09)
- vue: removes
of
alias from<can>
component (bd658e2)
1.0.0 (2020-04-09)
- ability: updates typings for vue (8ac4ca1), closes #256
- vue: adds better generics typying for Vue (5cc7b60), closes #107
- vue: migrates vue to typescript (7bacadd), closes #248
- vue: throws exception if
Ability
is not provided (aacd952), closes #248
-
typescript: weak hand written declaration files are removed as
@casl/vue
has been completely rewritten to TypeScript. TypeScript now checks that you correctly use property aliases -
Can:
of
alias is removed and field was extracted to a separate propBefore
<can I="read title" of="Post">...</can>
After
<can I="read" a="Post" field="title">...</can>
@casl/vue-v0.5.1 (2019-02-10)
@casl/vue-v0.5.0 (2018-11-25)
- README: changes links to @casl/ability to point to npm package instead to git root [skip ci] (a74086b), closes #102
- react:can: updates typescript declarations (213dcde)
- vue: adds
passThrough
prop toCan
(28ca883), closes #105
@casl/vue-v0.4.3 (2018-07-14)
@casl/vue-v0.4.2 (2018-07-02)
@casl/vue-v0.4.1 (2018-06-04)
@casl/vue-v0.4.0 (2018-06-01)
@casl/vue-v0.3.0 (2018-05-30)
@casl/vue-v0.2.1 (2018-05-29)
- vue: fixes issue with wrong type definition for
abilitiesPlugin
(a7e2251)