Skip to content

v1.5.2: Unified Hook Pipeline & Transaction Lifecycle

Choose a tag to compare

@suiriass suiriass released this 23 Jun 11:43

v1.5.2

  • Hook unification: autoIn → Rebind → Hook is now a unified pipeline. Begin/Commit/Rollback fire Hooks.
  • NewDbNewDB (rename).
  • QueryEvent.OperationType is now OpType enum: OpQuery, OpExec, OpBegin, OpCommit, OpRollback.
  • QueryEvent.RowsAffected and LastInsertID now populated on exec.
  • Tx.CloseWithErr now fires Hooks on both success and failure (was only failure).