Implemented enhancements:
- Support policy.csv comment or YAML file adapter #213
v2.0.5 (2020-12-24)
Implemented enhancements:
- Add actix-casbin-auth to Actix official middleware list #92
Fixed bugs:
Closed issues:
- Broken enforce with json string in 2.0 #210
Merged pull requests:
- revert tokio upgrade #223 (GopherJ)
- fix(csv): shouldn't delete inner double quotes #216 (GopherJ)
- feat: switch to lru #212 (PsiACE)
- upgrade versions of rhai & tokio #211 (PsiACE)
v2.0.3 (2020-10-19)
v2.0.2 (2020-09-19)
Closed issues:
- setup clog-cli CI #205
Merged pull requests:
v2.0.1 (2020-08-30)
v2.0.0 (2020-08-30)
Implemented enhancements:
- support serializable struct to be passed as ABAC parameters #199
- pattern support in role manager #192
Merged pull requests:
v1.1.3 (2020-08-26)
Implemented enhancements:
- structured logging #190
- add
EnforcerBuilder
type? #174 - casbin cache #171
- Make a Casbin middleware for Rocket.rs #93
- GSOC: Shared Redis TTL cache #83
v1.1.2 (2020-07-20)
Implemented enhancements:
Fixed bugs:
- allowing the parsing of policy file to deal with commas inside columns #184
Closed issues:
- re-exports rhai & add IEnforcer #197
- Filter should work with dynamic values (&str instead of &'static str) #195
Merged pull requests:
- feat: re-exports rhai & add IEnforcer && bump version #198 (GopherJ)
- Change Filter definition to support dynamic filter. #196 (bodymindarts)
v1.1.1 (2020-07-18)
Merged pull requests:
v1.1.0 (2020-07-14)
Implemented enhancements:
- add cache for g function #175
Closed issues:
Merged pull requests:
- Cache g #183 (GopherJ)
- Update rhai requirement from 0.16.1 to 0.17.0 #182 (dependabot-preview[bot])
- Update rhai requirement from 0.15.1 to 0.16.1 #179 (dependabot-preview[bot])
v1.0.0 (2020-06-18)
Implemented enhancements:
- Make effector a stream to optimize enforcing speed by quick return #125
- split code into multiple features #97
- automate package release #90
Closed issues:
- casbin cache #170
- Explain enforcement by informing matched rules #141
- Dont rebuild all role links #138
Merged pull requests:
v0.9.3 (2020-05-25)
Closed issues:
- Add AuthN & AuthZ sections for Rust in our awesome-auth list #160
Merged pull requests:
- Change enforce and enforce_mut to non-async. #166 (schungx)
- remove explain relevant code when feature has been disabled #164 (GopherJ)
- Speed improvements #163 (schungx)
- Use eval_expression to restrict to expressions only. #161 (schungx)
v0.9.2 (2020-05-13)
v0.9.1 (2020-05-13)
v0.9.0 (2020-05-13)
v0.8.7 (2020-05-13)
Merged pull requests:
v0.8.6 (2020-05-13)
v0.8.5 (2020-05-13)
Merged pull requests:
- fix: exec module not found #155 (GopherJ)
- fix: semantic-release/exec-not-found #154 (GopherJ)
- fix: semantic release #153 (GopherJ)
- add status log #152 (GopherJ)
v0.8.4 (2020-05-12)
Merged pull requests:
v0.8.3 (2020-05-12)
v0.8.2 (2020-05-12)
Merged pull requests:
v0.8.1 (2020-05-12)
Merged pull requests:
- Revert "Effector stream" #147 (GopherJ)
- Revert "Fix: CI" #146 (GopherJ)
- finish effector stream #145 (GopherJ)
- Fix: CI #143 (GopherJ)
v0.8.0 (2020-05-11)
Merged pull requests:
v0.7.6 (2020-05-11)
v0.7.5 (2020-05-11)
Merged pull requests:
v0.7.4 (2020-05-10)
Merged pull requests:
v0.7.2 (2020-05-10)
Merged pull requests:
v0.7.1 (2020-05-08)
Merged pull requests:
v0.7.0 (2020-05-08)
Implemented enhancements:
- switch to smol when it's ready #130
Closed issues:
Merged pull requests:
- Simple logger #134 (GopherJ)
- remove circular link caused by pattern matching func #133 (GopherJ)
- make enforce immutable and add enforce_mut #132 (GopherJ)
- fix stackoverflow when circular link detected #131 (GopherJ)
v0.6.2 (2020-05-01)
Merged pull requests:
v0.6.1 (2020-04-25)
Merged pull requests:
- add simple quick return #126 (GopherJ)
- add get_all_policy, get_all_grouping_policy #124 (GopherJ)
- POC try scaling abac rules #121 (GopherJ)
v0.6.0 (2020-04-18)
Closed issues:
- Implement FilteredAdapter #79
- Roadmap for [email protected] #5
Merged pull requests:
- Stable filtered adapter #120 (GopherJ)
- Share engine #117 (GopherJ)
- deactivate script functon, extra i8, i16...i128, and float math #116 (GopherJ)
v0.5.2 (2020-04-15)
Closed issues:
- add github-action-benchmark #104
Merged pull requests:
- use raw engine && bump version #115 (GopherJ)
- add remove_filtered_policy details && enable_auto_notify_watcher func… #113 (GopherJ)
- Update rhai requirement from 0.11.1 to 0.12.0 #111 (dependabot-preview[bot])
- Improve/benchmark #110 (GopherJ)
- add benchmarks #108 (GopherJ)
- Add workflow for benchmark. #107 (PsiACE)
v0.5.1 (2020-04-12)
Closed issues:
Merged pull requests:
- Improve/watcher #106 (GopherJ)
- Implement ABAC #102 (xcaptain)
- use lazy static to avoid re-complilation of regex #96 (DevinR528)
v0.5.0 (2020-04-10)
Closed issues:
- GSOC: tokio runtime, fully async adapter #81
Merged pull requests:
v0.4.4 (2020-04-08)
Closed issues:
- support pattern in role manager #94
- improve error handling #85
- Missing async support (async-std + async adapter) #43
Merged pull requests:
- remove inMatch because rhai starts to support in operator since 0.11.1 #98 (GopherJ)
- add support of pattern #95 (GopherJ)
v0.4.3 (2020-04-06)
Closed issues:
Merged pull requests:
- Improve/error handling #91 (GopherJ)
- upgrade rhai to 0.11.1 to make Error Send, Sync #89 (GopherJ)
- remove clones and string allocs, use macro for model retreval #87 (DevinR528)
v0.4.2 (2020-04-05)
Closed issues:
- Missing watcher support (with a proper lock) #46
Merged pull requests:
v0.4.1 (2020-04-05)
Implemented enhancements:
- Database transactions similar api
addPolicies
,removePolicies
#55 - Diesel adapter is calling for contribution! #35
- Add a new from file api for model #32
- Consider default implement some APIs for Enforcer #31
- Rename the package name #30
- Refactor API structure #29
- Proper error handling (eliminate unwrap calls) #24
- Role inheritance problem in rbac.rs #7
Fixed bugs:
- Relation to Devolutions/casbin-rs? #23
Closed issues:
- covert rule: Vec<&str> to rule: Vec<String> #73
- Add Casbin-RS to our feature set table #71
- Consider using the subslice patterns #67
- Add unit tests for
addPolicies
andremovePolicies
#65 - Add an example to Actix web examples repo #63
- Automatically publish package to crate.io when a new git tag is created #58
- Add crates badge that linked to: https://crates.io/crates/casbin #54
- Missing cache support #45
- Use github actions to auto generate rust doc #33
- Add "Installation" and "Get started" in README. #27
- Should we stick with rust clippy #15
Merged pull requests:
- add critcmp & insert into adapter before model #77 (GopherJ)
- add glob_match, make enforce function take only reference #76 (GopherJ)
- Refactor: modify Vec<&str> to Vec<String> (#73) #75 (hackerchai)
- Benchmark #68 (DevinR528)
- Added Unit Tests for
addPolicies
andremovePolicies
#66 (drholmie) - Create release.yml #62 (PsiACE)
- Update rustdoc workflow. #61 (PsiACE)
- fix cache tests for runtime-tokio #60 (GopherJ)
- Feature/model trait and add policies #59 (GopherJ)
- Build docs #57 (PsiACE)
- Add badges. #56 (PsiACE)
- add async/await support #53 (GopherJ)
- Add some keywords and readme and also optimize --release compiles #52 (omid)
- Feature/watcher and cache #50 (GopherJ)
- fix more rbac apis (add missing domain parameter) & add prelude module #49 (GopherJ)
- fix DefaultRoleManager::get_users && add domain paramter to get_roles… #48 (GopherJ)
- using IndexSet to store policy in assertion #47 (GopherJ)
- replace Box by Arc<RwLock> && add get_model, get_mut_model for Model.… #44 (GopherJ)
- Improve/add function and remove gg2 gg3 #42 (GopherJ)
- fix typo in load_assertion #41 (zupzup)
- add in operator #40 (GopherJ)
- apply new error type to enforcer,model,config... #39 (GopherJ)
- remove Send & Sync marker to make it easier to construct error types #37 (GopherJ)
- make CasbinResult public #36 (GopherJ)
- update some metadata #34 (xcaptain)
- Add some get started doc #28 (xcaptain)
- Add multi-thread support #26 (xcaptain)
- make g function support 2 or 3 parameters #22 (xcaptain)
- Optimize role manager and add more rbac apis #20 (xcaptain)
- add error handling #19 (xcaptain)
- add auto_save and auto_build_role_links option in enforcer #17 (xcaptain)
- resolve clippy warnings and add clippy to travis #16 (GopherJ)
- Feature/enforcer rbac api #14 (xcaptain)
- add unit tests for model and implement ip match #13 (GopherJ)
- use Rc<RefCell<Role>> to store roles #9 (xcaptain)
- add travis-ci and codecov badges #6 (xcaptain)
- [add]: load_model && load_model_from_text #4 (GopherJ)
- [add]: support for parsing config files with multiple lines #3 (GopherJ)
- add a basic parsing functions for ini config file #2 (xcaptain)
- add basic matching function for casbin #1 (xcaptain)
* This Changelog was automatically generated by github_changelog_generator