Laravel 12.26, weekly updates, and weekly tip
Laravel 12.26
A release last week, this week, and a few fast follow patches brings us to Laravel 12.26.2.
Here are the highlights:
- Add
allowedUrlsthroughHttp::preventStrayRequests()in #56645 - Add "Copy as Markdown" button to error page in #56657
- Add
mergeVisible(),mergeHidden()andmergeAppends()toEloquentin #56678 - Add
toPrettyJson()toCollectionin #56697 - Add
withHeartbeat()toLazyCollectionin #56477
You may review the full branch diff on GitHub for a complete list of changes.
This version bump and update is automated for subscribers to a Shifty Plan. If you don't have one of those, be sure to bump your constraint and run composer update to get the latest features.
Weekly Journal
Looks like I missed an update last week. I've only missed a handful of weeks in the last few years. I normally even send an update on vacation.
Anyway, I was pretty busy working on the Dusk Converter. Similar to when I built the Pest Converter, I livestreamed it.
I launched it last Friday, after Nuno officially released Pest v4 on Thursday. There have been a few early adapters. But looks like some open PRs in the Pest Browser Testing package may be slowing down adoption.
I also dogfood this myself. Due to the above and other reasons, I haven't completed the conversion. I have a few screens that work within an <iframe>. And one case where I was calling Selenium directly.
So, my conversion is on hold until those PRs are merged. But I think once some of the initial PRs are merged, basic Dusk test suites will be convertible.
In the end, I don't expect much use for this Shift. The cross-section of developers using Pest with an active Dusk test suites, that care to convert it for $19 is probably pretty small.
Nonetheless, it was yet another Shift which scratched my own itch. Even though I don't use Pest currently, not battling Dusk seems worth it. Once converted, Pest will finally have a foothold in my project. From there, it's not long until I probably fully adopt it.
Weekly Tip
The tip this week is pretty simple. Step away from the computer step away from the screen.
Doesn't matter if you take a break to get water for a few minutes or go outside and feel the fresh air. I guarantee you it's worth it.