Skip to content

Commit 5bc3a55

Browse files
committed
chore(release): 2.0.0
1 parent e7b061f commit 5bc3a55

File tree

9 files changed

+40
-16
lines changed

9 files changed

+40
-16
lines changed

CHANGELOG.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,30 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
## [2.0.0](https://github.com/SkeLLLa/fast-rbac/compare/v1.3.0...v2.0.0) (2021-06-18)
6+
7+
8+
### ⚠ BREAKING CHANGES
9+
10+
* potentially breaking interface changes for browser version
11+
12+
### Features
13+
14+
* deps update, refactor, rollup update ([519c0a7](https://github.com/SkeLLLa/fast-rbac/commit/519c0a7790cca11054640c782d0cfd8d4e148a7d))
15+
16+
17+
### Misc
18+
19+
* **deps:** bump acorn from 5.7.3 to 5.7.4 ([3710be7](https://github.com/SkeLLLa/fast-rbac/commit/3710be76f320082756b48cce6522acdfc488f285))
20+
* **deps:** bump jquery from 3.4.1 to 3.5.0 ([1d37816](https://github.com/SkeLLLa/fast-rbac/commit/1d378165e43ebeefcd64524005245920da611677))
21+
* **deps:** bump websocket-extensions from 0.1.3 to 0.1.4 ([c5c6c2d](https://github.com/SkeLLLa/fast-rbac/commit/c5c6c2db8a82df094828464d35f74263e36788a7))
22+
* **deps-dev:** bump codecov from 3.6.1 to 3.6.5 ([52e5430](https://github.com/SkeLLLa/fast-rbac/commit/52e54302d7dad01eb597e072950c03a20bff83d4))
23+
24+
25+
### Tests
26+
27+
* fix tests ([db53f6b](https://github.com/SkeLLLa/fast-rbac/commit/db53f6be3f44d84ea34d8d3fd5c77832250280fb))
28+
529
## [1.3.0](https://gitlab.com/m03geek/fast-rbac/compare/v1.2.3...v1.3.0) (2019-12-13)
630

731

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v1.3.0
1+
v2.0.0

docs/classes/index.rbac-1.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ RBAC constructor
3434

3535
#### Defined in
3636

37-
[index.ts:44](https://github.com/SkeLLLa/fast-rbac/blob/e543d2b/src/index.ts#L44)
37+
[index.ts:44](https://github.com/SkeLLLa/fast-rbac/blob/e7b061f/src/index.ts#L44)
3838

3939
## Methods
4040

@@ -61,7 +61,7 @@ Adds new role to rules.
6161

6262
#### Defined in
6363

64-
[index.ts:95](https://github.com/SkeLLLa/fast-rbac/blob/e543d2b/src/index.ts#L95)
64+
[index.ts:95](https://github.com/SkeLLLa/fast-rbac/blob/e7b061f/src/index.ts#L95)
6565

6666
---
6767

@@ -89,7 +89,7 @@ true if role has access to resources
8989

9090
#### Defined in
9191

92-
[index.ts:153](https://github.com/SkeLLLa/fast-rbac/blob/e543d2b/src/index.ts#L153)
92+
[index.ts:153](https://github.com/SkeLLLa/fast-rbac/blob/e7b061f/src/index.ts#L153)
9393

9494
**can**<TContext\>(`role`, `resource`, `operation`, `context`): `Promise`<boolean\>
9595

@@ -120,7 +120,7 @@ true if role has access to resources.
120120

121121
#### Defined in
122122

123-
[index.ts:165](https://github.com/SkeLLLa/fast-rbac/blob/e543d2b/src/index.ts#L165)
123+
[index.ts:165](https://github.com/SkeLLLa/fast-rbac/blob/e7b061f/src/index.ts#L165)
124124

125125
---
126126

@@ -146,4 +146,4 @@ Remove rule(s).
146146

147147
#### Defined in
148148

149-
[index.ts:116](https://github.com/SkeLLLa/fast-rbac/blob/e543d2b/src/index.ts#L116)
149+
[index.ts:116](https://github.com/SkeLLLa/fast-rbac/blob/e7b061f/src/index.ts#L116)

docs/interfaces/index.rbac.options.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ If true makes wildcard matches faster.
2525

2626
#### Defined in
2727

28-
[index.ts:327](https://github.com/SkeLLLa/fast-rbac/blob/e543d2b/src/index.ts#L327)
28+
[index.ts:327](https://github.com/SkeLLLa/fast-rbac/blob/e7b061f/src/index.ts#L327)
2929

3030
---
3131

@@ -45,4 +45,4 @@ Role and it's permissions.
4545

4646
#### Defined in
4747

48-
[index.ts:317](https://github.com/SkeLLLa/fast-rbac/blob/e543d2b/src/index.ts#L317)
48+
[index.ts:317](https://github.com/SkeLLLa/fast-rbac/blob/e7b061f/src/index.ts#L317)

docs/interfaces/index.rbac.resourcepermission.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Resourece name or resource with operation.
2828

2929
#### Defined in
3030

31-
[index.ts:272](https://github.com/SkeLLLa/fast-rbac/blob/e543d2b/src/index.ts#L272)
31+
[index.ts:272](https://github.com/SkeLLLa/fast-rbac/blob/e7b061f/src/index.ts#L272)
3232

3333
---
3434

@@ -42,7 +42,7 @@ Operation name.
4242

4343
#### Defined in
4444

45-
[index.ts:277](https://github.com/SkeLLLa/fast-rbac/blob/e543d2b/src/index.ts#L277)
45+
[index.ts:277](https://github.com/SkeLLLa/fast-rbac/blob/e7b061f/src/index.ts#L277)
4646

4747
---
4848

@@ -56,4 +56,4 @@ Dynamic condition check function.
5656

5757
#### Defined in
5858

59-
[index.ts:282](https://github.com/SkeLLLa/fast-rbac/blob/e543d2b/src/index.ts#L282)
59+
[index.ts:282](https://github.com/SkeLLLa/fast-rbac/blob/e7b061f/src/index.ts#L282)

docs/interfaces/index.rbac.rulesobject.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ return ctx.user.id === ctx.obj.creatorId
3636

3737
#### Defined in
3838

39-
[index.ts:302](https://github.com/SkeLLLa/fast-rbac/blob/e543d2b/src/index.ts#L302)
39+
[index.ts:302](https://github.com/SkeLLLa/fast-rbac/blob/e7b061f/src/index.ts#L302)
4040

4141
---
4242

@@ -48,4 +48,4 @@ Optionally extend permissions from other roles.
4848

4949
#### Defined in
5050

51-
[index.ts:306](https://github.com/SkeLLLa/fast-rbac/blob/e543d2b/src/index.ts#L306)
51+
[index.ts:306](https://github.com/SkeLLLa/fast-rbac/blob/e7b061f/src/index.ts#L306)

docs/modules/index.rbac.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,4 @@ Dynamic condition check function.
5050

5151
#### Defined in
5252

53-
[index.ts:216](https://github.com/SkeLLLa/fast-rbac/blob/e543d2b/src/index.ts#L216)
53+
[index.ts:216](https://github.com/SkeLLLa/fast-rbac/blob/e7b061f/src/index.ts#L216)

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "fast-rbac",
3-
"version": "1.3.0",
3+
"version": "2.0.0",
44
"description": "Fast and simple RBAC lib",
55
"keywords": [
66
"rbac",

0 commit comments

Comments
 (0)