Strategy for being up-to-date with external libraries

Hi,

Like most, I use a bunch of external libraries with my projects. Is there an “easy” way to be notified when packages have gone to a new version or do I have to investigate this for every library that I use? Also, is there a “best practices” in terms of when to update to a latest version?

Thanks!

-Eric

If you use NPM package then you can configure to use the latest version but I really wouldn’t do that since that could break the existing code. There is no best practice but one should know the ‘why’ before upgrade. You upgrade when there is a bug/features that you want to use.

Updates within a major version should always be backward compatible though, so I wouldn’t worry about that. Personally, when including a module with npm I’d always leave the package.json entry as is, so that everyone working on the project simply has the latest version.

I like the idea of “knowing the why” as opposed to just updating because there’s a new version out there.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.