Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: casbin/casbin-rs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.1.3
Choose a base ref
...
head repository: casbin/casbin-rs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.0.0
Choose a head ref
  • 1 commit
  • 38 files changed
  • 1 contributor

Commits on Aug 30, 2020

  1. Release v2.0.0 (#204)

    * fix: bump version
    
    Signed-off-by: Cheng JIANG <jiang.cheng@vip.163.com>
    
    * feat: add clear_policy & rustfmt.toml
    
    Signed-off-by: Cheng JIANG <jiang.cheng@vip.163.com>
    
    * feat: rename all_roles to all_domains
    
    Signed-off-by: Cheng JIANG <jiang.cheng@vip.163.com>
    
    * feat: add new_raw method which doesn't load policy automatically
    
    Signed-off-by: Cheng JIANG <jiang.cheng@vip.163.com>
    
    * feat: make CoreApi being able to be made into object
    
    Signed-off-by: Cheng JIANG <jiang.cheng@vip.163.com>
    
    * Fix: typo in example code
    
    * fix: make IEnforcer interface being able to be made into object
    
    * fix: don't remove all the policies if field_values is empty
    
    Signed-off-by: Cheng JIANG <jiang.cheng@vip.163.com>
    
    * fix: run format
    
    Signed-off-by: Cheng JIANG <jiang.cheng@vip.163.com>
    
    * feat: upgrade rhai version to 0.18.1
    
    Signed-off-by: Cheng JIANG <jiang.cheng@vip.163.com>
    
    * feat: switch to lru-cache
    
    Signed-off-by: Cheng JIANG <jiang.cheng@vip.163.com>
    
    * fix: remove unused ttl
    
    Signed-off-by: Cheng JIANG <jiang.cheng@vip.163.com>
    
    * feat: bump deps' version
    
    Signed-off-by: Cheng JIANG <jiang.cheng@vip.163.com>
    
    * feat: change cache interface to allow returning owned value
    
    Signed-off-by: Cheng JIANG <jiang.cheng@vip.163.com>
    
    * feat: structrued logging
    
    Signed-off-by: Cheng JIANG <jiang.cheng@vip.163.com>
    
    * improve: use static dispatchered cache in Rbac manager because we'll never replace it by custom cache
    
    Signed-off-by: Cheng JIANG <jiang.cheng@vip.163.com>
    
    * improve: add unit test for escaping rule which sometimes needs to be evaluated
    
    Signed-off-by: Cheng JIANG <jiang.cheng@vip.163.com>
    
    * upgrade rhai
    
    Signed-off-by: Cheng JIANG <jiang.cheng@vip.163.com>
    
    * fix: potential dead lock in add_role fn
    
    Signed-off-by: Cheng JIANG <jiang.cheng@vip.163.com>
    
    * improve: ignore add link request on same roles
    
    * improve: remove unecessary pub(crate)
    
    * improve: add is_enabled fn
    
    * feature: add serde support
    
    * fix: CI wasm check
    
    * fix: remove unwanted dep
    
    * improve: cached enforcer's bench
    
    * improve: rbac cache perf
    
    * improve: reset default features
    
    * feature: pattern matching
    
    * fix: missing serde
    
    * fix: example code in README
    
    * fix: example code
    GopherJ authored Aug 30, 2020
    2 Configuration menu
    Copy the full SHA
    9c67ba4 View commit details
    Browse the repository at this point in the history
Loading