The sweet spot is the N-2 Rule.
Make it a policy that your critical libraries and frameworks are never more than two minor versions behind the current release. Ideally, you are on the current version (N) or the one immediately prior (N-1).
N (Current): You get maximum leverage, feature sets, and performance.
N-1 (Previous): You get stability with modern patterns.
N-2 (Limit): You are safe, but the clock is ticking.