Laravel 12.42, weekly updates, and weekly tip
Laravel 12.42
Couple new features this week brings us to Laravel 12.42.0. Here are the highlights:
- Add
whenTableHasIndex()andwhenTableDoesntHaveIndex()to Builder in #58005 - Add
newRequest()to Pool and Batch in #58038 - Add pre-migration hook when setting up databases in parallel tests in #58011
- Add support for enums in translation replacements in #58048
- Add
withAttributes()toPendingRequestin #58054
You may review the full branch diff on GitHub for a complete list of changes.
Weekly Journal
Last week I had a few hours of a Human Shift come in. I often see an increase around the new year. I think work slows down, there may be something left in the budget, and devs want to start the new year with a fresh app. I'm glad for it.
Otherwise, I was heads down recording and editing Fast Laravel. I'm optimistic that it'll launch next Tuesday, December 16. But it is a lot. I think if I do another video course, I'll likely hire a video editor. Since it will launch before the next newsletter, this is my final plug the only discount will be if you're on the early access list.
Weekly Tip
On Fast Laravel, it seems all my ranting and raving about caching Shift attracted a DDoS attack last Friday.
Fortunately for me, since I was Cloudflare'd up and all public pages cached, only 5000 of the 250,000,000 requests needed to be handled by my server. Cloudflare served 4,000,000 from cache, before blocking the rest as DDoS.
So, while I don't want to attract DDoS attacks, it was kind of perfect timing given the upcoming course. The tip being you should Cloudflare up too. All of the services I use in the course are free. That attack would have either brought down my web servers or auto-scaled my infrastructure. Both significantly costing me.