I’m just checking if there is a recommended versioned CDN for production Babylon projects. What are people’s thoughts on cdnjs?
We do provide cdn version if you want to
But honestly preview version is always super stable and with the latest improvements
Is there any way to pin the version number on the cdn.babylonjs.com links? I think it would be good to specify versions (.eg 4.1.0, 4.2.0 etc) as even just moving my project from 4.1.0 to the 4.2.0 beta (to fix some alpha cutout behavior) required minor code changes. What would happen when Babylon 5.0 is developed? Would all the CDN links bump to version 5 automatically?
For production projects being able to pin versions is important I would say.
Our versioning system works a bit differently to the traditional ones (mainly due to our backwards compatibility promise), and yes - this link will always be the latest stable. If you want to use a specific version, you can always use cdnjs’s babylon support: