Skip to content

Releases: casbin/node-casbin

node-casbin v3.0.0-beta.1

29 Apr 13:02
Compare
Choose a tag to compare
Pre-release

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

28 Apr 16:02
Compare
Choose a tag to compare

node-casbin 2.0.2

28 Apr 16:01
Compare
Choose a tag to compare
  • 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

08 Feb 02:56
Compare
Choose a tag to compare
  • 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

05 Jan 06:41
Compare
Choose a tag to compare
  • [Breaking Change] Remove Enforcer.newEnforcer() and Enforcer.newModel(), please use casbin.newEnforcer() and casbin.newModel() instead.
  • Add Logger interface, A custom Logger implementation can be used in Casbin.
  • Reduce the package size from 13.1 MB to 6 MB: #37

node-casbin 1.1.9

25 Dec 15:09
Compare
Choose a tag to compare
  • Fix the issue of v1.1.8

node-casbin 1.1.8

25 Dec 15:08
Compare
Choose a tag to compare
  • Adjust the API interface.

node-casbin 1.1.7

14 Dec 14:50
Compare
Choose a tag to compare
  • Fixed a bug that loadFilteredPolicy() is not async.

node-casbin 1.1.6

07 Dec 13:59
Compare
Choose a tag to compare
  • Fixed a bug in savePolicy().
  • Fixed a bug in enforce().

node-casbin 1.1.5

02 Nov 13:53
Compare
Choose a tag to compare

Fix the bugs in RBAC API's getUsersForRole().