From 5bc3a55fa22fd05614dd09de4c22f7e44c2bf424 Mon Sep 17 00:00:00 2001 From: Release Bot <2273103+SkeLLLa@users.noreply.github.com> Date: Fri, 18 Jun 2021 15:03:58 +0000 Subject: [PATCH] chore(release): 2.0.0 --- CHANGELOG.md | 24 +++++++++++++++++++ VERSION | 2 +- docs/classes/index.rbac-1.md | 10 ++++---- docs/interfaces/index.rbac.options.md | 4 ++-- .../index.rbac.resourcepermission.md | 6 ++--- docs/interfaces/index.rbac.rulesobject.md | 4 ++-- docs/modules/index.rbac.md | 2 +- package-lock.json | 2 +- package.json | 2 +- 9 files changed, 40 insertions(+), 16 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a9ec860..7d48d01 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/VERSION b/VERSION index 18fa8e7..46b105a 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -v1.3.0 +v2.0.0 diff --git a/docs/classes/index.rbac-1.md b/docs/classes/index.rbac-1.md index 34a48c3..22f3027 100644 --- a/docs/classes/index.rbac-1.md +++ b/docs/classes/index.rbac-1.md @@ -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 @@ -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) --- @@ -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**(`role`, `resource`, `operation`, `context`): `Promise` @@ -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) --- @@ -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) diff --git a/docs/interfaces/index.rbac.options.md b/docs/interfaces/index.rbac.options.md index a2af328..ac28f9e 100644 --- a/docs/interfaces/index.rbac.options.md +++ b/docs/interfaces/index.rbac.options.md @@ -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) --- @@ -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) diff --git a/docs/interfaces/index.rbac.resourcepermission.md b/docs/interfaces/index.rbac.resourcepermission.md index 72c84c1..1bcbb47 100644 --- a/docs/interfaces/index.rbac.resourcepermission.md +++ b/docs/interfaces/index.rbac.resourcepermission.md @@ -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) --- @@ -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) --- @@ -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) diff --git a/docs/interfaces/index.rbac.rulesobject.md b/docs/interfaces/index.rbac.rulesobject.md index 33225b1..25a3329 100644 --- a/docs/interfaces/index.rbac.rulesobject.md +++ b/docs/interfaces/index.rbac.rulesobject.md @@ -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) --- @@ -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) diff --git a/docs/modules/index.rbac.md b/docs/modules/index.rbac.md index 75fc221..323c057 100644 --- a/docs/modules/index.rbac.md +++ b/docs/modules/index.rbac.md @@ -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) diff --git a/package-lock.json b/package-lock.json index 28375dc..6f109c0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "fast-rbac", - "version": "1.3.0", + "version": "2.0.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index ebf0501..17515eb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "fast-rbac", - "version": "1.3.0", + "version": "2.0.0", "description": "Fast and simple RBAC lib", "keywords": [ "rbac",