sequelize/sequelize — pull request #1639 by mithrandirii (2014-04-16 08:14:57+00:00)
Title: forward transaction to before/after create/update hook

new order of operations ...

// (3) beforeBulkCreate(daos, fields, transaction, fn) / beforeBulkDestroy(daos, fields, transaction, fn) / beforeBulkUpdate(daos, fields, transaction, fn)

// (4) beforeCreate(dao, transaction, fn) / beforeDestroy(dao, transaction, fn) / beforeUpdate(dao, transaction, fn)

// (5) afterCreate(dao, transaction, fn) / aftreDestroy(dao, transaction, fn) / afterUpdate(dao, transaction, fn)

// (6) afterBulkCreate(daos, fields, transaction, fn) / afterBulkDestory(daos, fields, transaction, fn) / afterBulkUpdate(daos, fields, transaction, fn)