Hacker News new | ask | show | jobs
by jsdalton 5044 days ago
What's the policy on previous versions of libraries?

I noticed, for example, that only the latest version (3.1) of the jQuery plugin Nivo Slider is available. The last versions (<= 3.0.1) are returning 404s.

Given that the previous version was released in May 2012 that's an insanely fast deprecation policy for a CDN.

I have to guess that either I've stumbled upon a bug or minor oversight in this case, because I can't see how removing old versions that quickly would be at all a workable solution for 99% of use cases...

1 comments

Maybe they'll only support version that were released from the date that library was added to the CDN. In other words, hopefully once a library+version are added to the CDN, it's supported for a long long time.
Yes, I think you are correct.

Digging deeper, I see that libraries are added via pull request and that the Nivo Slider library was added 11 days ago. Other libraries that have been there longer (such as jQuery) continue to have old versions.

We'll host any version of any library. It's just that no one typically adds versions of libraries older than we currently host.
Once a library is hosted it stays hosted forever.