Skip to content

Releases: casbin/gorm-adapter

v3.1.0: Merge pull request #70 from closetool/master

29 Jan 14:52
7f6a211
Compare
Choose a tag to compare
fix: modify column p_type to ptype(#67)

v3.0.6

26 Jan 03:38
af18dc6
Compare
Choose a tag to compare
Merge pull request #66 from RobotHuang/dev

feat: implement UpdatePolicy() API

v3.0.5

18 Jan 11:57
50cc140
Compare
Choose a tag to compare
Merge pull request #64 from Despire/column_size

increase column size to 100

v3.0.4

23 Nov 05:35
aad1b8c
Compare
Choose a tag to compare
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

14 Sep 03:05
9cc32f0
Compare
Choose a tag to compare
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

10 Aug 01:55
Compare
Choose a tag to compare
Disable sqlite in code & test.

v3.0.1

24 Jul 04:10
81c2dc6
Compare
Choose a tag to compare
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

22 Jul 16:01
ac27d59
Compare
Choose a tag to compare
  • Update gorm to v2.

Gorm Adapter 2.1.0

28 Apr 08:45
9ebbe7e
Compare
Choose a tag to compare
Merge pull request #33 from lucidhq/add-remove-policies

Add support for Casbin AddPolicies and RemovePolicies

Gorm Adapter 2.0.3

28 Sep 05:11
831cce2
Compare
Choose a tag to compare
  • Fix table prefix bug for multiple adapters.