Releases: casbin/node-casbin
Releases · casbin/node-casbin
node-casbin v3.0.3
- Fix the matcher escaping bug, fix: #71
node-casbin v3.0.2
- Add built-in String Adapter: https://github.com/casbin/node-casbin/blob/master/src/persist/stringAdapter.ts
- Revert AST-based matcher escaping: cab0ceb, image size is dramatically reduced. Fix: #78
node-casbin v3.0.1
node-casbin v3.0.0
See https://github.com/casbin/node-casbin/releases/tag/v3.0.0-beta.1 for more details.
node-casbin v3.0.0-beta.1
Install
yarn add casbin@beta
Breaking Changes
- Make all functions
async
in RoleManager. - Make
enforce()
async
. - Make
getImplicitRolesForUser()
async
. - Make
getImplicitPermissionsForUser
async
.
node-casbin 2.0.3
- Add
getImplicitRolesForUser()
andgetImplicitPermissionsForUser()
API, see: https://casbin.org/docs/en/rbac#how-to-query-implicit-roles-or-permissions
node-casbin 2.0.2
- Fix bug in
removeFilteredPolicy()
series functions. - Add multi-line matcher support in model like Golang's Casbin.
- Add more tests for Management API.
node-casbin 2.0.1
- Add elastic.io's Mongoose Adapter to README.
- Add four new Casbin implementations for Python, Delphi, C# and Rust in README.
- Add domain parameter to
deleteRolesForUser()
API. - Return boolean in
deleteRole()
API. - Modify
keyMatch2()
function:keyMatch2("/project/1/member", "/project/1")
returns false now, fix: #48 - Update typescript dependency to v3 to fix the build error.
node-casbin 2.0.0
- [Breaking Change] Remove
Enforcer.newEnforcer()
andEnforcer.newModel()
, please usecasbin.newEnforcer()
andcasbin.newModel()
instead. - Add
Logger
interface, A customLogger
implementation can be used in Casbin. - Reduce the package size from 13.1 MB to 6 MB: #37
node-casbin 1.1.9
- Fix the issue of
v1.1.8