Tests rely on live data from the cdnjs catalog, so they were outdated and expecting old versions. I didn't rectify this, merely updated them to pass again. There was a lot of refactoring effort put in after this branch snapped to address this, but it's not worth the effort or risk to backport for servicing this release.
Cdnjs version sort order changed. This was originally addressed in #606 in trunk. I also incorporated the change in #429 to simply use the specified current version for non-prereleases. This affected how we calculate the "latest" version for new library defaults or for updates.
There are two main parts to this change: