November 1st, 2023

Laravel v10.30.0 Released

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.

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

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

Statamic Ninja

Comments

Marian Pop

PHP / Laravel Developer. Writing and maintaining @LaravelMagazine. Host of "The Laravel Magazine Podcast". Pronouns: vi/vim.

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.