Skip to content

Releases: casbin/Casbin.NET

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)

v2.0.0-preview.1

16 Jun 08:51
Compare
Choose a tag to compare
v2.0.0-preview.1 Pre-release
Pre-release

2.0.0-preview.1 (2021-06-16)

Migrate from Casbin.NET v1.x to v2.0

Bug Fixes

  • Make assertion properties to read-only for public (48b9958)

Code Refactoring

  • Improve the extendibility structure (67c7ea5)
  • Integrate RBAC API and Management API to one Enforcer (6a250d5)
  • Remove obsolete APIs (4049675)

Features

  • Return effect policies at RemoveFilteredPolicy (171ae6e)
  • Support thread-safe policy management (849c632)

Performance Improvements

  • Avoid to create unnecessary list or array instance (252b1a2)

BREAKING CHANGES

  • Remove obsolete APIs
  • Improve the extendibility structure
  • Integrate RBAC API and Management API to one Enforcer

v1.8.1

07 Jun 13:43
d71d87b
Compare
Choose a tag to compare

1.8.1 (2021-06-07)

Bug Fixes

  • Unable replace multiple eval (8d6c0ee)

v1.8.0

23 May 02:39
Compare
Choose a tag to compare

1.8.0 (2021-05-23)

Features

v1.7.3

17 May 18:58
1ccfff3
Compare
Choose a tag to compare

1.7.3 (2021-05-17)

Bug Fixes

  • Error result returned in HasLink method (49a8cb2)

v1.7.2

23 Apr 00:16
b172914
Compare
Choose a tag to compare

1.7.2 (2021-04-23)

Bug Fixes

  • Add lacked API AddNamedGroupingPolicyAsync (8a93d02)

v1.7.1

15 Apr 17:34
Compare
Choose a tag to compare

1.7.1 (2021-04-15)

Bug Fixes

  • Error dependence package in .NET Core 3.1 (eb6c9ba)