Releases: casbin/gorm-adapter
Releases · casbin/gorm-adapter
v3.1.0: Merge pull request #70 from closetool/master
fix: modify column p_type to ptype(#67)
v3.0.6
v3.0.5
v3.0.4
update gorm to 1.20.7 (#59) * update gorm to 1.20.7 Signed-off-by: thnt <[email protected]> * Update adapter.go Signed-off-by: thnt <[email protected]> * Update go.mod Signed-off-by: thnt <[email protected]>
v3.0.3
add user define database (#43) * add user define database Signed-off-by: 00LT00 <[email protected]> * fix go test Signed-off-by: 00LT00 <[email protected]> * format code Signed-off-by: 00LT00 <[email protected]> Co-authored-by: 00LT00 <[email protected]>
v3.0.2
v3.0.1
Utilize correct db error when the duplicate database is created (#39) As per http://v2.gorm.io/docs/conventions.html#TableName TableName() suppose to generate static names only (it could not be dynamic). The same source suggests a workaround that I implemented as DynamicCasbinRuleTable along with a scoped DB object for NewAdapterByDBUsePrefix. As a result of 2. we can remove tablePrefix from global state Signed-off-by: l1ghtman2k <[email protected]>
v3.0.0
Gorm Adapter 2.1.0
Merge pull request #33 from lucidhq/add-remove-policies Add support for Casbin AddPolicies and RemovePolicies
Gorm Adapter 2.0.3
- Fix table prefix bug for multiple adapters.