2025 Week 09
Laravel 12 was release on Monday and I immediately started planning how to upgrade since I just did the upgrade to Laravel 11 the week before. I shared some detail in my note last week. The easiest part was upgrading Laravel itself while the not-so-easy ones was upgrading the packages that doesn’t yet support Laravel 12.
PHPSandbox uses a couple of these Laravel packages, so I initially hit a wall and stopped when I discovered that a package have dependencies that also required upgrades. Later within the week, I made a decision to remove the package after reviewing the role of the package within the code base seeing we can actually do without it. This is one less package to depend on.
As for every upgrade, it’s a chance to also evaluate some choices and clean things up where appropriate. At this point, the path was clear and the upgrade was successful. Of course, I had to rely heavily on the E2E tests here as a backup.
On another side of work, I remembered this won’t be a straight forward thing to do as there will need to be consensus on a lot of things. So, things like this makes me appreciate the autonomy of working on your own thing where you get to make decisions like this faster.
Still on upgrading things, I also upgraded the VSCode API library - the thing that powers all VSCode related features on PHPSandbox. Normally, this upgrade should only require some import path updates but missing a version bump while doing a search and replace in package.json
screwed it all up.
I bumped all related packages from 8.x
to 14.x
but missed one for a reason I can’t even remember. Following this, the entire editor broke down, only to discover after a good night sleep that I had missed one of the packages that should have been bumped.
One might ask, how did I eventually figure this out? Well, I went back to the basics - narrowed down the errors down to a specific package and started comparing the code in the package to the version I’d expect. It wasn’t long, after seeing that the code I have locally doesn’t add up with the source, that I knew I had to check the package.json
just to be absolutely sure I installed the right one.
Riding a bike around in the winter isn’t something known to be very convinient and hasn’t ridden since December last year. Riding in the cold can be bruttal and I’d rather not do it if I have the choice. My workplace is close by and hasn’t really seen much need to take it out under the cold.
That changed this week after getting a couple of sunny days the week before. I decided to ride out on a trail towards the Hauptbahnhof (Central Station). It’s been months and I can immediately feel that I have missed this - that cold air on the face!
A new feature I decided to add to my bike riding is recording the entire ride. I bought an Action 5Pro Camera recently that I specifically will be using for this. For me ridding around Berlin has always been a way for me to discover different part of the city quickly and recording this has been something I wanted to do with the hope I will have them on YouTube at some point.
I didn’t quite like the Camera angle of the recording I did on the way to Hauptbahnhof, so I decided to do another ride on Saturday to experiment with another angle of mount. Not only was result was better as expected, the mounting also now required zero adjustment to the angle as I’m riding.
I want to edit these videos and see how I can share them soon, hoping some will find it pleasing as I do.
Till next time.
Bosun.