Laravel 10.5, weekly updates, and 🔥 tip
Laravel 10.5
There have been some off schedule releases over the past few weeks as some of the Laravel team members have been on vacation. Today it looks like we've returned to the regularly scheduled Tuesday releases with the tag of Laravel 10.5.0.
Here are the highlights from the last few releases:
- Add
assertUnsupportedMediaType
to assert status code in #46426 - Add
File::json()
to get json decoded data from a file in #46481 - Add
Storage::json()
to read and decode a json file in #46548 - Custom encoding/decoding for JSON cast in #46552
- Add ability to set custom
on_stats
function for theHttp
facade in #46569
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
Over the last few weeks I've been adjusting to Daddy Daycare with Emma. I have two 90 minute windows during the day. So I've been treating that time like sprints.
During those sprints I have updated the Upgrade Checker, Laravel Linter, and Laravel Fixer for Laravel 10.
I also built the PHPUnit 10 Shift. After which, I updated the Tests Generator and Pest Converter to generate PHPUnit 10 test cases and convert PHPUnit 10 test cases, respectively.
So, in the last few weeks, I've pretty much updated each of the additional Laravel Shifts. Of course, I also continued to tweak the Laravel 10.x Shift based on user feedback and weekly release updates (to the config files of course).
This week I am working on a special project. I hope to fit it into my sprints for the rest of the week. As it is a time sensitive project. More on that next week. I need to make sure I get it done first.
🔥 Tip
Most of the coding I've done over the last few weeks has been pretty straightforward. Build new automation is really just taking bits and pieces from the existing Shift tasks.
To that point if you're interested in how I build some of the automation, check out my Laracasts CreatorSeries. It's more than halfway through and I'm starting to get to some of the code where I build tasks.
Eventually what I started in this series will become the new Shift CLI.