Upgrading ES6 babylon dependencies

Hi All, according to git the latest version of babylon is 5.0.0 (as of this message).
I want to upgrade my babylon dependencies . I am currently at:
“dependencies”: {
@babylonjs/core”: “^4.2.0”,
@babylonjs/inspector”: “^4.2.0”,
@babylonjs/loaders”: “^4.2.0”,
@babylonjs/materials”: “^4.2.0”,
@babylonjs/serializers”: “^4.2.0”,

I tried npm update @babylonjs/core … etc but it goes only to 4.2.0.
I tried npm uninstalling all babylon packages then doing a fresh npm install of the babylon ES6 packages.
Still not doing the upgrade.

(see Babylon.js ES6 support with Tree Shaking | Babylon.js Documentation)

Is 4.2.0 the latest ES6 version available?

4.2.0 is the latest release, if you want to use our preview (it is as stable but have some in dev feature like ACE or Gui Editor, basically it should not break but only add more + ton of fixes and improvments) you can use our preview tag on npm.

npm install @babylonjs/core@preview and similar

3 Likes

“Should not” break being the operative term here :laughing::grin::sunglasses: :+1:

Kidding aside, if you’re up for surfing the bleeding edge then you can set your package versions for the BJS components to something like ^5.0.0-alpha.9 <= 5.0.0

Then npm outdated will always ask for the latest 5.0 preview, or 5.0 itself once it’s released

2 Likes

thank you all. Just wanted to quick upgrade to latest alpha to see if that might have fixed something im dealing with. Alas, no dice.