It's always beneficial to use latest frameworks and libraries but that solely depends on product owners decisions. As some upgrades are not only about updating library version but it also might mean you have to update/re-write your code as per latest version compatibility.
As for example: You are using AngularJS 1.x.x and thinking to upgrade to AngularJS 5. Which means you have to re-write your code to meet latest version requirements.