Releases: nickjbedford/laravel-transactions
0.3.2 Fixed Type Hint in TransactionResponder
Fixed non-null type hint in TransactionResponder constructor.
0.3.1 Custom Throw Override
Added custom exception throw() method for overriding.
0.3.0 Fixed return type of Transaction::execute().
Fixed return type of Transaction::execute().
Improved Readme & Composer Packages Updated
Updated composer packages and improved readme.
Adjustments For Transaction Handling
Changed table locking methods to protected for overriding. Added beforeTransaction() and afterTransaction() for custom code execution.
Added Transaction::finally() method
Implemented Transaction::finally() method for always firing an operation outside the transaction.
First-Class Side Effect Objects
Implemented ITransactionSideEffect
and automatic side effect reversion. Implement this interface and use the $transaction->addSideEffect()
to automatically execute the $sideEffect->revert()
method in FIFO order, before cleanupAfterFailure()
is also called.
0.2.5 Added Rudimentary Table Locking (around DB transaction)
Added ability to lock a table before and after the database transaction.
Fix To Event Firing Placement + Readme
Readme is now more complete. Fix to logic of firing event after a successful transaction.
Updated Readme & Minor Change to Event Handling
Updates to readme and changing of createEventInstance() to createEvent().