Skip to content

Releases: casbin/Casbin.NET

v2.0.0-preview.4

06 Jun 06:17
Compare
Choose a tag to compare
v2.0.0-preview.4 Pre-release
Pre-release

2.0.0-preview.4 (2022-06-06)

Bug Fixes

  • error has adapter value (820900f)
  • Error logging lowest version at .NET 6.0 (6cd7181)
  • Support .NET 7 on azure pipeline (70474ee)

Features

  • Add keymatch5 for ignoring params in url (c29c95f)

v1.12.2

11 Mar 15:35
f96856e
Compare
Choose a tag to compare

1.12.2 (2022-03-11)

Bug Fixes

  • Error func call at AddNamedDomainMatchingFunc at enforcer extenstion (1d4bbb1)

v2.0.0-preview.3

23 Feb 18:02
Compare
Choose a tag to compare
v2.0.0-preview.3 Pre-release
Pre-release

2.0.0-preview.3 (2022-02-23)

Bug Fixes

  • Change Casbin.Exstention to Casbin (26d6099)
  • Change lowest TFM form net45 to net452 (51574eb)
  • Make function map internal and remove unused func class (0e69ba8)

Features

  • Add document symbol and source link to nuget package (dbe2499)
  • Add generic request and policy type (42c4604)
  • Add globMatch as a global built-in matcher function (#232) (26bc240), closes #231
  • Add load and save policy to policy manager (a7edb11)
  • Cache the model parse result (401524c)
  • Enable package validation (e098a5b)
  • Make expression handler stateless (1003f5b)
  • Reading cache before create context (6f0284d)
  • Support .NET 7.0 target (6c286b6)
  • Update to the latest packages (1dc6440)
  • Use different chain effector instances every enforce (ea5d000)
  • Use interface instead of expection to check support APIs in IAdapter (e498016)

Performance Improvements

  • Add some ref and inline declare (151a2ea)

v1.12.1

20 Jan 05:17
2c62c78
Compare
Choose a tag to compare

1.12.1 (2022-01-20)

Bug Fixes

  • Add tryLoadPolicy line to support comma tokens for some adapter (#235) (2c62c78)

v1.12.0

24 Nov 02:25
49cce4d
Compare
Choose a tag to compare

1.12.0 (2021-11-24)

Features

  • Add globMatch as a global built-in matcher function (#232) (49cce4d), closes #231

v1.11.0

20 Aug 18:17
4158812
Compare
Choose a tag to compare

1.11.0 (2021-08-20)

Bug Fixes

  • Error return on HasLink when has matching in Inheritance chain (d0de43c)

Features

  • Support lambda expression compile and delegate cache (1442771)

v2.0.0-preview.2

08 Aug 23:48
86cc11e
Compare
Choose a tag to compare
v2.0.0-preview.2 Pre-release
Pre-release

2.0.0-preview.2 (2021-08-08)

Code Refactoring

  • Make Utility class to internal (9f0255d)

Features

  • Compatible with IEffector of golang casbin and refactor internal enforce method (1c4ade3)
  • Add EnforceWithMatcher and EnforceExWithMatcher APIs (bec593c)
  • Add lazyLoadPolicy option on enforcer constructor (25b43dc)
  • Implement priority explicit deny override model for v2 and add enforce session (114fff2)
  • Multiple request, policy, effect, matcher type support (7078dab)
  • Support .NET 6 target (727a0a4)
  • Support explicit priority model (9afadfa)

BREAKING CHANGES

  • feat: Multiple request, policy, effect, matcher type support
  • Make Utility class to internal

v1.10.1

22 Jul 03:12
0bbac17
Compare
Choose a tag to compare

1.10.1 (2021-07-22)

Performance Improvements

  • Resolve issue when for priority-deny-override mode, all policies were scanned, even effect was found on higher priority levels (b777782)

Breaking changes

  • IChainEffector interface add new property HitPolicyCount.

v1.10.0

18 Jul 14:57
dfb5ced
Compare
Choose a tag to compare

1.10.0 (2021-07-18)

Bug Fixes

  • Change EnforcerVariableStorage to EnforceContext (c96da8e)

Features

  • Support priority deny override model (#189) (f699559)

Performance Improvements

  • Support priority deny override model without recursion. (19c825e)

v1.9.0

29 Jun 00:13
5fdfe30
Compare
Choose a tag to compare

1.9.0 (2021-06-29)

Features

  • Add EnforceWithMatcher and EnforceExWithMatcher APIs (bec593c)
  • Support .NET 6 target (727a0a4)
  • Support explicit priority model (9afadfa)