igorw wrote:
I'm not very familiar with the API history of jQuery. But I believe there have been hardly any API breakages so far. Thus, I would suggest sticking with the latest 1.x. I'm not really a fan of having the version in the file name, because it means you have to change it in several places when a new version comes out.
We have to know which version to target, even if the file name is just "jquery.js". This information needs to go into somewhere where it can be found - coding guidelines perhaps? (Although I think coding guidelines now cover a lot more than just coding guidelines.)
Does jquery provide documentation for a particular version? That is, if 1.5 is currently the most recent release and 1.6 is released next month, two months from now can I browse the documentation of 1.5 (reasonably easily) to see what features I can or cannot use?
Perhaps someone can go to jquery support and inquire about backwards compatibility breaks in the 1.x line, as well as what their official policies are on this matter.