Why and when to Update Software API & Library
We do develop many apps, libraries...etc., every day. To help corporations, governments, individuals, communities, and many more to take advantage of what software can offer them. There is a wide variety of advantages and opportunities software gives us. The complexity of building software is increasing day by day and new challenges are adding up every day. I want to discuss one of the challenges or complexity every programmer would have faced, which is updating or upgrading an API or a third-party library every now and then. Example: I just finished the java 6 to java 8 upgrade in my product now I see java 17 out, what should I do?
Let's understand what updating or upgrading software means, over a period of time there are a lot of versions of software developed depending on the use case and new requirements. And every piece of software we develop today is predominantly using a set of other APIs or libraries and adding your logic on top of it. So you are dependent on other third-party APIs or Libraries in your software and it's working fine, what's the problem now ?? There are no problems as such but there may be or may not be a problem in the future. Let's discuss the probable problems which may occur.
You might have used a third-party library in your software, and there was a bug that you were not aware of at that time, And later you discovered it.
Example: Recently everyone would have heard log4j vulnerability. log4j is an excellent logging library that was widely used and all of a sudden a big vulnerability was identified.
There were many databases, middleware, and other products developed using log4j. Since these products had used log4j in their product, Now the products are also vulnerable.
领英推荐
Example: I just finished my java 6 to java 8 upgrade now I see java 17 out, what should I do?
How do you handle these situations? Below are a few things I have found.