Skip to content

Releases: casbin/node-casbin

node-casbin v3.0.3

06 Jul 13:46
Compare
Choose a tag to compare
  • Fix the matcher escaping bug, fix: #71

node-casbin v3.0.2

06 Jul 06:32
Compare
Choose a tag to compare

node-casbin v3.0.1

15 Jun 04:53
Compare
Choose a tag to compare

node-casbin v3.0.0

05 Jun 13:48
Compare
Choose a tag to compare

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