Just completed a NextJS upgrade
So it has been a while, just under a year, and I was itching to do some development work since it has been so long. I had been keeping an eye on NextJS 15 and decided that it was probably time for me to upgrade my little blog. Right now I didn't add any of the new features, just a fairly straighg forward migration. But I am excited to try out some of these new features:
- Instrumentation This ties into what I do daily for work, even though we don't use Next it still interests me.
- Turbopack, I'm always looking to improve the development experience
- Server actions updates This site actually
does use a few of these, so I'm excited to see these improvements in action.
Overall the upgrade experience was really smooth. After using the new codemod tools the site fired up locally without any issues. On building for production I did run into a few Typescript errors, mostly about pulling dynamic parameters. One of the changes is that it is now an async operation so I had to update the code that handles these blog posts to support that. The updated metadata documentation helped a lot in getting this correct. After a little bit of work I was able to get some clean builds and we are now running on the upgraded code.
- Donnie