Skip to content

Releases: qustavo/sqlhooks

v2.0.0

Choose a tag to compare

@asdine asdine released this 26 Jan 09:43
9db12c7

Changes

⚠️ Support for drivers not implementing dbconn.ConnBeginTx has been dropped starting v2.0.

Compose Hook

Choose a tag to compare

@qustavo qustavo released this 25 Nov 14:58
e01e589

Changes

QueryerContext

Choose a tag to compare

@qustavo qustavo released this 05 Nov 17:17
a494b89

Changes

v1.1.0: Merge pull request #15 from xuzhenglun/master

Choose a tag to compare

@qustavo qustavo released this 30 Jan 21:32
928fba3

Changes

Contexts

Choose a tag to compare

@qustavo qustavo released this 08 May 08:50

API has been rewritten (yes, again), go supported versions prior 1.8 has been dropped.

v0.4

Choose a tag to compare

@qustavo qustavo released this 08 May 07:46
Remove unseless returns

API rewrite

Choose a tag to compare

@qustavo qustavo released this 02 Jun 12:36

Changes:

  • Hooks receive a Context rather than (query, args) tuple
  • All hooks have the same signature
  • Hooks are now an interface rather than a concrete Type
  • Hooks can stop execution (thanks @nkev)

v0.2

Choose a tag to compare

@qustavo qustavo released this 01 May 19:18
  • Register() has been removed, use sql.Register() instead.
  • Open holds a map of registered drivers to prevent duplications

First stable Release

Choose a tag to compare

@qustavo qustavo released this 27 Apr 15:13

API still young, it may change, but everything seems to be working