I often find that third-party APIs suddenly become obsolete, while developers release new versions. Sometimes it seems easier to redo everything from scratch rather than trying to adapt to each update. Can anyone suggest how best to manage this process? Maybe there are some tricks so that switching to a new version of the API doesn’t cause so much headache? For example, I’ve heard that some people keep old versions of code in case the new API suddenly stops working. Is it worth doing that, or does it just make life more complicated?