Skip to content

Commit

Permalink
chore(release): 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
SkeLLLa committed Jun 18, 2021
1 parent e7b061f commit 5bc3a55
Show file tree
Hide file tree
Showing 9 changed files with 40 additions and 16 deletions.
24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,30 @@

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.

## [2.0.0](https://github.com/SkeLLLa/fast-rbac/compare/v1.3.0...v2.0.0) (2021-06-18)


### ⚠ BREAKING CHANGES

* potentially breaking interface changes for browser version

### Features

* deps update, refactor, rollup update ([519c0a7](https://github.com/SkeLLLa/fast-rbac/commit/519c0a7790cca11054640c782d0cfd8d4e148a7d))


### Misc

* **deps:** bump acorn from 5.7.3 to 5.7.4 ([3710be7](https://github.com/SkeLLLa/fast-rbac/commit/3710be76f320082756b48cce6522acdfc488f285))
* **deps:** bump jquery from 3.4.1 to 3.5.0 ([1d37816](https://github.com/SkeLLLa/fast-rbac/commit/1d378165e43ebeefcd64524005245920da611677))
* **deps:** bump websocket-extensions from 0.1.3 to 0.1.4 ([c5c6c2d](https://github.com/SkeLLLa/fast-rbac/commit/c5c6c2db8a82df094828464d35f74263e36788a7))
* **deps-dev:** bump codecov from 3.6.1 to 3.6.5 ([52e5430](https://github.com/SkeLLLa/fast-rbac/commit/52e54302d7dad01eb597e072950c03a20bff83d4))


### Tests

* fix tests ([db53f6b](https://github.com/SkeLLLa/fast-rbac/commit/db53f6be3f44d84ea34d8d3fd5c77832250280fb))

## [1.3.0](https://gitlab.com/m03geek/fast-rbac/compare/v1.2.3...v1.3.0) (2019-12-13)


Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.3.0
v2.0.0
10 changes: 5 additions & 5 deletions docs/classes/index.rbac-1.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ RBAC constructor

#### Defined in

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

## Methods

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

#### Defined in

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

---

Expand Down Expand Up @@ -89,7 +89,7 @@ true if role has access to resources

#### Defined in

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

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

Expand Down Expand Up @@ -120,7 +120,7 @@ true if role has access to resources.

#### Defined in

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

---

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

#### Defined in

[index.ts:116](https://github.com/SkeLLLa/fast-rbac/blob/e543d2b/src/index.ts#L116)
[index.ts:116](https://github.com/SkeLLLa/fast-rbac/blob/e7b061f/src/index.ts#L116)
4 changes: 2 additions & 2 deletions docs/interfaces/index.rbac.options.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ If true makes wildcard matches faster.

#### Defined in

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

---

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

#### Defined in

[index.ts:317](https://github.com/SkeLLLa/fast-rbac/blob/e543d2b/src/index.ts#L317)
[index.ts:317](https://github.com/SkeLLLa/fast-rbac/blob/e7b061f/src/index.ts#L317)
6 changes: 3 additions & 3 deletions docs/interfaces/index.rbac.resourcepermission.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Resourece name or resource with operation.

#### Defined in

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

---

Expand All @@ -42,7 +42,7 @@ Operation name.

#### Defined in

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

---

Expand All @@ -56,4 +56,4 @@ Dynamic condition check function.

#### Defined in

[index.ts:282](https://github.com/SkeLLLa/fast-rbac/blob/e543d2b/src/index.ts#L282)
[index.ts:282](https://github.com/SkeLLLa/fast-rbac/blob/e7b061f/src/index.ts#L282)
4 changes: 2 additions & 2 deletions docs/interfaces/index.rbac.rulesobject.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ return ctx.user.id === ctx.obj.creatorId

#### Defined in

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

---

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

#### Defined in

[index.ts:306](https://github.com/SkeLLLa/fast-rbac/blob/e543d2b/src/index.ts#L306)
[index.ts:306](https://github.com/SkeLLLa/fast-rbac/blob/e7b061f/src/index.ts#L306)
2 changes: 1 addition & 1 deletion docs/modules/index.rbac.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ Dynamic condition check function.

#### Defined in

[index.ts:216](https://github.com/SkeLLLa/fast-rbac/blob/e543d2b/src/index.ts#L216)
[index.ts:216](https://github.com/SkeLLLa/fast-rbac/blob/e7b061f/src/index.ts#L216)
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fast-rbac",
"version": "1.3.0",
"version": "2.0.0",
"description": "Fast and simple RBAC lib",
"keywords": [
"rbac",
Expand Down

0 comments on commit 5bc3a55

Please sign in to comment.