Skip to content

Latest commit

 

History

History
498 lines (305 loc) · 26.9 KB

CHANGELOG.md

File metadata and controls

498 lines (305 loc) · 26.9 KB

Changelog

Full Changelog

Implemented enhancements:

  • Support policy.csv comment or YAML file adapter #213

v2.0.5 (2020-12-24)

Full Changelog

Implemented enhancements:

  • Add actix-casbin-auth to Actix official middleware list #92

Fixed bugs:

  • not currently running on the Tokio runtime on tonic #221
  • CSV loader deletes double quotes #214

Closed issues:

  • Broken enforce with json string in 2.0 #210

Merged pull requests:

v2.0.3 (2020-10-19)

Full Changelog

v2.0.2 (2020-09-19)

Full Changelog

Closed issues:

  • setup clog-cli CI #205

Merged pull requests:

v2.0.1 (2020-08-30)

Full Changelog

v2.0.0 (2020-08-30)

Full Changelog

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)

Full Changelog

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)

Full Changelog

Implemented enhancements:

  • clear_policy in adapter and enforcer #193
  • Improve casbin-rs bench #109

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)

Full Changelog

Merged pull requests:

v1.1.0 (2020-07-14)

Full Changelog

Implemented enhancements:

  • add cache for g function #175

Closed issues:

  • test issue-label-bot #178
  • setup issue-label-bot #177
  • GSOC & Non-GSOC: gitter team link #80

Merged pull requests:

v1.0.0 (2020-06-18)

Full Changelog

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)

Full Changelog

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)

Full Changelog

v0.9.1 (2020-05-13)

Full Changelog

v0.9.0 (2020-05-13)

Full Changelog

v0.8.7 (2020-05-13)

Full Changelog

Merged pull requests:

v0.8.6 (2020-05-13)

Full Changelog

v0.8.5 (2020-05-13)

Full Changelog

Merged pull requests:

v0.8.4 (2020-05-12)

Full Changelog

Merged pull requests:

v0.8.3 (2020-05-12)

Full Changelog

v0.8.2 (2020-05-12)

Full Changelog

Merged pull requests:

v0.8.1 (2020-05-12)

Full Changelog

Merged pull requests:

v0.8.0 (2020-05-11)

Full Changelog

Merged pull requests:

v0.7.6 (2020-05-11)

Full Changelog

v0.7.5 (2020-05-11)

Full Changelog

Merged pull requests:

v0.7.4 (2020-05-10)

Full Changelog

Merged pull requests:

v0.7.2 (2020-05-10)

Full Changelog

Merged pull requests:

v0.7.1 (2020-05-08)

Full Changelog

Merged pull requests:

v0.7.0 (2020-05-08)

Full Changelog

Implemented enhancements:

  • switch to smol when it's ready #130

Closed issues:

  • GSOC: logger system #84
  • GSOC: actix actor,actix middleware #82

Merged pull requests:

v0.6.2 (2020-05-01)

Full Changelog

Merged pull requests:

v0.6.1 (2020-04-25)

Full Changelog

Merged pull requests:

v0.6.0 (2020-04-18)

Full Changelog

Closed issues:

  • Implement FilteredAdapter #79
  • Roadmap for casbin-rs@1.0.0 #5

Merged pull requests:

v0.5.2 (2020-04-15)

Full Changelog

Closed issues:

  • add github-action-benchmark #104

Merged pull requests:

v0.5.1 (2020-04-12)

Full Changelog

Closed issues:

  • considering trait inheritance #99
  • Implement ABAC model #78

Merged pull requests:

v0.5.0 (2020-04-10)

Full Changelog

Closed issues:

  • GSOC: tokio runtime, fully async adapter #81

Merged pull requests:

v0.4.4 (2020-04-08)

Full Changelog

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)

Full Changelog

Closed issues:

  • implementation of TryIntoAdapter and TryIntoModel trait #70
  • Missing logger support #51

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)

Full Changelog

Closed issues:

  • Missing watcher support (with a proper lock) #46

Merged pull requests:

v0.4.1 (2020-04-05)

Full Changelog

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 and removePolicies #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 and removePolicies #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