Releases: amikecoXu/jcasbin
Releases · amikecoXu/jcasbin
v1.0.0
1.0.0 (2024-02-19)
Bug Fixes
- 'in' operator causes the expression to lose content (#253) (629f545)
- add cache for g function (5ec8f0c)
- add casbin-cpp to supported languages. (fe9a77a)
- add duplicate check (2551eeb)
- add rbac with resource roles and domain example (#329) (9d2f491)
- add the batchEnforce API. (67ad6ed)
- add the getRoleManager function (09d9405)
- add unit tests and fix some bugs for BuiltInFunctions (0a1ab3f)
- another way fix the bug for failing to disable casbin log (2be64f3)
- bugs in KeyGet2Func and KeyGetFunc (0efc4ad)
- change 'in' op to 'include' (0d37db5)
- change the scope of slf4j to test (31a0f65)
- change type to use correct FilteredAdapter type cast when loading filtered policies (e7dc1b6)
- compile cache doesn't take effect and add md5 string as cacheKey (#259) (5b43351)
- correct supported matcher types (#320) (c35739e)
- CustomFunction.replaceTargets replaces too much (02e463f)
- DistributedEnforcer addPolicySelf and InternalEnforcer to use dispatcher in methods (#282) (fc4ebaa)
- do not printPolicy if logs disabled (#302) (bdf2a6c)
- EscapeAssertion should escapes "r[0-9]." instead "r" (#268) (c2da3e3)
- fix ABAC rule with attribute that does not exist (#333) (424486f)
- fix hashmap thread unsafe (#294) (1281720)
- fix hashmap thread unsafe (#299) (9fd266f)
- fix no enforceExplain in eft.Deny (#338) (5cb8846)
- fix not using policy bug for enforcer (testABACJsonRequest, testABACNotUsingPolicy) (#378) (8d2aff1)
- fix the cache for g function (#240) (87e155d)
- fix the codecov. (9ba817c)
- fixed the ArrayIndexOutOfBoundsException (#314) (1da0a44)
- for Enforcer pass FilteredAdapter will load all policy (c61a1ab)
- Implemented arrayRemoveDuplicates (#263) (92bf9a4)
- make ecforceEx return a result which include `is (#308) (783030c)
- optimize enforce method by moving common code before 'for' loop (#341) (b8df7d8)
- optimize the deleteRole method (#272) (24826bc)
- PatternSyntaxException in Android (c81b481)
- priority cannot be non first policy element (6a40ed3), closes #177
- remove guava (#280) (e777aec)
- remove multiple domains in gFunction and simplify cache (#265) (2d718e5)
- Removed repeated section in loadModel and loadModelFromText in Model.java (0f8c1a1)
- return empty list when name does not exist in getRoles function. (42da984)
- sync config test case from Go to Java (#369) (05eeadd)
- update aviator-5.3.0-beta2 to support android (bca10e4)
- update getImplicitPermissionsForUser API (4d91e84), closes #174
- Update helper for loading policies (#293) (41bf788)
- update keyMatch2 for key2 == * (#344) (98432aa)
- update pom.xml. (d46d1a0)
- upgrade dependencies (#260) (5b7bfe0)
- use "github-actions" to send release notice (ea094c5), closes #190
- use CSV parsing instead of string splitting for built-in file adapter. (#171) (108dcb0)
- use github action rather than travis. (0a7314e)
- use janino rather than bsh. (db1a676)
- use rtype to get request tokens in CoreEnforcer (#355) (8c50f92)
Features
- add 'in' sytanx support (8daa357)
- add ABAC & JSON related test cases (#376) (2c363e1)
- add addMatchingFunc() and addDomainMatchingFunc() API (80591c6), closes #204
- add DefaultLogger feature (#371) (80502d4)
- add flexible EnforceContext constructor (#354) (154fa26)
- add getRoleManager() and benchmark the role manager (#287) ([f5e38b6](f5e38b6c99b9aff6436e990...