The Draco loader lib files were updated in r121, but there's no mention of it on the migration guide.
It was a breaking change for us, since using the old lib doesn't work with r121 DRACOLoader, and in our code the draco lib is fetched from our server, so we have to update it manually.
I had to guess what was happening from the error, and check with the last commit of the lib files to understand that the lib was updated.
I think maybe it should be mentioned in the migration guide ?
So you are referring on #20399, right?
Examples files like DRACOLoader and the respective libs always have to be from the same release. We've highlighted this multiple times in the past and it's also noted in the documentation. I don't think we need a separate note in the migration guide for this.
I think I agree with @SBRK on this — and sorry for the breakage! The WASM files have to be copied into a serving directory by the user, which is an extremely unusual method of dependency management in the JS world, as a user I would not intuitively know to do that every time I run npm update. A note in the migration guide seems like a good idea to me.
Okay, agreed 👍 .
So you are referring on #20399, right?
Examples files like
DracoLoaderand the respective libs always have to be from the same release. We've highlighted this multiple times in the past and it's also noted in the documentation. I don't think we need a separate note in the migration guide for this.
True, but the draco lib has to be manually copied like @donmccurdy mentioned and it very rarely changes (last update before that was in January 2019 iirc), so I don't think anyone bothers copying or just checking the files at every new threejs version.
Also, as far as I can tell, the new lib isn't backwards compatible with previous versions of threejs, which is something to consider when you have different environments that might not all be up to date but fetch the lib from the same location (which was our case until I realised the builds still using the old version of threejs were now broken)
Added a note in the migration guide: https://github.com/mrdoob/three.js/wiki/Migration-Guide#r120--r121
Most helpful comment
Added a note in the migration guide: https://github.com/mrdoob/three.js/wiki/Migration-Guide#r120--r121