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
v3.0.3
add user define database (#43) * add user define database Signed-off-by: 00LT00 <lightning@hdu.edu.cn> * fix go test Signed-off-by: 00LT00 <lightning@hdu.edu.cn> * format code Signed-off-by: 00LT00 <lightning@zerokirin.online> Co-authored-by: 00LT00 <lightning@hdu.edu.cn>
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 <aibek.zhil@gmail.com>
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.