Laravel 11.3, weekly updates, and 🔥 tip
Laravel 11.3
Another minor release of Laravel 11 this week bringing us to Laravel 11.3.
- Optimize
SetCacheHeaders
to ensure error responses aren't cached in #50903 - Add
hasAny
toSession
facade in #50897 - Add option to report throttled exception in
ThrottlesExceptions
middleware in #50896 - Add
DeleteWhenMissingModels
attribute in #50890 - Allow customizing
TrimStrings
exception logic in #50901
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
Last week I restarted my Wednesday live streams, continued working on the side-project, and made a few improvements to the Laravel 11.x Shift. Notably the slimming of commonly customized middleware like VerifyCsrfToken
, EncryptCookies
, and ValidateSignature
.
I took a long weekend for some family events as well as the solar eclipse yesterday since the path of totality was just about 30 miles north.
Today I had a Human Shift come in. So I'm working on that. With the rest of the week I plan to basically repeat last week - live stream, tweak Shift, and work on the side-project.
🔥 Tip
The tip this week is for life, not code. Bear with me for story time...
I love March Madness. I watch all of the games. I like basketball, but I especially like the tournament for the "Cinderella teams". My team, Purdue, played NC State in the Final Four. This reminded me of one of the greatest Cinderella teams of all time - the NC State team of 1983.
I won't go into that story. ESPN has a wonderful 30 for 30 documentary on it. What I will go into is the coach of that team, Jim Valvano. Particularly, advice from a speech he gave later in life:
To me, there are three things we all should do every day... Number one is laugh. You should laugh every day. Number two is think, you should spend some time in thought. And number three is you should have your emotions moved to tears. Could be happiness or joy, but think about it. If you laugh, you think, and you cry, that's a full day. That's a heck of a day. You do that seven days a week, you're going to have something special.
Jim Valvano died from cancer. Yesterday, after rewatching this documentary over the weekend, I saw Ryan Weaver posted he is dying from cancer. He too had a similar message.
We may not fully appreciate the message from Jim Valvano and Ryan Weaver until we're at our own end. But my tip this week it to try.