casbin 1.8.0 copy "casbin: ^1.8.0" to clipboard
casbin: ^1.8.0 copied to clipboard

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

1.8.0 - 2025-12-07 #

Features #

  • add JSON string support for ABAC enforcement (#59) (b4eb1f9)

1.7.0 - 2025-11-18 #

Features #

  • fix type check for FilteredAdapter using is operator (#67) (22db549)

1.6.0 - 2025-11-18 #

Features #

  • fix pub.dev OAuth credentials path in publishing workflow (#79) (ece281c)

1.5.0 - 2025-11-18 #

Features #

  • fix CI publish step: replace deprecated pub action with dart pub publish (#77) (110270d)

1.4.0 - 2025-11-18 #

Features #

  • fix CI publish step failing on Dart SDK version mismatch (#75) (ecf8801)

1.3.0 - 2025-11-18 #

Features #

  • add dart analyze to CI workflow and fix code formats (#73) (5ea7487)

1.2.0 - 2025-11-18 #

Features #

  • fix CI: update SDK constraint to >=3.0.0 for lints compatibility (#71) (71feb0f)

1.1.0 - 2025-11-18 #

Features #

  • fix CI publish failure: remove unnecessary set literals and update SDK constraint (#69) (3e045a5)

1.0.0 - 2025-11-18 #

Features #

BREAKING CHANGES #

  • Promoting to 1.0.0 stable release

0.2.0 - 2025-11-18 #

Bug Fixes #

Features #

  • fix CI failure: replace deprecated cedx/setup-dart with dart-lang/setup-dart (#65) (c1fb01b)
  • fix CI workflow stuck in queue due to deprecated ubuntu-20.04 runners (7a2096a)

0.1.0 - 2021-08-20 #

Bug Fixes #

  • better error texts in defaultRoleManager (59b525f)
  • fix return of enforce method (0b154ac)
  • fixed assertion issue (480a05e)
  • fixed exceptions to be more specific (2ef8b36)
  • fixed suggested changes (8f9048b)

Features #

  • added classes and methods to load model from CONF file (411d7bf)
  • added github actions for analysing code and running test on PR and pushes (66cf631)
  • added license text in all dart files (c4135fe)
  • added license text to new files (a9e6ee9)
  • added missing methods to enforcer apis (858f8d7)
  • added missing methods to model module (106b363)
  • added more methods to enforcer (664af28)
  • added required methods to enforcer apis (8867283)
  • added support for abac and added tests (6ea535d)
  • added tests for enforcer and management api (596d604)
  • added tests for logger (b5333c4)
  • added tests for matcher functions (6e27cd8)
  • added tests for matcher functions (39b4285)
  • exported required files (bdd612a)
  • fixed small issue and added tests (bdfaccc)
  • Implement config interface (cb57ee0)
  • implemented enforce to create minimum working prototype (2eb8d01)
  • implemented logger (9af6435)
  • implemented matcher functions - part 1 (ccb2e1b)
  • implemented methods for enforcer, coreEnforcer and added tests (6354ab5)
  • implemented missing methods to file adapter (e9c4568)
  • implemented missing parts of persist module (4682653)
  • implemented proper functioning enforce method and added tests for rbac (#28) (17b498c)
  • implemented remaining matcher functions (316947d)
  • prepared for new release (#48) (eee526a)
  • updated lint rules to prefer relative imports (438a9fb)
  • updated workflow to automate github and pub.dev release (#47) (e5692df)

0.1.0 #

  • All basic features are ready for use.

0.0.1 #

  • Initial version.
15
likes
150
points
1.72k
downloads

Publisher

verified publishercasbin.org

Weekly Downloads

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

Homepage
Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

Apache-2.0 (license)

Dependencies

collection, expressions, quiver

More

Packages that depend on casbin