NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #2619 most downloaded on PyPI
An authorization library that supports access control models like ACL, RBAC, ABAC in Python
Last release 1 years ago
10 May 2025
Release timing varies
gaps range from 2 weeks to 5 months
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
126 releases · first in 2019
# 1.43.0 (2025-05-10) ### Features * fix CI error
One column per quarter.
fix bug that "!=" in policies is replaced with "not="
Port get_allowed_object_conditions() from Golang to Python
add StringAdapter's statement in init.py
enhance FilteredFileAdapter to handle flexible filtering for policies and roles
KeyError: 'g' when build_role_links
field_index is incorrect in RBAC with domains mode
## 1.36.1 (2024-05-21) ### Bug Fixes * FastEnforcer not fast
Added support for async watcher callbacks #340
# 1.35.0 (2024-01-11) ### Features * support up to Python 3.12
add interface stubs for async adapters
# 1.33.0 (2023-10-25) ### Features * change log level to warning
# 1.32.0 (2023-10-18) ### Features * fix integer priority sorting
## 1.31.2 (2023-10-06) ### Bug Fixes * use pre defined member
## 1.31.1 (2023-09-30) ### Bug Fixes * disabled all logger
# 1.31.0 (2023-09-24) ### Features * add temporal role model
disable logger when log is not enabled
Fixed the subjectPriority sorting algorithm and support for checking the subject role link loop
# 1.28.0 (2023-09-16) ### Features * port fastbin to casbin
add get_implicit_users_for_resource api
add get_all_roles_by_domain api
add key_match5 function for matcher
add field_index_map and constant
fix bug in add policy for priority effectors
# 1.23.0 (2023-08-06) ### Features * add AsyncEnforcer to pycasbin
update logger for more precise log level and format control
# 1.21.0 (2023-07-10) ### Features * add string adapter
add auto_notify_watcher to core enforcer
# 1.19.0 (2023-05-24) ### Features * Add batch_enforce() API
load policy rule without splitting custom functions
support escaping comma inside quote in load_policy_line()'s CSV parsing
revert "fix: avoid duplicate adapter entries (#259)"
fix typo in remove_grouping_policies() API
polish import grammar and remove some useless package
fix bug in autoloader error handling
load_policy changed the old model
catch exceptions in synced enforcer thread
## 1.17.1 (2022-08-28) ### Bug Fixes * some typos
# 1.17.0 (2022-08-08) ### Features * add watcher-ex call
## 1.16.11 (2022-07-30) ### Bug Fixes * update support python version
add key_get() for builtin_operators
## 1.16.9 (2022-07-10) ### Bug Fixes * add benchmark for glob match
add import statement in tests module
Set the default log level to warning
avoid duplicate adapter entries
different behavior of glob_match from other casbin
allow permissions management to use additional p-types
## 1.16.1 (2022-04-29) ### Bug Fixes * add lint config
# 1.16.0 (2022-04-27) ### Features * update_filtered_policies
load policy override role manager
## 1.15.4 (2022-01-13) ### Bug Fixes * #238, avoid calling has_eval in enforcing loop
## 1.15.3 (2022-01-13) ### Bug Fixes * #239, not allowing more than 9 types of policies/requests
add pytest-benchmark and judge whether use regex in rabc
# 1.15.0 (2021-12-11) ### Features * subject priority
casbin_js_get_permission_for_user
Your coding agent can read these notes before it upgrades. Set up the MCP server →