Laravel Magazine

Laravel v10.30.0 Released

Eric Van Johnson · Laravel News
Laravel v10.30.0 Released

Laravel v10.30.0 was just released. Let's take a look at the new interface that has been added.

The ShouldDispatchAfterCommit interface

We've seen Taylor teasing this new feature on twitter: With the help of the ShouldDispatchAfterCommit interface we tell Laravel not to dispatch a given event until after the current database transaction has committed and If no transaction in progress, event will be dispatched immediately as normal.

<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>

The Pull Request was originally created by Mateus Guimarães and then Taylor updated the code expanding the scope of the original PR.

<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>

For the complete list of the PR's that have been merged into this release see the release notes.

Stay Updated

Subscribe to our newsletter

Get latest news, tutorials, community articles and podcast episodes delivered to your inbox.

Weekly articles
We send a new issue of the newsletter every week on Friday.
No spam
We'll never share your email address and you can opt out at any time.