Skip to content

Latest commit

 

History

History
948 lines (410 loc) · 38.1 KB

File metadata and controls

948 lines (410 loc) · 38.1 KB

Semantic Versioning Changelog

2.6.1 (2025-12-19)

Bug Fixes

  • remove irrelevant links in README (6c3df05)

2.6.0 (2025-11-06)

Features

  • fix enforce_ex() API returning empty explanations for allow rules in deny models (#412) (dbd28b7)

2.5.0 (2025-11-06)

Features

  • only run CI for Python "3.12", "3.13" (2e5783c)
  • update CI Node.js version to 20 (5bd7a08)

2.4.0 (2025-10-14)

Features

  • fix inconsistent async handling bug for watcher.update() API (#406) (7875d02)

2.3.0 (2025-10-04)

Features

  • use wcmatch.glob for glob_match with "**" support (#402) (0ff7cd8)

2.2.0 (2025-08-24)

Features

  • fix bug that get_all_subjects() and similar APIs get wrong result (#399) (cd76b7c)

2.1.0 (2025-08-19)

Features

  • align add_policy API with Golang Casbin (#398) (937b649)

2.0.0 (2025-08-10)

Features

  • update README.md status badges and improve TestFastEnforcer() (#396) (79105a0), closes #395

BREAKING CHANGES

  • this work for release PyCasbin v2

  • docs: change status badge

1.50.0 (2025-08-09)

Features

1.49.0 (2025-08-06)

Features

  • add add_grouping_policies_ex and add_named_grouping_policies_ex APIs (#392) (cc34db6)

1.48.0 (2025-08-01)

Features

  • add new APIs: add_policies_ex() and add_named_policies_ex() (#391) (e0a64f9)

1.47.0 (2025-07-26)

Features

  • fix the bug that add_policies does not update policy_map (#390) (c0c6065)

1.46.0 (2025-07-20)

Features

1.45.0 (2025-06-07)

Features

  • Optimize load_policy_line to avoid quadratic individual-character loop (#355) (d3149e8)

1.44.0 (2025-06-07)

Features

1.43.0 (2025-05-10)

Features

1.42.0 (2025-04-21)

Features

  • fix missing await in load_increment_filtered_policy() in async_internal_enforcer.py (#378) (ca26402)

1.41.0 (2025-03-15)

Features

  • add "logging_config" for PyCasbin logging (#376) (f39ace2)

1.40.0 (2025-03-13)

Features

  • fix bug that "!=" in policies is replaced with "not=" (#375) (54208b6)

1.39.0 (2025-03-11)

Features

  • Port get_allowed_object_conditions() from Golang to Python (#373) (c433a59)

1.38.0 (2025-01-12)

Features

  • add StringAdapter's statement in init.py (#367) (bf84eed)

1.37.0 (2024-11-25)

Features

  • enhance FilteredFileAdapter to handle flexible filtering for policies and roles (#360) (936d5f6)

1.36.3 (2024-06-24)

Bug Fixes

  • KeyError: 'g' when build_role_links (bf9cb44)

1.36.2 (2024-06-11)

Bug Fixes

  • field_index is incorrect in RBAC with domains mode (#345) (#346) (9f6a379)

1.36.1 (2024-05-21)

Bug Fixes

1.36.0 (2024-02-09)

Features

1.35.0 (2024-01-11)

Features

  • support up to Python 3.12 (6dea204)

1.34.0 (2023-12-28)

Features

  • add interface stubs for async adapters (#335) (d557189)

1.33.0 (2023-10-25)

Features

1.32.0 (2023-10-18)

Features

1.31.2 (2023-10-06)

Bug Fixes

1.31.1 (2023-09-30)

Bug Fixes

1.31.0 (2023-09-24)

Features

1.30.0 (2023-09-23)

Features

  • disable logger when log is not enabled (#321) (952c208)

1.29.0 (2023-09-23)

Features

  • Fixed the subjectPriority sorting algorithm and support for checking the subject role link loop (#322) (f964e2a)

1.28.0 (2023-09-16)

Features

1.27.0 (2023-09-03)

Features

  • add get_implicit_users_for_resource api (#317) (8172097)

1.26.0 (2023-08-31)

Features

1.25.0 (2023-08-30)

Features

1.24.0 (2023-08-27)

Features

1.23.1 (2023-08-10)

Bug Fixes

  • fix bug in add policy for priority effectors (#313) (8d30537)

1.23.0 (2023-08-06)

Features

1.22.0 (2023-07-14)

Features

  • update logger for more precise log level and format control (#306) (5c688d7)

1.21.0 (2023-07-10)

Features

1.20.0 (2023-07-07)

Features

  • add auto_notify_watcher to core enforcer (#303) (15de222)

1.19.0 (2023-05-24)

Features

1.18.3 (2023-05-22)

Bug Fixes

  • Exclude tests from package (#297) (9b014a2)
  • Stop including README as top-level data file in package (#296) (e85e9b9)

1.18.2 (2023-04-06)

Bug Fixes

  • load policy rule without splitting custom functions (#293) (fbc4261)

1.18.1 (2023-04-01)

Bug Fixes

  • support escaping comma inside quote in load_policy_line()'s CSV parsing (#292) (51e6e7c)

1.18.0 (2023-03-07)

Features

1.17.6 (2023-02-09)

Bug Fixes

  • fix typo in remove_grouping_policies() API (#287) (747f71d)

1.17.5 (2022-12-05)

Bug Fixes

  • polish import grammar and remove some useless package (#282) (be53e0b)

1.17.4 (2022-11-01)

Bug Fixes

  • fix bug in autoloader error handling (#275) (e6f03ce)

1.17.3 (2022-11-01)

Bug Fixes

1.17.2 (2022-10-20)

Bug Fixes

  • catch exceptions in synced enforcer thread (#272) (ff35627)

1.17.1 (2022-08-28)

Bug Fixes

1.17.0 (2022-08-08)

Features

1.16.11 (2022-07-30)

Bug Fixes

1.16.10 (2022-07-30)

Bug Fixes

1.16.9 (2022-07-10)

Bug Fixes

1.16.8 (2022-06-26)

Bug Fixes

  • add dependency for benchmark (#262) (4f3e71f)
  • add more example of globmatch and add unit test for it (#263) (42d65d2)

1.16.7 (2022-06-26)

Bug Fixes

  • add import statement in tests module (#264) (8d83b84)

1.16.6 (2022-06-22)

Bug Fixes

  • Set the default log level to warning (#261) (9a48e5d)

1.16.5 (2022-05-20)

Bug Fixes

1.16.4 (2022-05-13)

Bug Fixes

1.16.3 (2022-04-30)

Bug Fixes

  • different behavior of glob_match from other casbin (#254) (49b6a04)

1.16.2 (2022-04-30)

Bug Fixes

  • allow permissions management to use additional p-types (#256) (37892e1)

1.16.1 (2022-04-29)

Bug Fixes

1.16.0 (2022-04-27)

Features

1.15.5 (2022-04-16)

Bug Fixes

1.15.4 (2022-01-13)

Bug Fixes

1.15.3 (2022-01-13)

Bug Fixes

  • #239, not allowing more than 9 types of policies/requests (dcf4392)

1.15.2 (2021-12-17)

Bug Fixes

Performance Improvements

  • judge whether use domain_matching_func (#232) (bb12c0f)

1.15.2 (2021-12-15)

Bug Fixes

1.15.1 (2021-12-13)

Performance Improvements

  • add pytest-benchmark and judge whether use regex in rabc (#228) (252c288)

1.15.0 (2021-12-11)

Features

1.14.0 (2021-12-09)

Features

1.13.0 (2021-12-08)

Features

  • get implicit permissions filter policies domain by matching function (#226) (e16dfb3)

1.12.0 (2021-11-27)

Features

  • support matching functions to filter policies (#222) (9d0528d)

1.11.1 (2021-11-21)

Bug Fixes

  • add glob_match() test cases from Go to Python (658d3bb)

1.11.0 (2021-11-21)

Features

  • ignore policies with domain when get_implicit_permissions_for_user (5ca47b7)

1.10.1 (2021-11-21)

Bug Fixes

  • linter bug in test_enforcer.py (782f229)

1.10.0 (2021-11-20)

Features

  • port the test case of add_function() example to pycasbin (#217) (c19d065)

1.9.7 (2021-11-18)

Bug Fixes

  • reimplement default role manager (b8f7fa7)

1.9.6 (2021-11-12)

Bug Fixes

  • replace build_role_links with build_incremental_role_links (1d60cd3)

1.9.5 (2021-11-12)

Bug Fixes

  • remove_filtered_policy_returns_effects inconsistent input with remove_filtered_policy (#211) (e7e6696)

1.9.4 (2021-10-29)

Bug Fixes

  • load_policy_line function load error (bca7eed)

1.9.3 (2021-10-24)

Bug Fixes

  • update simpleeval version to 0.9.11 (79fdf21)

1.9.2 (2021-09-29)

Bug Fixes

1.9.1 (2021-09-28)

Bug Fixes

1.9.0 (2021-09-25)

Features

1.8.1 (2021-09-16)

Bug Fixes

1.8.0 (2021-08-31)

Features

1.7.0 (2021-08-29)

Features

  • support in operator on list/set and other compound types (3f6ee8f)

1.6.0 (2021-08-27)

Features

1.5.0 (2021-08-17)

Features

  • multiple request, policy, effect, matcher type support (#181) (468503b)

1.4.0 (2021-07-19)

Features

1.3.0 (2021-07-04)

Features

  • add API for role manager besides "g" (#173) (23d39a5)

1.2.1 (2021-06-30)

Bug Fixes

  • matching_func works with multiply match (#172) (bbe45ad)

1.2.0 (2021-06-27)

Features

  • add support for add_domain_matching_function (#165) (19b9503)

1.1.3 (2021-06-16)

Bug Fixes

1.1.2 (2021-06-07)

Bug Fixes

  • start auto loading policy for SyncedEnforcer (4724f7a)

1.1.1 (2021-05-24)

Bug Fixes

  • function 'keyMatch3' not defined (e97bb6a)

1.1.0 (2021-05-23)

Bug Fixes

  • enforce_ex now works fine when it was disabled (15f58c9)

Features

1.0.6 (2021-05-13)

Bug Fixes

  • optimized install_requires parsing process (34d3a4f)

1.0.5 (2021-05-12)

Bug Fixes

  • replace fnmatch with wcmatch for glob match, keep same behavior with Go Casbin (#149) (906f40c)

1.0.4 (2021-04-24)

Performance Improvements

1.0.3 (2021-04-23)

Bug Fixes

  • r.user.name -> r_user_name instead of r_user.name in ABAC model (192529e)

1.0.2 (2021-04-12)

Bug Fixes

1.0.1 (2021-04-09)

Bug Fixes

  • wrong domain length judge and bug in build_incremental_role_links() (#139) (51b8833)

1.0.0 (2021-04-06)

Features

BREAKING CHANGES

  • Custom effectors will need a rewrite

Signed-off-by: Andreas Bichinger andreas.bichinger@gmail.com

Co-authored-by: Andreas Bichinger andreas.bichinger@gmail.com

0.20.0 (2021-04-06)

Features

  • added distributed enforcer file along with respective unit tests (f167ebf)

0.19.2 (2021-04-01)

Bug Fixes

  • Added checks in init_with_model_and_adapter in CoreEnforcer (1c55727)

0.19.1 (2021-03-18)

Bug Fixes

  • relocate unittest and fix file path (5ed07b2)

0.19.0 (2021-03-18)

Features

0.18.4 (2021-03-17)

Performance Improvements

  • Added code to convert config value to different types (c87fdfa)

0.18.3 (2021-03-12)

Performance Improvements

  • refacto & improve performance (ff7f288)

0.18.2 (2021-03-02)

Bug Fixes

0.18.1 (2021-02-25)

Performance Improvements

  • reposition build_role_links() (396ef7a)

0.18.0 (2021-02-23)

Features

  • add AddNamedDomainMatchingFunc and AddNamedMatchingFunc to enforcer (#122) (e01f393)

0.17.0 (2021-02-19)

Features

0.16.2 (2021-02-03)

Performance Improvements

0.16.1 (2021-01-29)

Bug Fixes

  • role manager with matching_func (8079cda)

0.16.0 (2021-01-09)

Features

  • add batch api to SyncedEnforcer (9191ccd)
  • add batch_adapter (9470c3e)

0.15.0 (2020-12-26)

Features

0.14.0 (2020-12-23)

Features

  • add function get_role_manager (7fb1879)
  • add SyncedEnforcer (9439272)

0.13.0 (2020-12-14)

Features

  • add glob pattern matching using fnmatch module (41ba828)

0.12.0 (2020-12-07)

Features

  • add semantic-release-pypi plugin (e53d842)

0.11.0 (2020-12-01)

Features

0.10.0 (2020-11-10)

Bug Fixes

  • improve KeyMatch and add tests (f62a2b2)

Features

  • support semantic-release (f346ab4)