Skip to content

Releases: ShiftLeftSecurity/gaum

Updating dependencies

Choose a tag to compare

@chipaca chipaca released this 12 Aug 16:20
a20ecca

No actual code changes in this release.

Add Close to the connection.DB interface

Choose a tag to compare

@perrito666 perrito666 released this 17 Oct 19:04
8ce8fc2

Close allows users to close the underlying connections, useful for cases, like tests, where one opens too many connections and does not need them to be long lived.

Support returning on insert mutli

Choose a tag to compare

@perrito666 perrito666 released this 05 Jan 16:41
f239b5c
v2.1.7

Merge pull request #64 from ShiftLeftSecurity/allow-returning-for-ins…

include complex function with static arguments

Choose a tag to compare

@Ferada Ferada released this 17 Jan 12:40
1524f8a

bug fixes, c.f. #59

Bring back GoTestingLogger

Choose a tag to compare

@perrito666 perrito666 released this 30 Jun 10:31
35a2541

Now without typo

Fix all imports inside 2.x.x

Choose a tag to compare

@perrito666 perrito666 released this 28 Jun 14:50
873f46e
Merge pull request #55 from ShiftLeftSecurity/chipaca/v2-is-v2

update all the imports to also be v2

Update go.mod

Choose a tag to compare

@perrito666 perrito666 released this 28 Jun 12:31
2c54167

Go modules requires things to happen to understand a version is 2.x...
So it needs to be added to the path of the module even though it is right there in the path.

Support SetSQLWithArgs on conflict

Choose a tag to compare

@perrito666 perrito666 released this 28 Jun 11:34
9fcf4fe
db/chain: OnUpdate.SetSQLWithArgs to pass args on conflict (#53)

OnUpdate.SetSQLWithArgs to pass args on conflict

This enables building SQL that has things like

    ... ON CONFLICT ... DO UPDATE SET (foo) = (foo || $n)

which is nice.

Support placeholder escaping

Choose a tag to compare

@Preetam Preetam released this 07 Jun 22:52
f4f60b4
v1.1.1

Merge pull request #52 from ShiftLeftSecurity/preetam/support-placeho…

Add new `SetSQLNoParens` method.

Choose a tag to compare

@Ferada Ferada released this 01 Jun 16:23
e63d7d8
Merge pull request #50 from ShiftLeftSecurity/olof/fix/more-variants

Add variant to set SQL on updates without parens.