CDN specific versions of babylonjs library

Hi there,

I was hoping to load a specific version of the babylonjs library for my projects. This way when I come back to old projects they’re more likely to still be in the shape that I left them, and I can manually choose to update the version.

Is there any sort of cdn list of versions?

No, I think there’s only the stable CDN which serves the latest stable version of the library (currently 4.2) and the preview CDN which serves the version currently in development (currently 5.0).

You will need to host the versions you need on your side or maybe point to Babylon.js/dist/previous releases at master · BabylonJS/Babylon.js · GitHub.

cdnjs has our main library in all of its versions:

babylonjs - Libraries - cdnjs - The #1 free and open source CDN built to make life easier for developers

Otherwise you can use github tags to get the version you want and serve it together with your solution. as @Evgeni_Popov said, the only versions we offer ourselves are latest stable and latest preview.

3 Likes

Is the https://cdn.babylonjs.com/babylon.js just pointing to https://cdnjs.cloudflare.com/ajax/libs/babylonjs/4.2.0/babylon.js, or are they separate files?

Ignore, stated about cdn & preview are BJS’s. cdnjs is separate.