Skip to content

Releases: dacongda/Casbin.NET

v1.0.0

17 Feb 07:41
38bfa86
Compare
Choose a tag to compare

1.0.0 (2024-02-17)

Bug Fixes

  • Accidental cache read via key construction (#330) (e36209e)
  • Add lacked API AddNamedGroupingPolicyAsync (8a93d02)
  • Change Casbin.Exstention to Casbin (26d6099)
  • Change load policy receiver to IReadOnlyAdapter (951ceb8)
  • Change lowest TFM form net45 to net452 (51574eb)
  • Change to persist policy (36cff41)
  • Concurrent error caused by GFunctionCache. (25e0b68)
  • copy all files in unit tests examples folder by default (#325) (ec7b463)
  • Enable the comment in model config files. (016a57c)
  • Ensure tab characters in policy files are parsed as white-space (#324) (766bf05)
  • err filter logic (b498d7a)
  • Error dependence package in .NET Core 3.1 (eb6c9ba)
  • error has adapter value (820900f)
  • Error logging lowest version at .NET 6.0 (6cd7181)
  • Error logging reference package (1bbae7e)
  • Error params of IWatcher (349d574)
  • Error result returned in HasLink method (49a8cb2)
  • Error return in enforce cache (24b556d)
  • Get policy error at test helper (8c8105d)
  • HasAdapter value error (67e927a)
  • Make assertion properties to read-only for public (48b9958)
  • Make expression cache thread safe (#261) (e65b782)
  • Make function map internal and remove unused func class (0e69ba8)
  • Make request values not readonly and fix dir typos (a9fb8c1)
  • Reduce the severity of request and policy count validation (ce6e971)
  • Support .NET 7 on azure pipeline (70474ee)
  • Support custom g type name (#334) (4ccef44)
  • Unable find SetEnforceCache method in .NET45 (d9b0df0)
  • Unable replace multiple eval (8d6c0ee)
  • Warning at policy scanner (#307) (071af63)
  • ci: Fix error assembly version (19884d4)

Code Refactoring

  • Improve the extendibility structure (67c7ea5)
  • Integrate RBAC API and Management API to one Enforcer (6a250d5)
  • Make Utility class to internal (9f0255d)
  • Remove obsolete APIs (4049675)

Features

  • Compatible with IEffector of golang casbin and refactor internal enforce method (1c4ade3)
  • Add auto clear cache option (ed292e6)
  • add automatic parallel test helper. (3e53c16)
  • Add document symbol and source link to nuget package (dbe2499)
  • Add EnforceWithMatcher and EnforceExWithMatcher APIs (bec593c)
  • Add generic request and policy type (42c4604)
  • Add GetDomainsForUser API (#161) (e5df0b3)
  • Add GetPolicyTypes APIs of IReadOnlyPolicyStore (a6c464e)
  • Add globMatch as a global built-in matcher function (#232) (26bc240), closes #231
  • Add go like method (2884c22)
  • add keyGet function and correponding test. (723e0dd)
  • add keyGet2 and corresponding test. (#280) (d2d245f)
  • add keyGet3 and correponding test. (#294) (bec496a)
  • Add keymatch5 for ignoring params in url (c29c95f)
  • Add lazyLoadPolicy option on enforcer constructor (25b43dc)
  • Add list request values (#303) (f6bb3c1)
  • Add load and save policy to policy manager (a7edb11)
  • Add Matching Funcs to IEnforcer interface (#339) (befbb33)
  • Add policy filter (8a77971)
  • Add priority sort with subject hierarchy. (d754c30)
  • Add SDK global json config (5c007fd)
  • Add stream adapter. (#299) (7537539)
  • Add string request and policy values (aa73b71)
  • Add TrySetValue API in request values (15b28ee)
  • Add UpdatePolicy and UpdatePolicies APIs (5226a5b)
  • Add WatcherEx support (bd9ff64)
  • Add WatcherMessage for watchers (eb28952)
  • Add WatcherMessage for watchers (cc1ce45)
  • Better support tokens with substring relation and use two more complex test cases (#319) (520bb17), closes [casbin#305](ht...
Read more