Releases: fntneves/laravel-transactional-events
Releases · fntneves/laravel-transactional-events
2.1.0
- Add Laravel 9 support
- Drop PHP 7 support
2.0.1
- Use Dispatcher contract in constructor
1.8.11
- Use Dispatcher contract in constructor (#46)
2.0.0
- Add support for Laravel 8 (see #43)
- Add the
transactional
namespaced helper.
1.8.10
- Added the
transactional
namespaced helper.
1.8.9
- Removed the
transactional
helper. See #39
Alternatively, use TransactionalClosureEvent
directly.
Event::dispatch(new TransactionalClosureEvent(function () {
// Job will be dispatched only if the transaction commits.
ProcessOrderShippingJob::dispatch($order);
});
1.8.8
What's new?
This version includes the transactional
helper to bring transactional behavior to custom instructions.
It is particularly useful for dispatching jobs:
transactional(function () {
ProcessPodcast::dispatch($podcast);
});
1.8.7
- Remove "final" keyword from
TransactionalDispatcher
class