UNPKG

casbin

Version:

An authorization library that supports access control models like ACL, RBAC, ABAC in Node.JS

197 lines (101 loc) 8.49 kB
# [5.1.0](https://github.com/casbin/node-casbin/compare/v5.0.7...v5.1.0) (2020-08-11) ### Features * add casbinJsGetPermissionForUser ([30ae126](https://github.com/casbin/node-casbin/commit/30ae126b962df6fc580ce943f20e8bf0ce5349c3)) ## [5.0.6](https://github.com/casbin/node-casbin/compare/v5.0.5...v5.0.6) (2020-07-16) ### Bug Fixes * add casbin-cpp to supported languages. ([b856734](https://github.com/casbin/node-casbin/commit/b85673432f8a150490fd5134797508ccd368b81f)) ## [5.0.5](https://github.com/casbin/node-casbin/compare/v5.0.4...v5.0.5) (2020-07-08) ### Bug Fixes * improve tokens separator ([687e96f](https://github.com/casbin/node-casbin/commit/687e96f1495de12bc7acd37bf56af57af490b0b6)) ## [5.0.4](https://github.com/casbin/node-casbin/compare/v5.0.3...v5.0.4) (2020-06-08) ### Bug Fixes - remove lodash ([293a852](https://github.com/casbin/node-casbin/commit/293a852803d5e83562a36bc35cdf48def0f0088b)) ## [5.0.3](https://github.com/casbin/node-casbin/compare/v5.0.2...v5.0.3) (2020-05-27) ### Bug Fixes - check adapter type ([a74314d](https://github.com/casbin/node-casbin/commit/a74314d6c4e1e1c8731128e6bfe9e2de1b3f45ce)) ## [5.0.2](https://github.com/casbin/node-casbin/compare/v5.0.1...v5.0.2) (2020-05-25) ### Bug Fixes - Add imports and batchFileAdapter implementation. ([3804c3d](https://github.com/casbin/node-casbin/commit/3804c3d76802614104016a011c07c11c54a94632)) - Add tests for batch operations. ([e6ad7af](https://github.com/casbin/node-casbin/commit/e6ad7af69344a5bd95b6490f162dba83d10c98fb)) - Merge conflicts. ([7179b17](https://github.com/casbin/node-casbin/commit/7179b17f7733f72fdd1d13ca6a7818415deb6d9c)) ## [5.0.1](https://github.com/casbin/node-casbin/compare/v5.0.0...v5.0.1) (2020-05-22) ### Bug Fixes - support comments after expression ([c97cb26](https://github.com/casbin/node-casbin/commit/c97cb26441d79316960a0464e8d56918859d969c)) # [5.0.0](https://github.com/casbin/node-casbin/compare/v4.7.2...v5.0.0) (2020-05-18) ### Features - add BuildIncrementalRoleLinks ([b565005](https://github.com/casbin/node-casbin/commit/b5650055a6e8c47da49dc3b7eb8646bb5bda90d9)) - improve effector for improve performance ([57de7b2](https://github.com/casbin/node-casbin/commit/57de7b2f1d21ceebb7097552c86721d94cac2275)) ### BREAKING CHANGES - **model** addPolicies, removePolicies and removeFilteredPolicy returns [boolean, string[][]] - - provides a new interface for Effector ## [4.7.2](https://github.com/casbin/node-casbin/compare/v4.7.1...v4.7.2) (2020-05-09) ### Bug Fixes - stackoverflow in getImplicitRolesForUser ([d0fc49f](https://github.com/casbin/node-casbin/commit/d0fc49fb12c7cbb9f985d444c1ed7613ded0121b)) ## [4.7.1](https://github.com/casbin/node-casbin/compare/v4.7.0...v4.7.1) (2020-05-08) ### Bug Fixes - Add examples. ([5cf950a](https://github.com/casbin/node-casbin/commit/5cf950ad25eecfad59281d5ba9d6ddae5cde199e)) - Added ABAC policy logic to the private enforcer. ([c6fc487](https://github.com/casbin/node-casbin/commit/c6fc48750313b400fb98e12802b3422bfc1921bf)) - Added util functions and util tests. ([72918bc](https://github.com/casbin/node-casbin/commit/72918bc677e898251dd4375516c31254e79eb6b8)) - compatible types ([58242a5](https://github.com/casbin/node-casbin/commit/58242a56f9f72b1a06e4901867f502b73674d640)) - tests. ([4da5291](https://github.com/casbin/node-casbin/commit/4da52916d27f262a4813d2b4ff78461312b67c22)) # [4.7.0](https://github.com/casbin/node-casbin/compare/v4.6.0...v4.7.0) (2020-05-03) ### Features - add getImplicitUsersForPermission ([ad9df14](https://github.com/casbin/node-casbin/commit/ad9df1417cbdb7e0d9065c78e86181d193778adf)) # [4.6.0](https://github.com/casbin/node-casbin/compare/v4.5.0...v4.6.0) (2020-05-02) # [4.5.0](https://github.com/casbin/node-casbin/compare/v4.4.0...v4.5.0) (2020-04-30) ### Features - avoid miss initialize() ([1394e8d](https://github.com/casbin/node-casbin/commit/1394e8ddfdc4cc9d8859ae034a8f36fb9e3b54e7)) # [4.4.0](https://github.com/casbin/node-casbin/compare/v4.3.1...v4.4.0) (2020-04-25) ### Features - add addMatchingFunc to DefaultRoleManager ([cc04e65](https://github.com/casbin/node-casbin/commit/cc04e659a1c3b78bb12dcccbb2149bfd9d96c97c)) ## [4.3.1](https://github.com/casbin/node-casbin/compare/v4.3.0...v4.3.1) (2020-04-21) ### Bug Fixes - improve update into adapter before model ([0e9ccc6](https://github.com/casbin/node-casbin/commit/0e9ccc6b2e4387b9130df8af4fa0e23f7e73958b)) # [4.3.0](https://github.com/casbin/node-casbin/compare/v4.2.1...v4.3.0) (2020-04-20) ### Features - controls whether to automatically notify Watcher ([2ce07c2](https://github.com/casbin/node-casbin/commit/2ce07c29cd49c6da304063e8075923b739fc5145)) ## [4.2.1](https://github.com/casbin/node-casbin/compare/v4.2.0...v4.2.1) (2020-04-05) ### Bug Fixes - remove use spread operator with await in array ([6e4f876](https://github.com/casbin/node-casbin/commit/6e4f87676301470a178ccd10efd28f6758cc738e)) # [4.2.0](https://github.com/casbin/node-casbin/compare/v4.1.1...v4.2.0) (2020-04-05) ### Features - add glob pattern to built-in function ([8415fc2](https://github.com/casbin/node-casbin/commit/8415fc2648796d033c85771e27219bd32541982e)) ## [4.1.1](https://github.com/casbin/node-casbin/compare/v4.1.0...v4.1.1) (2020-02-20) ### Bug Fixes - **enforcer.ts:** fix deleteUser and improve deleteRole description ([1e6af16](https://github.com/casbin/node-casbin/commit/1e6af16e939543a56dbf9cb5d39924263186fc9a)), closes [#118](https://github.com/casbin/node-casbin/issues/118) # [4.1.0](https://github.com/casbin/node-casbin/compare/v4.0.0...v4.1.0) (2020-02-13) ### Features - synchronized enforcer ([ecec514](https://github.com/casbin/node-casbin/commit/ecec514a582f1bfad94214b61ee06fc1cab3fc36)) # [4.0.0](https://github.com/casbin/node-casbin/compare/v3.1.0...v4.0.0) (2020-02-11) ### improvement - convert all management_api to async function ([e9f4d38](https://github.com/casbin/node-casbin/commit/e9f4d38e153b10ffbd4fa09355ec72eb3dae47cd)) ### BREAKING CHANGES - see # # [3.1.0](https://github.com/casbin/node-casbin/compare/v3.0.9...v3.1.0) (2020-01-22) ### Features - implementation cachedEnforcer ([0ace1a6](https://github.com/casbin/node-casbin/commit/0ace1a66a36d5fe3ada37bfaaa938b84fc001c58)) ## [3.0.9](https://github.com/casbin/node-casbin/compare/v3.0.8...v3.0.9) (2020-01-14) ### Bug Fixes - getImplicitPermissionsForUser missing domain parameter ([584624c](https://github.com/casbin/node-casbin/commit/584624c99eabca68fc790d66fc4737511d92b074)) ## [3.0.8](https://github.com/casbin/node-casbin/compare/v3.0.7...v3.0.8) (2019-12-12) ## [3.0.7](https://github.com/casbin/node-casbin/compare/v3.0.6...v3.0.7) (2019-11-18) ## [3.0.6](https://github.com/casbin/node-casbin/compare/v3.0.5...v3.0.6) (2019-11-07) ## [3.0.5](https://github.com/casbin/node-casbin/compare/v3.0.4...v3.0.5) (2019-10-29) ## [3.0.3](https://github.com/casbin/node-casbin/compare/v3.0.2...v3.0.3) (2019-07-06) ## [3.0.2](https://github.com/casbin/node-casbin/compare/v3.0.1...v3.0.2) (2019-07-06) ## [3.0.1](https://github.com/casbin/node-casbin/compare/v3.0.0...v3.0.1) (2019-06-14) # [3.0.0](https://github.com/casbin/node-casbin/compare/v3.0.0-beta.1...v3.0.0) (2019-06-05) # [3.0.0-beta.1](https://github.com/casbin/node-casbin/compare/v2.0.3...v3.0.0-beta.1) (2019-04-29) ## [2.0.3](https://github.com/casbin/node-casbin/compare/v2.0.1...v2.0.3) (2019-04-22) ## [2.0.1](https://github.com/casbin/node-casbin/compare/v2.0.0...v2.0.1) (2019-02-08) # [2.0.0](https://github.com/casbin/node-casbin/compare/v1.1.9...v2.0.0) (2019-01-05) ## [1.1.9](https://github.com/casbin/node-casbin/compare/v1.1.8...v1.1.9) (2018-12-20) ## [1.1.8](https://github.com/casbin/node-casbin/compare/v1.1.7...v1.1.8) (2018-12-18) ## [1.1.7](https://github.com/casbin/node-casbin/compare/v1.1.6...v1.1.7) (2018-12-14) ## [1.1.6](https://github.com/casbin/node-casbin/compare/v1.1.5...v1.1.6) (2018-12-07) ## [1.1.5](https://github.com/casbin/node-casbin/compare/v1.1.4...v1.1.5) (2018-11-02) ## [1.1.4](https://github.com/casbin/node-casbin/compare/v1.1.2...v1.1.4) (2018-11-01) ## [1.1.2](https://github.com/casbin/node-casbin/compare/v1.1.1...v1.1.2) (2018-08-27) ## [1.1.1](https://github.com/casbin/node-casbin/compare/v1.1.0...v1.1.1) (2018-08-20) # [1.1.0](https://github.com/casbin/node-casbin/compare/v1.0.9...v1.1.0) (2018-08-17) ## [1.0.5](https://github.com/casbin/node-casbin/compare/v1.0.0...v1.0.5) (2018-08-09)