You have to do some research on like, for example, I had to actually update my database version. So this is not a dependency, but it's what's running on my database side. You sometimes need to regen some some API keys. If you've got tests for your code base, obviously run those those or save your bacon huge because you can automatically catch those things. The thing I have here is just pray. This kind of comes back to the YOLO update is just hope that everything then goes. There was an issue the other day where a popular open source maintainer just kind of nuked his packages and broke a lot of stuff. But luckily, those were major
In this Hasty Treat, Scott and Wes talk about their process for updating project dependencies.
Sponsor - LogRocket
LogRocket lets you replay what users do on your site, helping you reproduce bugs and fix issues faster. It's an exception tracker, a session re-player and a performance monitor. Get 14 days free at logrocket.com/syntax.
Sponsor - MagicBell
MagicBell is the the notification inbox for your product. Add a MagicBell to your product for announcements, billing, workflow, and other notifications. The free plan supports up to 100 Monthly Active Users - use the coupon code SYNTAXFM for 10% off the first 12 months.
Show Notes
- 00:25 Weeeeelcome
- 00:52 Sponsor: LogRocket
- 01:29 Sponsor: Magic Bell
- 03:32 What are dependancies?
- 04:04 Wes updates all the things
- 05:30 How to check if there are any updates
- 07:05 Upgrade isolated, Minor deps first.
- 09:16 Upgrade Minor groups after that
- 09:56 Then upgrade Major dependencies
- 14:47 Finally upgrade any stand along dependencies
- 15:44 Test test test
- 16:19 Watch error logging
- 17:05 Pray
Tweet us your tasty treats